HELP! SSL not working for WWW

I used this tutorial (https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04) to setup my LE Cert. Had everything running fine until I ran this command a second time to get the WWW’s in there.

./letsencrypt-auto --apache -d www.digitera.agency

The way I had things configured before in the CONF file was that the WWW would simply redirect to the domain without WWW. Now, I get the dreaded “Your connection is not private”. I’m thinking this error is being caused by a glitch in the CONF files…but I could use a nudge in the right direction here.

The config is fine, the problem is that you replaced the cert for digitera.agency with one for www.digitera.agency.

You need to specify both names to get a cert valid with and without www. like this:

./letsencrypt-auto --apache -d digitera.agency -d www.digitera.agency

That seems to have done it. Thank you very much! If you ever come to Ottawa Canada, hit me up…beers are on me!