Automatic deployment of server SSL certificates

SSL certificates are digital certificates. Their main function is to encrypt HTTPS data. Now, it has become a global standard. Generally, you only need to install a server certificate to activate this function, to achieve encrypted transmission of data information between the client and the server and ensure the security of information on both sides.

However, SSL certificates are time-limited. Generally, when the time limit is reached, the certificate needs to be replaced manually, so an automated tool needs to be deployed to help us automatically replace the SSL certificate for the website.

1. Let’s Encrypt

This is a free open-source certificate authority. As long as the user enters the domain name, he can apply for an SSL certificate for free. The certificate has wide compatibility and support. Almost all browsers and operating systems have information about the certificate, so we can use it to obtain the certificate.

2. win-acme

This is an automated deployment software on Windows, which is mainly used to interact with certificate authorities such as Let’s Encrypt to automatically obtain and manage SSL/TLS certificates. The project aims to provide Windows users with an easy-to-use tool to easily configure HTTPS for their websites and services.

2.1 Process

Users can download the latest version from the win-acme official website. After decompression, you will get a win-acme folder, as shown below:

Unzip the win-acme folder

Secondly, users need to open the cmd command line window as an administrator, jump to the page where the current folder is located, and run the wacs.exe command to start the program. When it is successfully started, it will be as follows:

cmd command line window

Select M to create the certificate. According to the guidance, enter the domain name, select HTTP verification, select the RSA encryption method, and output the pem file. Finally, the program will automatically generate 4 PEM files for users to use. The successful output interface is as follows:

Success output interface

And 4 files, users only need to use the chain.pem complete certificate file and key.pem key file to add HTTPS to their website (note that pem files are generally used for NGINX).

In addition, after the deployment is completed, win-acme will automatically remember the operation, because the free certificate is only valid for 3 months, so when the user completes the operation, win-acme will automatically repeat the operation two months later to obtain the certificate to replace the original old certificate.

Home

 

Update cookies preferences
WhatsApp

Get a Quick Quote!

x

    Get a Quick Quote!

    x