This question already has an answer here:
Hi I setup an ssl certificate using godaddy and read the following article: Best location for SSL certificate and private keys on Ubuntu. I am trying to protect an aws ubuntu gitlab instance that uses nginx as a server.
My /etc/ssl/private/ has the following files:
.csr generated on server .key generated on server .crt generated by godaddy .crt BUNDLE generated by godaddy
I have given them the following permissions respectively:
root:root 644 root:ssl-cert 640 root:root 644 root:root 644
Is this correct?
It has been mentioned that this question is the same as What Should be the Permissions of Apache SSL Directory, Certificate, and Key? and my only reason that it is distinct is because it is for nginx NOT apache.