it's my first post here and I may be a bit out of my depth so please be patient..
Do you guys, know what I am doing wrong?
Thanks in advance..
So, I'm not 100% sure on Google VM itself, but the line you used:
sudo certbot renew --dry-run
is a dry run renewal - this is a test to make sure your configuration is correct but won't actually create or renew any certificates. Because there is a limit to how many certificates your can attempt to generate per hour, you would use this dry run first to ensure your configuration is correct, before you do the real one.
You should be able to generate your certificates on the command line like so:
sudo certbot --apache
This should generate the certificate (it will ask you some questions first) and update the web server to automatically point your site to SSL, however if this does not work you can also do this manually.
This command:
sudo certbot certonly --apache
will generate the certificates, but it will be up to you to update your configuration to point your site to the secure version.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.