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 new key using this, (I wanted start nginx without passphrase)

openssl rsa -in server.key.org -out server.key

and everything looks fine, but when I try restart nginx it still ask for a pem passphrase(and even I typed the key it still ask for the passphrase...), default config in sites-available is fine.

why pem is needed then?

greetings

share|improve this question

1 Answer 1

up vote 0 down vote accepted

A PEM is a file that contains both the key and certificate data. The order is important, KEY first, CERT Second.

It's possible that you did not update the PEM file accordingly.

share|improve this answer

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.