Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I generated a self-signed SSL cert on Debian with openssl, and installed the certificate in Windows, so it loads in Chrome okay.

However, I have no .key file in /etc/ssl/certs/

I only have a .pem file (which is used in lighttpd.conf)

Is there anything wrong with this? What does the .key file do, and should I go through openssl again to make a .key file?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

If your .pem file has lines that say -----BEGIN RSA PRIVATE KEY----- and -----END RSA PRIVATE KEY----- then your key is in that combined .pem file and that is just fine.

share|improve this answer
    
you're right. I used a different website to get the command the second time, so it must have had an option/switch omitted. thanks –  cantsay Aug 19 '13 at 16:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.