Thomas' Tech Tips

Fix trust issues with Let's Encrypt TLS certificates on Red Hat Enterprise Linux 7

27 November 2022 - Thomas Damgaard

A newly deployed Red Hat Enterprise Linux 7 on Azure will not trust Lets Encrypt TLS certificates.

Using wget to access a site with a Lets Encrypt certificate, produces this error:

ERROR: cannot verify's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
  Issued certificate has expired.
To connect to insecurely, use `--no-check-certificate'.

This is fixed by running this command:

sudo update-ca-trust extract
Filed under: azure, howto, letsencrypt, linux, redhat, rhel, tips, tls