I installed a certificate using google dns plugin but my site still won’t work (It’s a .dev domain so HSTS is preloaded and it must have SSL to even load up)
My domain is: botivity.dev
I ran this command: sudo certbot certonly --dns-google --dns-google-credentials ~/.secrets/certbot/google.json -d 'botivity.dev' -d '*.botivity.dev'
It produced this output:
My web server is (include version): Apache/2.4.38
The operating system my web server runs on is (include version): Debian 10 Buster
My hosting provider, if applicable, is: Google Cloud Platform
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.31.0
Furthermore, transparency report shows certificate installed today and lists both the main domain and the wildcard domain. Not sure why I can’t access it.
I currently have: 12 8 * * * certbot renew
But as you pointed out, certbot won’t automatically install the certificate. The command you asked me to run above: certbot -d botivity.dev -d *.botivity.dev --reinstall -i apache requres user input. How can I add this into my cron job to auto install as well?