I have followed these two sites for SSL setup on my glassfish server. https://javadude.wordpress.com/2010/04/06/getting-started-with-glassfish-v3-and-ssl/ and https://docs.oracle.com/cd/E19776-01/820-4495/ghlgv/index.html
Https with default s1as was working fine. Then I followed these steps
- Deleted existing s1as from keystore.jks and cacerts.jks.
- Generated alias (tried SOME_OTHER_ALIAS or, s1as)
- Exported it
- Imported it to truststore cacerts.jks
- Restarted the server.
- Then typed the URL in browser. https://localhost:8181/HelloWorld
- I got a blank page saying "This webpage is not available", "ERR_CONNECTION_CLOSED".
- Checked server.log file inside C:\Program Files\glassfish3\glassfish\domains\domain1\logs. But, no error was there.
System details are as follows,
- Glassfish Version: Glassfish3.1.2-Windows
- Master Password of Glassfish: changeit
- Keypass: changeit
- Storepass: changeit
Please help me out. Thanks in advance.