Let's Encrypt managed certificate

OpenResty Edge 2 can obtain TLS certificate from Let's Encrypt automatically. This feature supports single domain (example.com), Subject Alternate Name (SAN) as well as wildcard (*.example.com) domains, or their combination.

In order for Edge 2 to obtain certificate from Let's Encrypt, the following prerequisites must be satisfied:

For non-wildcard domains:

  • Domain must be resolved to node belonging to this Edge 2 installation

For wildcard domains:

  • The authoritative name server for the apex must be hosted using this Edge 2 installation

Here is how to obtain a certificate from Let's Encrypt:

Click "New Certificate" button, and select "Let's Encrypt".

Put in one or more domain name(s) to be signed. Then click "Save".

Now the certificate has been added, you can refresh this page to see it's status.

Note that a new certificate is automatically obtained under the following conditions:

  1. When a new Let's Encrypt cert item was added.
  2. When the domain list of an existing Let's Encrypt cert item was modified.
  3. When the expiration time on the certificate is less than 30 days.

The buttons to the right has the following features:

  1. First button shows the current status of the certificate. You can hover your mouse to check the status text, or click on it to see detailed log information. This is particularly useful when debugging certificates that failed to issue.
  2. Second button triggers causes Edge 2 to immediately attempt to reissue this certificate. This feature is generally not used unless status shows failure.
  3. Third button allows modifications to the domain list.
  4. Forth button removes this certificate.