http://prntscr.com/i3uskn

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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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...
Submit an Answer