- Create the keyStore file to be used for ssl. Click here to create one using maven.
- In your tomcathomedir/conf/server.xml, add the following:
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"maxThreads="150" scheme="https" secure="true" keystoreFile="/tmp/example.keystore"
keystorePass="somePassword" clientAuth="false" sslProtocol="TLS" />
That's it.....
Now hit the url in your browser , https://localhost:8443 and it should ask your for security exception.
Now hit the url in your browser , https://localhost:8443 and it should ask your for security exception.
No comments:
Post a Comment