Welcome! Log In Create A New Profile

Advanced

SSL key permissions - why does root work?

December 05, 2012 12:05PM
Hi all--

This might be a silly question, so I apologize, but I would like to know the answer. When configuring Nginx to work with SSL/TLS, best practice appears to be to secure your site's private key by ensuring it's owned by root:root and that its permissions are set to 400. My question, though, is why does this work? The Nginx worker processes, running under their own context, can't access the file that way. Do they rely on the master process (running as root) to read the key for them?

Thanks!
Subject Author Posted

SSL key permissions - why does root work?

pokrface December 05, 2012 12:05PM

Re: SSL key permissions - why does root work?

Maxim Dounin December 06, 2012 05:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready