In what path I can find the .crt file for Let's Encrypt SSL?
17,029
Solution 1
After successfully running Lets Encrypt for example.com, the latest certificate files can be found in the following location:
/etc/letsencrypt/live/example.com/privkey.pem
/etc/letsencrypt/live/example.com/chain.pem
/etc/letsencrypt/live/example.com/fullchain.pem
/etc/letsencrypt/live/example.com/cert.pem
- cert.pem: The private certificate for your domain
- chain.pem: The Let's Encrypt "chain" certificate that needs to be installed with the private domain certificate
- fullchain.pem: cert.pem and chain.pem concatenated
- privkey.pem: The private key for cert.pem
Solution 2
Quick Answer
ubuntu:
/etc/letsencrypt/live/domain.com/cert.pem (Certificate)
/etc/letsencrypt/live/domain.com/privkey.pem (Private Key)
Details
You are looking for file like cert.crt, actually letsencrypt uses cert.pem for your certificate and privkey.pem for private key. So they always use .pem extension which can be confusing.
Related videos on Youtube
Author by
Bangladesh 71
Updated on September 18, 2022Comments
-
Bangladesh 71 over 1 year
I'm trying to find the SSL .crt file that was installed on my Ubuntu server using Let's Encrypt. I used this commands below for installing Let's Encrypt free SSL:
$sudo apt-get update $sudo apt-get install python-letsencrypt-apache $sudo letsencrypt --apache -d example.com
-
Simon Hayter about 7 yearsSorry but you will need to edit your question and include more information. You will need to tell us how it was originally installed and what operating system you use. CRT files locations vary from depending on the Linux or Windows version being used, furthermore cPanel and Plesk also have their own file paths that differ too, more information needed before people can help you.
-
Bangladesh 71 about 7 years@SimonHayter I followed this digitalocean.com/community/tutorials/…
-
Simon Hayter about 7 yearsNo links please, edit your question and include that information... people should be able to answer your question without having to click external sites. But to add we don't need the full tutorial. Just simplify the process you did a in a few paragraphs, from that we can answer your question. For example, I installed the Let's Encrypt using
sudo letsencrypt --apache -d example.com
where does it store the SSL cert?
-
-
Stephen Ostermiller about 7 yearsLet's encrypt will use
.pem
file extensions rather than.crt
on Ubuntu for Apache.