What file do I use with apache?


#1

I have been using a self signed certificate for my Nextcloud installtion on Debian Stretch. Recently, I crated a Let’s Encrypt following the instruction from Failed authorization procedure - The server could not connect to the client to verify the domain .

WIth the self-signed creation, I got a key file and a pem file. WIth Let’s Encrypt, I have
.key
.csr.conf
.csr
.cer
ca.cer
fullchain.cer
.conf

Do I convert one of these files to the pem file?


#2

I think acme.sh files are in pem format (just using cer extension).
You can confirm this easily with:
more fullchain.cer
If you see this, it is pem format:
-----BEGIN CERTIFICATE-----
<letters & numbers>
-----END CERTIFICATE-----


#3

The acme.sh documentation discusses what to do: