As a developer, I will be running and testing the web apps that I am developing locally. But Chrome and Safari are not allowing me to hit my local server with SSL enabled.
https://localhost:8443/ is not working saying SSL error with the following error message. I think, it is something to do with adding my certificate to OS X Keychain Access, but I couldn't figure what actually needs to be done!
Could some one please help me out!
SSL connection error Hide details Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error code: ERR_SSL_PROTOCOL_ERROR
I was generating the self signed SSL keystore and certificate using the below command
keytool -genkey -alias tomcat -keyalg RSA -sigalg SHA256withRSA -keystore /path/to/keystore -keysize 2048 -validity 365
My problem got resolved, when I generated my self signed certificate with below simple command.
keytool -genkey -alias tomcat -keyalg RSA -keystore /path/to/keystore
I am not sure why!?