Ubuntu Server 8.04 + Tomcat 5.5 + SSL is not working.
Cassius V. de Magalhaes
cviniciusm at uol.com.br
Thu Jun 12 23:10:30 UTC 2008
Cassius V. de Magalhaes escreveu:
> Hello,
>
> I'm trying to use Tomcat 5.5 with SSL on Ubuntu Server 8.04 but it's not
> working.
>
> I installed it normally with aptitude.
>
> I followed the steps below:
> 1) uncommented the line below on /etc/tomcat5.5/server.xml :
> <!--
> <Connector port="8443" maxHttpHeaderSize="8192"
> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
> enableLookups="false" disableUploadTimeout="true"
> acceptCount="100" scheme="https" secure="true"
> clientAuth="false" sslProtocol="TLS" />
> -->
> 2) $ keytool -genkey -alias tomcat -keyalg RSA
> 3) $ keytool -export -keystore .keystore -alias tomcat -file
> export-tomcat.cer
> 4) $ sudo keytool -import -alias tomcat -file export-tomcat.cer
> -keystore /usr/share/tomcat5.5/.keystore
> 5) $ sudo /etc/init.d/tomcat5.5 restart
>
> Always using the password "changeit".
>
> Any ideas, please?
>
>
> TIA,
> Cassius.
>
Hello,
Finally, I was able to use Tomcat 5.5 with SSL on Ubuntu 8.04 LTS.
1) I just installed Sun JDK 6;
2) using alternatives, turn it on the default java;
3) I did remove the old keystore;
4) I created a new certificate and new keystore, using keytool;
5) then restarted the Tomcat 5.5.
Best Regards,
cviniciusm.
More information about the ubuntu-users
mailing list