How to install your network security certificate SSL from HTTP to HTTPS?

Time:2021-10-24

Today’s main topic is how to install the network security certificate SSL to convert HTTP in the URL into HTTPS, so as to obtain better web page ranking results optimized by Google SEO.
Originally published in:https://www.jackgoogleseo.com/how-to-install-ssl/

In all the previous articles, we taught students how to dress up their website like a little girl to attract customers. Today, let’s do the last action and teach a set of sister’s body protection boxing to resist the invasion of outlaws

In the previous article, I mentioned that both SiteGround and BlueHost can provide SSL for free

If you are Jianzhan Xiaobai, you can directly contact the customer service personnel of the host service provider. They will install the SSL security certificate for you free, and your website domain name prefix will change from HTTP to HTTPS

Of course, you can also choose a paid security certificate provider for network security configuration. Today, you can use the domestic SSL service provider pianyissl to explain the actual operation. The official website address is pianyissl.com and the interface is as follows

How to install your network security certificate SSL from HTTP to HTTPS?

For novices, we can choose the first experience version of single domain name SSL to practice. After all, it’s free. That’s the most important. Of course, local tyrants, please feel free

After registering the account and password of the platform, we will proceed to the next step. The interface is shown in the figure below

How to install your network security certificate SSL from HTTP to HTTPS?

After submitting, you need to verify your own foreign trade self built website. The interface jumps as follows

How to install your network security certificate SSL from HTTP to HTTPS?

There are two ways to upload files. One is to open your host background and upload files in the root directory. The second way is to upload files using FTP software. I recommend a good software called FileZilla. Verify that files are uploaded to the root directory of the website and start verification. It takes a while. You can take a break and have a cup of coffee, After verification, you will be returned to a folder containing server.crt and server.key

At this time, you need to upload the two returned files to your Apache folder. The specific operation method is the same as above. I won’t repeat it here

The next step is the most important step. Look carefully

Configure httpd.conf
Uncomment the following sentences in httpd.conf:
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
What is uncomment? There are # symbols in front of these sentences in the code. Just delete them

Then httpd in Apache’s confixtra directory_ Configure with ssl.conf
In the confixtra directory, edit httpd_ ssl.conf
Listen 443SSLPassPhraseDialog  builtin#SSLSessionCache “dbm:D:/Program/Apache Software/Apache2.2.17/logs/ssl_scache”SSLSessionCache “shmcb:D:/Program/Apache Software/Apache2.2.17/logs/ssl_scache(51200)”SSLSessionCacheTimeout  300       <VirtualHost _default_:443># General setup for the virtual host  DocumentRoot “D:/PHPStudy/WWW/phpSSL”  ServerName  phpssl.com:443  ErrorLog “D:/PHPStudy/Apache/logs/no-robots_error.log.txt”  TransferLog “D:/PHPStudy/Apache/logs/no-robots_access.log.txt”    SSLCertificateFile “D:/PHPStudy/Apache/conf/tian_server.crt”  SSLCertificateKeyFile “D:/PHPStudy/Apache/conf/tian_server.key”    CustomLog “D:/PHPStudy/Apache/logs/ssl_request.log”
”%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x ”%r” %b”

Don’t you understand? Never mind, just copy it

So far, the installation and configuration of SSL certificate have been basically completed. Close the browser and re open it. Enter your website address. If HTTP becomes HTTPS, congratulations. Your website security certificate has been installed!

Let’s talk about foreign SSL service providers. I used let’s encrypt free HTTPS certificate before, but one disadvantage is that it’s too troublesome to do it again every three months, so I recommend my heart CF cloudflare

The account and password registration of the website will not be discussed here. Xiaobai is sure to complete it. Let’s talk about the installation of SSL security certificate

Log in and jump to this page

How to install your network security certificate SSL from HTTP to HTTPS?

Click the fourth option (the cloudflare is really user-friendly and will automatically give you the corresponding language version according to your IP address, but in order to provide our English level and reading ability, we will explain it in English). The page after jump is as follows

How to install your network security certificate SSL from HTTP to HTTPS?

Four options are provided here. We select “all (strict)” and click here to create a certificate

How to install your network security certificate SSL from HTTP to HTTPS?

Click the blue button at the back, and the page will automatically jump to the following interface for the following operations

How to install your network security certificate SSL from HTTP to HTTPS?

Click the next button in the lower left corner, and you will get oneorigin certificateAnd oneprivate key

Because I use Apache to explain the above domestic security certificate service provider,

Here, I’ll use nginx as an example to configure cloudflare free HTTPS certificate for explanation

Modify the configuration file of nginx, listen to port 443, and point to your certificate address:

How to install your network security certificate SSL from HTTP to HTTPS?

Here you have completed the configuration of cloudflare. Restart the browser to see if HTTP has become HTTPS. If so, congratulations on taking another big step towards success,.
For more free tutorials, see:https://www.jackgoogleseo.com

This paper consists ofJACK SEOReleased, Jack focuses on foreign trade website construction, Google SEO optimization and foreign trade customer development!