Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Christoph Lechner
Hi all, I've been trying hard to enable the SSL connector in TomCat for a few days now. As I don't have very much experience with SSL, it's quite hard for me to figure out what's going wrong. I read a lot of different setup guides, but I'm getting the same error messages all the time:

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Werner Schalk
keeps breaking/SSL keystore troubles Hi all, I've been trying hard to enable the SSL connector in TomCat for a few days now. As I don't have very much experience with SSL, it's quite hard for me to figure out what's going wrong. I read a lot of different setup guides, but I'm getting the same

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Filip Hanik - Dev Lists
my guess is that the keystore file doesn't contain your private key, Filip Christoph Lechner wrote: Hi all, I've been trying hard to enable the SSL connector in TomCat for a few days now. As I don't have very much experience with SSL, it's quite hard for me to figure out what's going wrong. I

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Christoph Lechner
Filip Hanik - Dev Lists wrote: my guess is that the keystore file doesn't contain your private key, Hi, that's right. Actually the file sent to the CA was created using OpenSSL (as far as I remember). So the keystore isn't the one used to create the CSR. Among the files I have at the moment,

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Morris Jones
Christoph, I hate these problems, they're always tough to work through, and keytool doesn't make it any easier. Did you use keytool to create your key and certificate request? If you created the key and request outside of keytool, then keytool won't have the private key and can't import the

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Christoph Lechner
Morris Jones wrote: Christoph, I hate these problems, they're always tough to work through, and keytool doesn't make it any easier. Did you use keytool to create your key and certificate request? If you created the key and request outside of keytool, then keytool won't have the private key

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Filip Hanik - Dev Lists
Christoph Lechner wrote: Filip Hanik - Dev Lists wrote: my guess is that the keystore file doesn't contain your private key, Hi, that's right. Actually the file sent to the CA was created using OpenSSL (as far as I remember). So the keystore isn't the one used to create the CSR. Among

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Werner Schalk
] To: users@tomcat.apache.org Sent: Thursday, August 30, 2007 7:27 PM Subject: Re: Tomcat keeps breaking/SSL keystore troubles Morris Jones wrote: Christoph, I hate these problems, they're always tough to work through, and keytool doesn't make it any easier. Did you use keytool to create your key

Re: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Christoph Lechner
Werner Schalk wrote: Great piece of code! Now everything is fine with me as well. Thanks to everyone who helped me on this one! I suppose it would be worth adding this piece of code or at least a link to the Tomcat site!!! Damn right. Maybe one should add the case where the CSR wasn't created

RE: Tomcat keeps breaking/SSL keystore troubles

2007-08-30 Thread Andrew Friebel
don't know if this is useful to you or not, but I hope it helps. Regards, Andrew -Original Message- From: Morris Jones [mailto:[EMAIL PROTECTED] Sent: Friday, 31 August 2007 2:24 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Tomcat keeps breaking/SSL keystore troubles Christoph, I