I recently installed a certificate following this guide and it worked like a charm.
My domain is: https://wichtv.com
But today, I need to add the certificate to my new subdomain - admin.wichtv.com
After looking online I found some suggestions to run this command:
certbot -a webroot -i nginx --cert-name wichtv.com -d wichtv.com -d www.wichtv.com -d admin.wichtv.com
It then proceeds to ask for me to input the
webroot for each domain.
This is the part I don’t quite understand - the folder setup is as follows:
Admin panel -
I tried variations of including the folder name and not including the folder name when attempting to input the
webroot but each time it comes back with an error:
Failed authorization procedure. admin.wichtv.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://admin.wichtv.com.well-known/acme-challenge/uV7THebqrirFtyww-31XyWDK6vgj9Y_vuupGMBlr7n0: Error getting validation data
Would you please be able to enlighten me as to what webroot I actually enter for both the frontend folder and the admin folder? I’m unsure if I have to use the folder name or just
var/www/html/. Because of these repeated attempts, I have hit the limit and will have to try it again later on (hopefully with your wisdom).
There were too many requests of a given type :: Error creating new order :: too many failed authorizations recently:
Lastlly, is the initial error I posted about Failed authorization procedure actually due to entering an incorrect webroot or is it something else?
My web server is (include version): NGINX 1.10.3
The operating system my web server runs on is (include version): Ubuntu 16.04
My hosting provider, if applicable, is: Digital Ocean
I can login to a root shell on my machine (yes or no, or I don’t know): Yes, full access.
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No