Mobile app version of vmapp.org
Login or Join
Becky754

: In what path I can find the .crt file for Let's Encrypt SSL? 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

@Becky754

Posted in: #Configuration #Https #LetsEncrypt #SecurityCertificate

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

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Becky754

3 Comments

Sorted by latest first Latest Oldest Best

 

@Radia820

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.

10% popularity Vote Up Vote Down


 

@BetL925

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

10% popularity Vote Up Vote Down


 

@Vandalay111

I don't know that the file for which you are looking will be there, but Let's Encrypt puts files in /etc/letsencrypt/. If you have the mlocate package installed, then you can use locate .crt to find all .crt files on the system. If you don't, you can run find / -name *.crt from the root account, though locating all files with the find command will be slower than with the locate command, though the locate command won't find the file if the database it uses hasn't been updated by updatedb since the relevant file was placed on the system; the updatedb command is usually run once daily by cron.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme