Can't verify domain with 301 redirect on it


#1

I’m currently running
letsencrypt-auto --webroot-path /srv/mainweb -d www.mydomain.ca -d mydomain.ca certonly && service nginx reload

I currently have a 301 redirect for all traffic on the mydomain.ca to www.mydomain.ca for SEO, but the client fails to update the cert because it says that it’s getting unauthorized errors.


#2

Sounds like you have the redirect always going to the homepage, it should be changed to preserve the rest of the URL.


#3

I forgot to pass the perameters while redirecting mydomain.ca to www.mydomain.ca.
Thanks!