If you have two certificates, you need to create two virtual hosts (one for tourismstcatharines.ca
and one for www.tourismstcatharines.ca
).
(I don’t think you did get a new www.tourismstcatharines.ca
certificate yet, though?)
By the way, what does “sudo certbot certificates
” show? Is Certbot managing any certificates for www.tourismstcatharines.ca
?
If you need to create a new certificate with both names, you can run something like:
sudo certbot --apache -d tourismstcatharines.ca -d www.tourismstcatharines.ca --deploy-hook "apachectl graceful"
(I’m not certain what the correct way to reload Apache on CentOS 7 is.)