Page 1 of 1

Got stuck on nginx

Posted: Friday 02 September 2016 12:45
by Jan Jansen
Hi all,

Using the WIKI I tried to install NGINX. Everything went well until the line “sudo nano /etc/ssl/private/server.key”.
Fig. 1.PNG
Fig. 1.PNG (16.63 KiB) Viewed 441 times
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:
Fig.2.PNG
Fig.2.PNG (26.13 KiB) Viewed 441 times
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