where is my ssl certificate home directory??

January 22, 2018 2.7k views
Ubuntu Nginx Apache


here i can see a file directory ,but, confused about this directory. from where i get my certificate directory??

1 Answer

As noted in the tutorial, you must replace the highlighted part with the actual path of your files.

    server_name example.com;
    ssl_certificate /home/sammy/example.com.chained.crt;
    ssl_certificate_key /home/sammy/example.com.key;

This snippet assumes you’ve uploaded the certificate into the home directory of a user named sammy Though the location is arbitrary. You can put them in any directory you choose.

by Mitchell Anicas
This tutorial will show you how to acquire and install an SSL certificate from a trusted, commercial Certificate Authority (CA). SSL certificates allow web servers to encrypt their traffic, and also offer a mechanism to validate server identities to their visitors. The...
Have another answer? Share your knowledge.