“Starting nginx: Enter PEM pass phrase:” – not any more
December 18, 2009 | linux, toolsauthor: Karol Zielinski | comments: 1 | views: 545
Tags: nginx, pem pass phrase, ssl
We generated new ssl key. This time it’s from Gigaone. I added it to site’s config file and after restart of nginx I have a message: “Starting nginx: Enter PEM pass phrase:”. Everything is fine, however I don’t want to fill my password after each restart of nginx. Time to do something with it.
What I did is:
and after restart of nginx I have above message.
So, to change it I have to do:
cd /etc/ssl/gigaone cp my_site.key pass_my_site.key openssl rsa -in pass_my_site.key -out pass_my_site.key
Now change my_site.key to pass_my_site.key in /etc/nginx/sites-available/my_site and restart nginx. Everything should be fine.
Hello, I'm Karol Zielinski, internet evangelist, an entrepreneur, project manager and a web developer from Gdynia, Poland. I like creative design, good advertisement, social media and all kind of stuff around the web.
December 18, 2009, 6:38 am
[...] tech.karolzielinski.com Follow us on Twitter 1,516 śledzących RSS Feed 167 czytelników "Starting nginx: Enter PEM pass phrase:" 1 głosuj! Po wygenerowaniu nowego certyfikatu i podłączeniu go do konfiguracji serwisu, [...]