Skip to main content

Updating expired SSL certificate on Glassfish.

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
bhatt.krunal
Offline
Joined: 2014-04-21

Hi,

We were trying to "Update" expired SSL certificate on glassfish server to enable new certificate.

We have followed the steps given in following link.

http://www.luv2code.com/2012/05/09/configure-ssl-on-glassfish-with-godad...

But still whenever we try to open the link using HTTPS we are getting error of expired certificate. Can anyone guide us where we are going wrong.? or what else needs to be done apart from the steps given in the link.

Thanks,

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
petenelson
Offline
Joined: 2006-08-24

Those steps given on that page typically work. If I were in your shoes, my next step would be to verify that the cert and CA are in the keystore as you'd expect, and that you're using the new alias name.

I found this page useful when it comes to verifying with keytool - http://www.sslshopper.com/article-most-common-java-keytool-keystore-comm...

bhatt.krunal
Offline
Joined: 2014-04-21

Thanks for your reply petenelson, we will look at the link you provided. Hopefully, we will be able to make some progress.

We have followed the steps in this link (http://www.luv2code.com/2012/05/09/configure-ssl-on-glassfish-with-godad...). At present, we have imported the certificates correctly into keystore.jks but when we try to update domain.xml to read the newly imported certificate, the glassfish server becomes inaccessible and all applications deployed on it stops working.
We have to revert to the original domain.xml to make the applications accessible.
Anybody has faced such problem before? Any help will be greatly appreciated.