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 » General IBM MQ Support » SSL cert

Post new topic  Reply to topic Goto page 1, 2  Next
 SSL cert « View previous topic :: View next topic » 
Author Message
angka
PostPosted: Wed May 16, 2007 7:18 am    Post subject: SSL cert Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi all,

Does anyone know the longest number of days tt can be set for the expiry for the self signed cert for MQ SSL?

My MQ server is connected to many external systems using ssl and so is there a way to change the expiring cert without down time? Else I will need to activate all the external system administrator to change to my new cert together.

Thanks
Back to top
View user's profile Send private message
angka
PostPosted: Thu May 17, 2007 12:21 am    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

Anyone can help?
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu May 17, 2007 12:28 am    Post subject: Re: SSL cert Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

angka wrote:


Does anyone know the longest number of days tt can be set for the expiry for the self signed cert for MQ SSL?



Have you testes it ?
I could set it to 10 years.

angka wrote:

My MQ server is connected to many external systems using ssl and so is there a way to change the expiring cert without down time?


You can try :

Code:
REFRESH SECURITY TYPE(SSL)


http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqsav.doc/csqsav04114.htm
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
angka
PostPosted: Thu May 17, 2007 12:41 am    Post subject: Re: SSL cert Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

[quote="marcin.kasinski"]
angka wrote:

You can try :

Code:
REFRESH SECURITY TYPE(SSL)


http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqsav.doc/csqsav04114.htm


oh ok. but 10 year very long time. can it be infinity? btw refresh security type(ssl) is to refresh the ssl when there is a change. but wat i need to do now is to add a new self sign cert to my Personal certificates with the same label name which MQ will not allow. if there is no way out, i ll need to remove my current cert and den replace my new cert which will cos downtime.. and besides, all the external system administrator will need to change to my new self signed cert at the same time.

Thanks
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu May 17, 2007 12:58 am    Post subject: Re: SSL cert Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

angka wrote:

oh ok. but 10 year very long time. can it be infinity?



You asked about max.

Setting expiry to 10 years is not reccomended in PRD environment.
It think 1 year is ok for this value.


angka wrote:

btw refresh security type(ssl) is to refresh the ssl when there is a change. but wat i need to do now is to add a new self sign cert to my Personal certificates with the same label name which MQ will not allow. if there is no way out, i ll need to remove my current cert and den replace my new cert which will cos downtime.. and besides, all the external system administrator will need to change to my new self signed cert at the same time.

Thanks



If I'm wrong somebody will correct me but....

QMGR caches certs from keystore.
When QMGR i srunning you can do everything with this keystore , add, remove ,...

Then you can ask QMGR to refresh cert cache from keystore you modified by command above (without downtime).

I hope this is answer for your question.
_________________
Marcin


Last edited by marcin.kasinski on Thu May 17, 2007 1:22 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
angka
PostPosted: Thu May 17, 2007 1:18 am    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

Ya this can work. But the biggest problem is to activate all the external system administrator to do this together. else by changing my personal cert on my side only all the channel will be down.

Thanks..
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu May 17, 2007 1:40 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

angka wrote:
Hi,

Ya this can work. But the biggest problem is to activate all the external system administrator to do this together.


Do you have test environment ?

Please test this scenario ?

When you have cert pair and you would like to change expiry after changing expiry it will be the same cert.

External admins don't have to do it at the same time.

I mean :

1 before epiry of cert regenerate your cert pair and set new expiry.
2. after refresh security communication will work because there was no change inside your cert.
3. Here you can send public key to other side admins.
4. They update keystore invoke refresh security

5. Everybody is happy.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
bbburson
PostPosted: Thu May 17, 2007 5:33 am    Post subject: Re: SSL cert Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

marcin.kasinski wrote:
QMGR caches certs from keystore.
When QMGR i srunning you can do everything with this keystore , add, remove ,...

Then you can ask QMGR to refresh cert cache from keystore you modified by command above (without downtime).


REFRESH SECURITY TYPE(SSL) does cause all your currently-connected SSL channels to go down and then the clients will have to re-establish connections. This may be considered downtime in some environments, so be very careful when and how often you issue the command.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu May 17, 2007 6:11 am    Post subject: Re: SSL cert Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

bbburson wrote:

REFRESH SECURITY TYPE(SSL) does cause all your currently-connected SSL channels to go down and then the clients will have to re-establish connections. This may be considered downtime in some environments, so be very careful when and how often you issue the command.


Of course.
You have to be careful.

That's why everything should be tested before deploying on production.

But it is better to have downtime in specific situation rather than downtime server always after updating keystore.

I like this funcionality in MQ.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
angka
PostPosted: Thu May 17, 2007 7:03 pm    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

marcin.kasinski wrote:

When you have cert pair and you would like to change expiry after changing expiry it will be the same cert.



Hi,

I tested out the new cert is different..

If I get you correctly, You mean to remove my personal cert and add a new cert with new expiry? Den add it to the .kdb without the external system doing anything?

I did that and i did a "Refresh Security type(ssl)" it not working. The channel cannot be connected so I assume the cert is different.

BTW does MQ client support 2 way SSL authentication? Thanks.
Back to top
View user's profile Send private message
angka
PostPosted: Thu May 17, 2007 7:17 pm    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

I checked out the Public key and realise it is different. Btw my ssl is 2 way authentication.
Back to top
View user's profile Send private message
angka
PostPosted: Thu May 17, 2007 7:23 pm    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

I tested out both side change the Key without issueing "refresh security type(ssl)" command, the channel is still running but if i issue it on my end all the channel went down. All the external system need to refresh on their end too.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Fri May 18, 2007 12:56 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

angka wrote:

If I get you correctly, You mean to remove my personal cert and add a new cert with new expiry? Den add it to the .kdb without the external system doing anything?



No ,

You can not just delete cert and create new one.

It will be different cert.

You have to ash your CA to renewal your cert.

Please read this:

http://www.digicert.com/ssl-certificate-renewal.htm
http://www.verisign.com/ssl/ssl-information-center/faq/ssl-renewal.html
_________________
Marcin


Last edited by marcin.kasinski on Fri May 18, 2007 1:12 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
marcin.kasinski
PostPosted: Fri May 18, 2007 1:02 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

angka wrote:

BTW does MQ client support 2 way SSL authentication? Thanks.



You can set it by SSLCAUTH attribute of chanel.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
angka
PostPosted: Fri May 18, 2007 5:48 am    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

marcin.kasinski wrote:

No ,

You can not just delete cert and create new one.

It will be different cert.

You have to ash your CA to renewal your cert.

Please read this:

http://www.digicert.com/ssl-certificate-renewal.htm
http://www.verisign.com/ssl/ssl-information-center/faq/ssl-renewal.html



Hi,

Btw I am using self signed Cert. The Private and Public key is different from the previous one.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » SSL cert
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.