
Let's Encrypt is an automated, open certificate authority that offers free TLS/SSL certificates for the public's benefit. The service is provided by the Internet Security Research Group (ISRG). This tutorial describes how to install a wildcard Let's Encrypt SSL certificate using certbot on a Vultr Load Balancer.
The high-level steps for this tutorial are:
You will need a UNIX-like operating system to install certbot.
Install certbot according to the instructions for your platform.
Run certbot with the certonly and --manual options. Replace example.com with your domain. The domain is listed twice, once for the bare domain and once for the wildcard. If you are not using the bare domain URL (https://example.com), you can omit that value and only request the wildcard.
Press Y or N + Enter to share your email address with the EFF.
Press Y + Enter to verify you agree to have your IP address logged.
The certbot wizard will print instructions to add a TXT record to your domain's DNS. For example:
The certbot wizard will pause at this point. Do not press Enter until you've completed the DNS steps below.
Use a web browser to:
Test that the TXT record is propagated correctly. Popular ways to test the TXT record include dig and the dnschecker.org website. Replace example.com with your name in these examples:
To test with dig, open another terminal window and look up the domain record, replacing example.com with your domain. Verify that the value returned is correct.
To use dnschecker.org, navigate to the URL, replacing example.com with your domain. Verify that the value returned is correct.
When you see the correct TXT record in the propagation test, return to the certbot wizard and press Enter to continue. If the certificate challenge succeeds, certbot will report the location of the new certificate files.
Navigate to your load balancer dashboard in the Vultr Console.
Click the three-dot menu icon for your load balancer, then click Manage.
Click the Configuration tab.
Click SSL Certificate in the left menu.
Copy the contents of your certificate files into the fields.
When you are finished, it should look like this example. Click Save changes.
The form will update and display an encrypted certificate. The certificate will be ready to use in 60 seconds.
Using a web browser, navigate to your website, and verify the certificate is correct.
You have completed wildcard SSL installation using certbot. You will need to repeat these steps before the certificate expires every 90 days.
0 Comments
Be the first to comment and share your perspective with the community.