I changed the the redirects in the two files to campus.mymoodlesite.com. I tried to run the bncert-tool and I get this error:
I tried to run the bncert-tool a second and third time with no success. I can't understand the error log.
An error occurred when applying configurations.
The web server configuration was left unchanged. There was an error in the new
configuration, so it was reverted.
* Starting web server: Failed to start
Some steps were not reverted. Run the tool again to apply them:
* The Let's Encrypt certificate was revoked, so it cannot be used anymore
Find more details in the log file:
In the error log, when it gets down to configuring the crontab, I see a command using my old classes.mymoodlesite.com.
I have tried to find all instances of the old classes.mymoodlesite.com but I must be missing it somewhere.
In the /opt/bitnami/apache2/conf directory, there are these four listings:
lrwxrwxrwx 1 root root 66 Jul 24 02:40 campus.mymoodlesite.com.crt -> /opt/bitnami/letsencrypt/certificates/camp
lrwxrwxrwx 1 root root 66 Jul 24 02:40 campus.mymoodlesite.com.key -> /opt/bitnami/letsencrypt/certificates/camp
lrwxrwxrwx 1 root root 67 Jul 1 18:43 classes.mymoodlesite.com.crt -> /opt/bitnami/letsencrypt/certificates/cla
lrwxrwxrwx 1 root root 67 Jul 1 18:43 classes.mymoodlesite.com.key -> /opt/bitnami/letsencrypt/certificates/cla
The last two, for classes.mymoodlesite.com don't exist in the /opt/bitnami/letsencrypt/certificates directory. I need help finding where that is coming from.