Re: Ubuntu Server 8.04 + Tomcat 5.5 + SSL is not working.



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.

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Tomcat & SSL & a certificate generated by Verisign
    ... Attempting to SSL enable tomcat 4.04. ... works fine when I create a keystore with a self generated certificate. ... We now want to cutover using a production certificate. ...
    (comp.lang.java.programmer)
  • Ubuntu causing a "CPU Fan Failed" problem on restart
    ... Re: No GCJ, only Sun Java5: how?? ... Ubuntu causing a "CPU Fan Failed" problem on restart ... If I install gcj together with Tomcat, when I remove gcj afterwards, ...
    (Ubuntu)
  • [Full-disclosure] [USN-788-1] Tomcat vulnerabilities
    ... A security issue affects the following Ubuntu releases: ... Iida Minehiko discovered that Tomcat did not properly normalise paths. ... remote attacker could exploit this in order to enumerate valid usernames. ... Architecture independent packages: ...
    (Full-Disclosure)
  • [USN-788-1] Tomcat vulnerabilities
    ... A security issue affects the following Ubuntu releases: ... Iida Minehiko discovered that Tomcat did not properly normalise paths. ... remote attacker could exploit this in order to enumerate valid usernames. ... Architecture independent packages: ...
    (Bugtraq)
  • tomcat - postgresDatasource SSL
    ... Ich muss von einem Tomcat5 per SSL auf eine Postgres-Datenbank zugreifen. ... Tomcat scheint den keystore auch zu verwenden ...
    (de.comp.lang.java)