This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Hi everybody, I have been trying to implement SSL in Tomcat in port 8443 but when i remove the comment from the portion in server.xml <!-- <Connector className="org.apache.catalina.connector.http.HttpConnector" port="8443" minProcessors="5" maxProcessors="75" enableLookups="true" acceptCount="10" debug="0" scheme="https" secure="true"> <Factory className="org.apache.catalina.net.SSLServerSocketFactory" clientAuth="false" protocol="TLS"/> </Connector> --> and try to start tomcat it isn't getting started, works fine if i replace the comment back. Can anyone help me out on this advance thanks Anil
Did you create you server certificate yet? Depending on which directory you store it in you have to tell tomcat where it can find it. The jdk has a keytool that you can use to create the certificate I hope that helps.
If you've already got an answer to your question, then ignore this.
Tomcat does support SSL. However, there are several steps involved in getting the SSL to work. Rough Steps: - create your keys using the keytool.exe utility from sun (I believe it comes with jdk) - create a Certificate Signature Request (a csr) using the key you created - either commercial-sign or self-sign the certificate (you can use self-signed certficate for testing purposes) - import the certificate into a keystore (using the keytool.exe utility) - update server.xml Have you successfully performed all these steps? Also check the log files to see what you are getting. Sometimes tomcat fails to start if you have a wrong certificate or keystore. The log should tell you. You may also need to download jsse and place the jar files in appropriate places. good luck.