Looking for a .crt, .key, .ca-bundle files

Hi Jack,
Even I am looking for a .crt, .key, .ca-bundle files however I can only see .pem files inside /etc/letsencrypt/archive/ directory.

-rw------- 1 root root 1708 May 30 23:38 privkey.pem
-rw-r--r-- 1 root root 5629 May 30 23:38 fullchain.pem
-rw-r--r-- 1 root root 3750 May 30 23:38 chain.pem
-rw-r--r-- 1 root root 1879 May 30 23:38 cert.pem

Based on my google search I think that the following commands would give me a .key file, a .cert file, however, I am unable to understand where would I get a .ca-bundle file.

openssl x509 -outform der -in cert.pem -out certificate.crt
openssl pkey -in privkey.pem -out privkey.key

Can you please help me figure out where would I get a .ca-bundle file ?

There is no difference between a .crt file and a .pem file, and you don't need to do anything to the files you have. What you're calling the .key file is privkey.pem. What you're calling the .crt file is cert.pem. And what you call .ca-bundle is chain.pem.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.