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 Installation/Configuration Support » Caching of SSL Certificates

Post new topic  Reply to topic
 Caching of SSL Certificates « View previous topic :: View next topic » 
Author Message
gfrench
PostPosted: Thu Mar 13, 2008 6:03 am    Post subject: Caching of SSL Certificates Reply with quote

Acolyte

Joined: 10 Feb 2002
Posts: 71

I'm using MQ 6.0.0, XP, and SSL test certificates from verisign (rather than self signed). I've got SDR/RCVR channels working and all is fine.

When I remove a certificate from the key database, the channel continues to work.

When I refresh security type(ssl) the channel continues to work

When I restart the queue manager the channel continues to work!

When I reboot the machine the channel final fails and goes into retrying.

I add the certificate in and it starts working again.

Does this mean the SSL certificates are cached in the XP somewhere? Just seems a little strange that I have to go to such levels to break the channel after removing the certificate. Anyone any ideas?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bruce2359
PostPosted: Thu Mar 13, 2008 7:18 am    Post subject: Reply with quote

Poobah

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

SSL handshake occurs when the channels attach (start).
_________________
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
gfrench
PostPosted: Thu Mar 13, 2008 10:57 am    Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2002
Posts: 71

I know when the handshake takes place. I am interested in why it works when I've removed a certificate at one end!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bruce2359
PostPosted: Thu Mar 13, 2008 11:02 am    Post subject: Reply with quote

Poobah

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

Quote:
I am interested in why it works when I've removed a certificate at one end!


Because, for a running channel, the handshake has already taken place. Most/many channel attributes don't take effect until the channel is stopped and restarted.
_________________
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
gfrench
PostPosted: Fri Mar 14, 2008 1:32 am    Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2002
Posts: 71

The disconnect interval is set to 10 seconds so when I say the channel continues to work, I meant, the channel triggers, initialiases and starts sending messages.

I've got SSLCAUTH=Required on receiver of sdr/rcvr pair

I delete either the receiver or senders personal certificate and the channel still starts up and sends messages. I refresh security and channels still starts and send msgs. I restart queue manager and it still continues to start and send msgs. The only way I can get an error is when I reboot the windows environment and then the channel goes into retrying and fails with an SSL error.

Is windows caching the certificates? I can't think of any other logical explanation.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bruce2359
PostPosted: Fri Mar 14, 2008 6:39 am    Post subject: Reply with quote

Poobah

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

Most/many channel attributes don't take effect until the channel is stopped and restarted.

Stopped means the channel goes into STOPPED state. Disconnect interval causes the channel to go into INACTIVE state, which is not stopped.
_________________
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
PeterPotkay
PostPosted: Fri Mar 14, 2008 9:21 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I don't know about that Bruce. Every channel def I ever changed got picked up when the channel restarted, even out of just Inactive. Certainly a QM restarting would be enough to pick up any changes but gfrench seems to have a situation where this is not the case. I don't know if this is by design or a bug. Seems like a bug to me.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Mar 14, 2008 11:57 am    Post subject: Reply with quote

Poobah

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

I stand corrected.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Caching of SSL Certificates
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.