I think it's because I didn't succeed the first time, so I asked for another certificate ... Can I remove it from my server just by deleting the 4 files (cert.pem, chain.pem, fullchain.pem & the privkey.pem) ?
My configuration server:
My problem is that my SSLCertificateFile & SSLCertificateKeyFile are not from the same folder (maybe not the same certifcate request) that SSLCertificateChainFile ?
I'm confused of what to use, I have:
My cert.pem, chain.pem, fullchain.pem & the privkey.pem of my domain in /etc/letsencrypt/live/laophenixconsulting.com
Another crt, key and privatekey file of my subdomain in /opt/bitnami/apache2/conf/.
Should I use that to configure my web server ? It will cover all my subdomain ?
The certificate found in /opt/bitnami/apache2/conf/ is only valid for the hostname promis2.laophenixconsulting.com. It is currently valid and not expired. Based on the directory, I would say that is bitnami's acme client?
The certificate found in /etc/letsencrypt/live/laophenixconsulting.com (which is a directory used by certbot) is a wildcard which is valid for *.laophenixconsulting.com, laophenixconsulting.com. This certificate has expired on July 22 2020, over one year ago.
What to do depends on what you want to achieve:
Which hostnames do you have, want or need certificates for?
Which acme client do you want to use to get the certificates?
Once you have decided that we can work on getting that configuration to work. Also:
This is not correct, you usually do not need the SSLCertificateChainFile directive at all (Apache is capable of loading leaf + chain from SSLCertificateFile). If it is used, it must not be used with any fullchain.