PDA

View Full Version : problem with Thawte certificate



rvandam
08-28-2009, 02:45 AM
I have a reseller with one domain and one ip-address. I have ordered a Thawte ssl certificate for this domain. I have created a .csr and a .key file manually, and used these for ordering the Thawte certificate. I now want to apply this certificate by the admin panel, but i cant get it working...

When I enter the generated key and the Thawte certificate I get an error "invalid key". When I enter the key in the CA root certificate field, this key is ignored and the shared ssl key is used.

How should I proceed?

rvandam
08-28-2009, 04:18 AM
I found the solution....

I protected the key with a passphrase. To generete a key without pass use this:

openssl rsa -in domain.key -out domain.pem

Now everything works :-)

nobaloney
08-29-2009, 12:02 PM
Are you using DirectAdmin? If so, why not just use the control panel to the create the key and the CSR? If you do, you don't have this problem.

Jeff

rvandam
08-29-2009, 01:07 PM
Thanks for the reply.

Yes, I found out about this option after I send in the CSR to Thawte. So I had to figure this out.

When I generate a key without passphrase everything works as a charm. Perhaps an error "invalid key, or key password protected" would have been more helpful perhaps. But i don't think lots of people will run into this problem.