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 » WebSphere Message Broker (ACE) Support » SSL CERTIFICATE RENEWAL

Post new topic  Reply to topic
 SSL CERTIFICATE RENEWAL « View previous topic :: View next topic » 
Author Message
dextermbmq
PostPosted: Tue Jan 12, 2016 3:16 pm    Post subject: SSL CERTIFICATE RENEWAL Reply with quote

Voyager

Joined: 26 Jul 2014
Posts: 77

Hello All,

We are using a SSL self signed certificate in our Broker Keystore. It had expired 2 days ago so there was an urgent need to renew the certificate. We followed the following approach ::

1-)We created a new JKS repository :

Keytool -genkey -keyalg RSA -alias <ALIAS NAME> -keystore <LOCATION> -validity 3650 -keysize 2048

There after if prompted for CN,OU,O and CK details which I provided. As a result we got a new JKS repos. I replaced the pld JKS with this JKS file(both had same names)...Everything worked fine

Now I have a question :

Can we delete the alias pointing to the expired self signed certificate in the old/existing KEYSTORE and then import the new keystore into old keystore using command

keytool -importkeystore -srckeystore <NEW KEYSTORE> -destkeystore <OLD KEYSTORE> -srcalias <ALIAS NAME IN NEW JKS> -destalias <ALIAS NAME IN OLD JKS> -srcstorepass <> -deststorepass<>

============


NOTE : My concern here is that , IS PRIVATE KEY KEYSTORE SPECIFIC OR WE CAN HAVE MULTIPLE CERTIFICATE CHAINS EACH HAVING DIFFERENT PRIVATE KEY WITHIN A KEYSTORE?

When we create a new keystore , we will have a certificate chain(Certificate + public key) along with Private key identified by an ALIAS...Will it be a problem as the old keystore where we are importing the new certificate chain will already have a PRIVATE KEY and the new certificate chain will have a separate PRIVATE KEY....
Back to top
View user's profile Send private message
dextermbmq
PostPosted: Sun Jan 17, 2016 8:06 am    Post subject: Reply with quote

Voyager

Joined: 26 Jul 2014
Posts: 77

Hello Guys..

Any assistance is greatly appreciated
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jan 18, 2016 6:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So in the time between your first post and your most recent post (at least 5 days!), you did nothing to test this yourself?

Does that seem like a good way to spend your time trying to solve a problem?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
dextermbmq
PostPosted: Tue Jan 19, 2016 7:22 am    Post subject: you did nothing to test this yourself? Reply with quote

Voyager

Joined: 26 Jul 2014
Posts: 77

As I mentioned earlier the issue was resolved by creating a new keystore. Even with the second approach I specified, I can easily configure it but I am wondering how will I check the SSL configuration. I mean in run time I had applications by developers to test it I can't play around with the environment by disturbing the Keystore. So, thought of checking with experts
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 19, 2016 7:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you have a procedure to test a new keystore, should the procedure to test a changed keystore be different?
_________________
chmod -R ugo-wx /
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 » WebSphere Message Broker (ACE) Support » SSL CERTIFICATE RENEWAL
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.