Recently planning to
Build an industry websiteFor practice, because the domain is not registered (in China), I can only use overseas servers. Since it's for practice, the requirements are not high, so I directly used the free web hosting I applied for when writing the
tutorial on building a WordPress website with free web hosting. (Another reason is that my Hong Kong
VPSserver load is a bit high, and I don't want to add another website to it.) Because I'm used to the HTTPS icon (otherwise Chrome shows 'Not Secure', which is annoying), the first step after setting up the website is to set up HTTPS. This web hosting uses the DirectAdmin panel. The method to apply for an SSL certificate is as follows.
Apply for a free SSL certificate
Go directly to
This websiteto apply for a free TrustAsia certificate, valid for one year. Specific method: 1. On the website homepage, enter the domain name for which you want to apply for the certificate, then click 'Create Free SSL Certificate'. Select TrustAsia as the brand. 2. For CSR generation, choose 'Browser Generated'. Enter your email in the input box above, then click 'Create'. 3. Information for DNS modification verification will pop up. Go and modify your DNS resolution yourself. Refer to
Tutorial for Namesilo Domain Resolution and DNS Server Modification4. Wait a few minutes for verification. After successful verification, the certificate download and certificate information will pop up, as shown in the figure below:

Add SSL certificate in DirectAdmin panel
Find the SSL certificate icon in the DirectAdmin panel backend and click to enter.

First, click where arrow 1 points and paste the CA root certificate. (Copy the certificate data generated in step 4 above.) Then, click where arrow 2 points and paste the certificate and private key. (Copy both and put them in one box.)

After saving, the SSL certificate for your website can be used. Access your website via HTTPS. If a certificate error is prompted, force refresh once, and then it will be OK.

Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.