I’m trying to get an SSL certificate installed on a multisite, like staging.example.com
But letsencrypt keeps failing when I do:
sudo ansible-playbook server.yml -e env=staging --tags letsencrypt
Recently I seem to be able to get the certificate installed, however I get an invalid common name in all browsers. A verbose output of the lets encrypt process gives me:
ssl.CertificateError: hostname ‘staging.example.com’ doesn’t match either of ‘*.vhost.work’, ‘vhost.work’
I’ve searched the whole trellis folder locally and can’t find any mention of vhost.work at all? I don’t know where this has come from.
I’ve put SSL on a tonne of sites with roots before. The only difference is that this is a multisite install. I don’t know if that would make any difference?
If anyone can help me I’d really appreciate it : )