Computer Tips - Certbot: there is no Apache plugin for CentOS 9 Stream

Date: 2022jun11 Language: bash Q. Certbot: there is no Apache plugin for CentOS 9 Stream A. Luckily you don't need it to renew. Running this script weekly works for me. Using --webroot is better than --standalone because it doesn't require stopping the Apache server.
#!/bin/sh certbot certonly -n --webroot -w /htdocs/example1 -d example1.com -d www.example1.com certbot certonly -n --webroot -w /htdocs/example2 -d example2.com -d www.example2.com
Options: -n: Not interactive --webroot: Place files in the document root of an already running server -w: The document root (where to place the files) -d: The domain -d: Another domain