ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Security » GCM Cipher Data limit - AMQ9288E

Post new topic  Reply to topic
 GCM Cipher Data limit - AMQ9288E « View previous topic :: View next topic » 
Author Message
tkaravind
PostPosted: Fri May 02, 2025 1:37 pm    Post subject: GCM Cipher Data limit - AMQ9288E Reply with quote

Acolyte

Joined: 24 Jul 2001
Posts: 64

Hi,

I have recently had errors on the MQ logs for the channels using GCM ciphers.
This is the AMQ9288E.

Upon reading further I see

The channel is reset after 23726566 are sent in the sender channel .it uses TLS_RSA_WITH_AES_256_GCM_SHA384 .This is due to the the Limit on the cipher as per the GSK tool kit provider used in MQ .

Once the limit is reached the channel will abort and then new session key is generated by re-negotiation . During this time SSL handshake will happen

Questions:
How does one translate 23726566 into bytes? I see this is the no. of TLS records?

Will this reset temporarily block the affected channel for sometime until it completes along with the SSL handshake?

Thanks
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri May 02, 2025 2:14 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

Searched google for 23726566
Found this
https://community.ibm.com/community/user/blogs/mick-gray1/2019/10/25/tls-13-support-and-ibm-security-access-manager
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
tkaravind
PostPosted: Sat May 03, 2025 1:14 am    Post subject: Reply with quote

Acolyte

Joined: 24 Jul 2001
Posts: 64

Thanks. There is this one line here -
-------
Automatic Key Updates

When using AES GCM in TLS 1.3, Keys will be updated transparently every 2^24.5 (23,726,566) records.
--------
I take that to be with an auto channel terminate/restart
But I still can't find how to translate these TLS records to bytes.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat May 03, 2025 8:06 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

For curiosity? Or for what purpose?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
tkaravind
PostPosted: Sat May 03, 2025 12:24 pm    Post subject: Reply with quote

Acolyte

Joined: 24 Jul 2001
Posts: 64

Even to know if one needs to plan around this if too bad.
There are low volume channels that we wont bother touching if the byte value turns out to be too high and so wont block these channels frequently
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat May 03, 2025 1:12 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

Handshake should be subsecond. Other than the AMQ9288E, what problem are you seeing? Missing SLA?s, for example?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.


Last edited by bruce2359 on Sat May 03, 2025 6:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat May 03, 2025 1:33 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

From https://www.ibm.com/docs/en/ibm-mq/9.4.x?topic=multiplatforms-amq9xxx-remote
Response
This error can be avoided in one of the following ways:
(a) Use secret key reset to ensure that the session key is reset before the data transfer limit is exceeded.
(b) Use a stronger CipherSpec which is not subject to a data transfer limit.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
tkaravind
PostPosted: Sun May 04, 2025 3:46 am    Post subject: Reply with quote

Acolyte

Joined: 24 Jul 2001
Posts: 64

Its not a real issue yet. Just something new we observed on the logs, The channels took 10-15 secs to resume from the time the errors were reported. Depending on how the apps are setup this could cause timeouts in a request-reply scenario. If it comes to that , yes we will remediate with one of these steps mentioned.
Back to top
View user's profile Send private message
hughson
PostPosted: Tue May 06, 2025 12:20 am    Post subject: Re: GCM Cipher Data limit - AMQ9288E Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1961
Location: Bay of Plenty, New Zealand

tkaravind wrote:
How does one translate 23726566 into bytes? I see this is the no. of TLS records?

According to the message explanation:-
IBM mqrc tool wrote:
EXPLANATION:
CipherSpec '<insert two>' has reached a data transfer limit of 2222 (the
transfer limit is expressed in terms of TLS records for GCM ciphers, or MB for
all other ciphers).

If you have a GCM cipher, then you multiple the size of a TLS record (16KB) with the number shown.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Security » GCM Cipher Data limit - AMQ9288E
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.