... because from time to time I'm a web developer, too
About me
Projects
Contact
Links

“Starting nginx: Enter PEM pass phrase:” – not any more

December 18, 2009 | linux, tools
author: Karol Zielinski | comments: 1 | views: 1628
Tags: , ,

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:

  • copy server.key to /etc/ssl/gigaone/my_site.key on server
  • copy the certificate and paste it to /etc/ssl/gigaone/my_site.csr
  • add paths to my_site.key and my_site.csr to /etc/nginx/sites-available/my_site

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.

Bookmark and Share
Post “Starting nginx: Enter PEM pass phrase:” – not any more to develway Post “Starting nginx: Enter PEM pass phrase:” – not any more to Delicious Post “Starting nginx: Enter PEM pass phrase:” – not any more to Digg Post “Starting nginx: Enter PEM pass phrase:” – not any more to Facebook Post “Starting nginx: Enter PEM pass phrase:” – not any more to Reddit Post “Starting nginx: Enter PEM pass phrase:” – not any more to StumbleUpon

Related news and resources

Comments (1)

4Avatars v0.3.1 v0.3.1
"Starting nginx: Enter PEM pass phrase:" - develway.pl - wiadomości dla programistów, wiadomości IT, świeże linki ze świata IT
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, [...]

Write a comment

Karol Zielinski :: Just a tech stuff 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.

Most popular posts

Much more links

Karol Zielinski    |   contact me
Gdynia, Poland
RSS - Just a tech stuff - python, java blog - web development blog Karol Zielinski on twitter Karol Zielinski on LinkedIn Karol Zielinski on facebook Karol Zielinski on delicious Karol Zielinski on digg Karol Zielinski on flickr Karol Zielinski on stumbleupon Karol Zielinski on technorati