FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-15-2008, 10:38 AM
"Cassius V. de Magalhaes"
 
Default Ubuntu Server 8.04 + Tomcat 5.5 + SSL is not working.

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.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-12-2008, 11:10 PM
"Cassius V. de Magalhaes"
 
Default 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@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 09:23 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org