tomcat6 and https

2010-02-09 Thread Fabien COMBERNOUS
Hi there, I'm trying to use tomcat with URL https. My application is running well and i can use it via http. Now i trying to configure tomcat to use https. I'm running 6.0.20 (debian package revision -dfsg1-1). Il the server.xml i have the following connectors. My first connector (http) :

Re: tomcat6 and https

2010-02-09 Thread Konstantin Kolinko
2010/2/9 Fabien COMBERNOUS fcombern...@kezia.com: My second connector (https) : Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true              maxThreads=150 scheme=https secure=true               keystoreFile=conf/keystore keystorePass=changeit clientAuth=false              

Re: tomcat6 and https

2010-02-09 Thread Fabien COMBERNOUS
Konstantin Kolinko wrote: 2010/2/9 Fabien COMBERNOUS fcombern...@kezia.com: My second connector (https) : Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=true keystoreFile=conf/keystore keystorePass=changeit clientAuth=false

Re: tomcat6 and https

2010-02-09 Thread Mark Thomas
On 09/02/2010 14:06, Fabien COMBERNOUS wrote: keytool -list -keystore /etc/tomcat6/keystore Enter keystore password: Keystore type: JKS Keystore provider: SUN Your keystore contains 1 entry tomcat, 09-Feb-2010, trustedCertEntry, Certificate fingerprint (MD5):

Re: tomcat6 and https

2010-02-09 Thread Fabien COMBERNOUS
Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this: http://www.agentbob.info/agentbob/79-AB.html?branch=1language=1 Hum ... i can export my cert and key to pkcs12. tomcat documents says it is

Re: tomcat6 and https

2010-02-09 Thread Mark Thomas
On 09/02/2010 15:31, Fabien COMBERNOUS wrote: Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this: http://www.agentbob.info/agentbob/79-AB.html?branch=1language=1 Hum ... i can export my

Re: tomcat6 and https [solved]

2010-02-09 Thread Fabien COMBERNOUS
Fabien COMBERNOUS wrote: Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this: http://www.agentbob.info/agentbob/79-AB.html?branch=1language=1 Hum ... i can export my cert and key to pkcs12.

Re: tomcat6 and https [solved]

2010-02-09 Thread Mark Thomas
On 09/02/2010 16:01, Fabien COMBERNOUS wrote: Fabien COMBERNOUS wrote: Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this: http://www.agentbob.info/agentbob/79-AB.html?branch=1language=1

Re: tomcat6 and https [solved]

2010-02-09 Thread Fabien COMBERNOUS
Mark Thomas wrote: On 09/02/2010 16:01, Fabien COMBERNOUS wrote: Fabien COMBERNOUS wrote: Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this: