logo

Working with Let's Encrypt using Roxy-WI

About Let's Encrypt

Let's Encrypt is a non-profit certificate authority run by Internet Security Research Group (ISRG) that provides X.509 certificates for Transport Layer Security (TLS) encryption at no charge. It launched on April 12, 2016.

Let's Encrypt certificates are valid for 90 days, during which renewal can take place at any time. The offer is accompanied by an automated process designed to overcome manual creation, validation, signing, installation, and renewal of certificates for secure websites.

The project claims its goal is to make encrypted connections to World Wide Web servers ubiquitous. By eliminating payment, web server configuration, validation email management and certificate renewal tasks, it is meant to significantly lower the complexity of setting up and maintaining TLS encryption.

Go to TOP

How it works

Roxy-WI allows to get Let's Encrypt certificates via the web interface. When you press the button "Get certificate" Roxy-WI connects to remote server, installs the Certbot and tries to obtain a certificate for your domain via the Certbot.

If the certificate has been obtained successfully, Roxy-WI creates a cron job in or to renew your certificate every month.

The renewing script checks the /etc/letsencrypt/live/ folder and tries to renew all certificates located there. Note thant if you delete any folder in /etc/letsencrypt/live/, the script will not renew the corresponding certificate.

Go to TOP

Check list

Before obtaining a Let's Encrypt certificate please follow the checklist below:
  1. Make sure that the the correct A/AAA DNS record is bound to the server's public IP address
  2. Make sure that your e-mail address is active and you have access to it
  3. Read terms of service and you agree with it
  4. Make sure that HAProxy is accessible by 80(HTTP) port. Check you firewalls,
  5. Make sure that the following settings are enabled for HAProxy:
    If you use Nginx as proxy server make sure that the following settings are enabled:
Go to TOP

Was this article helpful?

Yes, thanks!
Not really
Go back