Here we mean the actual paths to the files. Don't forget to click "Save changes" and enable computer reboot.
nginx
Here everything is a little different. The first step is to combine the root, intermediate and SSL certificates. Form the file vashsite.crt and in a certain order (SSL, intermediate, root) copy all three of the named certificates into it, leaving no spaces between the lines.
You do the same with the private key, namely: download it from the seller's website, then create the file vashsite.key and copy everything from the key into it.
Now drag these newly poland email list generated files, i.e. vashsite.crt and vashsite.key, into the /etc/ssl/ directory. Again, this is the default option, and in your case it may be different.
All that remains is to edit VirtualHost in the file where the configurations are collected. Add the following lines there:
server{
listen 443;
ssl on;
The default directory should be changed if it is not the same as the directory with the certificate and private key.
5. How to create a secure working connection via HTTPS website protocol?
After you receive and install the certificates, you can access the site through two addresses, namely
Don't forget to provide search engines with updated information. In Yandex, open Webmaster, enter a page with the HTTPS site protocol and designate it as the main mirror for the old site.
Now you have an idea of what the HTTPS website protocol is, how to correctly perform its installation and configuration procedures. Practice shows that, most likely, all active websites will soon start using it. Search engines also take this into account when ranking. Websites with HTTPS protocols automatically move to the top lines of search results. Make sure that your resource is among the leaders, and install the HTTPS protocol on it.
All that remains is to click “Save” and restart the system
-
- Posts: 154
- Joined: Tue Dec 24, 2024 2:58 am