I think @jared.m and @JuergenAuer have helpfully clarified that you probably didn't do anything wrong; you most likely just didn't realize the significance of some of what you did successfully.
I expect that none of the errors that you describe would be improved in any way by reinstalling Certbot.
I went back to check. When I restart the apache server, I got these error:
AH00526: Syntax error on line 47 of /opt/bitnami/apache2/conf/bitnami/bitnami.conf:
SSLCertificateFile: file ‘/etc/letsencrypt/live/marketinglab.biz/cert.pem’ does not exist o
r is empty
I put the certs here:
DocumentRoot "/opt/bitnami/apache2/htdocs"
ServerName www.marketinglab.biz
SSLEngine on
SSLCertificateFile "/etc/letsencrypt/live/marketinglab.biz/cert.pem"
SSLCertificateKeyFile "/etc/letsencrypt/live/marketinglab.biz/privkey.pem"
SSLCertificateChainFile "/etc/letsencrypt/live/marketinglab.biz/fullchain.pem"
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
= 2.3 >
Require all granted
# Error Documents
ErrorDocument 503 /503.html
Bitnami applications installed with a prefix URL (default)
Include “/opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf”
Thanks a lot. So I just need to find where my cert resides.
I tried but couldn’t locate the cert.
bitnami@ip-172-26-11-137:~/letsencrypt$ ./certbot-auto certificates
Requesting to rerun ./certbot-auto with root privileges…
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/marketinglab.biz/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/marketinglab.biz/privkey.pem
Your cert will expire on 2019-01-22. To obtain a new or tweaked
version of this certificate in the future, simply run
letsencrypt-auto again. To non-interactively renew all of your
certificates, run “letsencrypt-auto renew”