the codingmerc llc

application programming expert for hire

Add Let’s Encrypt root certificate to Linux

By following these few simple steps one can add the Let’s Encrypt  root certificate to the Linux certificate management.

  1. Create a new folder to store the root certificate by executing:
    1. $ cd /usr/share/ca-certificates
    2. $ sudo mkdir letsencrypt.org
  2. Now download the root certificate into the folder
    1. $ cd letsencrypt.org/
    2. $ wget "https://letsencrypt.org/certs/isrgrootx1.pem"
  3. Lastly update the certificate management by running
    1. $ sudo update-ca-certificates

You can now use for example

curl

or

wget

to download files using a SSL secured connection signed with a certificate trusted by the Let’s Encrypt certificate authority. 

© 2018 the codingmerc llc