Localhost SSL creation

Go to command prompt
$Tomcat\bin>keytool -genkey -alias gajendra -keyalg RSA -keystore d:\tomcat
Few Question will display answer to that
Add below line in File : $Tomcat\conf\server.xml <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="d:\tomcat" keystorePass="password" />
check in browser
https://localhost:8443/

1 comment: