I am trying to reuse a letsencrypt certificate in the official httpd docker container : https://hub.docker.com/_/httpd. In this container the apache folder is located in
I installed the certbot and copied the old certificates, keys and necessary files to
/etc/letsencrypt , I have done the instruction written on the official httpd docker page (uncomment lines in conf/httpd.conf in order to activate ssl). When I run
certbot -d my-domain-name.com --apache certbot is trying to modify
/etc/apache2 which is not the correct location of the apache2 and eventually I get an error and I can't reuse my certificate.
Has anyone had some problem before? Please help.