I have my cert.pem
and cert.key
files in /etc/apache2/ssl
folders.
What would be the most secure permissions and ownership of:
-
/etc/apache2/ssl
directory -
/etc/apache2/ssl/cert.pem
file -
/etc/apache2/ssl/cert.key
file
(Ensuring https://
access works of course :).
Thanks,
JP
Best Answer
The directory permissions should be 700, the file permissions on all the files should be 600, and the directory and files should be owned by root.