Got stuck on nginx
Posted: Friday 02 September 2016 12:45
Hi all,
Using the WIKI I tried to install NGINX. Everything went well until the line “sudo nano /etc/ssl/private/server.key”.
Related to this line (sudo nano /etc/ssl/private/server.key) the WIKI says “Next your key, export it and choose export the private key unencrypted”. Perhaps I made a mistake at that point. I did not use the clipboard but:
Then I copied the key in the nano screen and saved it. I hope I copied the key in the correct format {PEM private (*.pem), but I’am not sure.
After “sudo openssl rsa -in /etc/ssl/private/server.key -out /etc/ssl/private/server.key”, I only got “writing RSA key (missing the line “Enter pass phrase for server.key:”).
I finaly got stuck on “sudo chmod 440 /etc/ssl/private/*.key”.
I hope someone can help.
Thanks in advance
Using the WIKI I tried to install NGINX. Everything went well until the line “sudo nano /etc/ssl/private/server.key”.
Related to this line (sudo nano /etc/ssl/private/server.key) the WIKI says “Next your key, export it and choose export the private key unencrypted”. Perhaps I made a mistake at that point. I did not use the clipboard but:
Then I copied the key in the nano screen and saved it. I hope I copied the key in the correct format {PEM private (*.pem), but I’am not sure.
After “sudo openssl rsa -in /etc/ssl/private/server.key -out /etc/ssl/private/server.key”, I only got “writing RSA key (missing the line “Enter pass phrase for server.key:”).
I finaly got stuck on “sudo chmod 440 /etc/ssl/private/*.key”.
I hope someone can help.
Thanks in advance