means of preparation : ssl certificate compression package, notepad++editor, computer where browser is installed Download Certificate : Generally compressed package After decompression, the following files are obtained : Three Mainstream Web Versions :Apache、IIS、Nginx Apache Files in the Apache folder: yourdomain_chain.crt, yourdomain_ssl.crt, yourdomain_ssl.key 1. Open the website: 2. Open the file yourdomain_ssl.crt with notepad++, copy the contents and paste them into the data frame of the website above. 3. Click Next, the content as shown in the figure will appear, and click "Download intermediate certificate file". 4. After downloading, there is a file named chain.crt. Then open the file with notepad++. Copy content. Append to yourdomain_ssl.crt file, as shown in the figure, the red part is the new content. 5. Save and copy to the folder where your Apache references ssl. Restart APACHE and try again. Ningx Files in the Ningx folder: yourdomain_ssl.crt, yourdomain_ssl.crt Use notepad++to open the youdomain_ssl.srt file and copy all the above contents in red as shown in the following figure 2. Arrive again Generate the download intermediate certificate. Append to the end of yourdomain_ssl.crt file, just like Apache. 3. Then copy the new yourdomain_ssl.crt file to the file location where nginx references ssl, and restart nginx. IIS Files in IIS folder: yourdomain_pfx_password.txt, yourdomain_ssl.cer, yourdomain_ssl.pfx, yourdomain_ssl.key 1. Use notepad++to open yourdomain_ssl.cer file and copy all the contents. To the website: 2. Download the intermediate certificate and open its contents. Append the end of yourdomain_ssl.cer. 3. Then use openssl to regenerate yourdomain_ssl.pfx file and import it into IIS again. Or use tools: 4. Open yourdomain_ssl.key with notepad++, paste the contents of the added yourdomain_ssl.cer file into the above composite URL, and then regenerate the. pfx file to import into iis. 5. Restart IIS. |