jeudi 22 janvier 2015

https ( ssl secured ) local websites are not working in Safari and chrome in Mac Yosemeti. How can I fix this?


As a developer, I will be running and testing the webapps that I am developing in my local. 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 mac key chain 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 "


******* UPDATE ******* 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 !?





Aucun commentaire:

Enregistrer un commentaire