Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: t7.vc
I ran this command: certbot renew (and others like it like trying to specify a webroot)
It produced this output: C:\windows\system32>certbot renew
Saving debug log to C:\Certbot\log\letsencrypt.log
Processing C:\Certbot\renewal\leat.xyz.conf
Renewing an existing certificate for leat.xyz and 3 more domains
Failed to renew certificate leat.xyz with error: Missing command line flag or config entry for this setting:
Input the webroot for leat.xyz:
All renewals failed. The following certificates could not be renewed:
C:\Certbot\live\leat.xyz\fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile C:\Certbot\log\letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): nodejs
The operating system my web server runs on is (include version): windows 10
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 1.24.0
Certificate is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate for leat.xyz and 3 more domains
Performing the following challenges:
http-01 challenge for leat.xyz
http-01 challenge for t7.vc
http-01 challenge for www.leat.xyz
http-01 challenge for www.t7.vc
Using the webroot path D:\Server for all unmatched domains.
Cleaning up challenges
Encountered exception during recovery: FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\Server\.well-known\acme-challenge\wy9fp5Qns46m3B-Jo3B8vBUMAfmC87jvD_Z1EMnx2tw'
Failed to renew certificate leat.xyz with error: (1307, 'SetFileSecurity', 'This security ID may not be assigned as the owner of this object.')
All renewals failed. The following certificates could not be renewed:
C:\Certbot\live\leat.xyz\fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile C:\Certbot\log\letsencrypt.log or re-run Certbot with -v for more details.
Try recreating the challenge path and add a test file there: mkdir D:\Server\.well-known mkdir D:\Server\.well-known\acme-challenge echo "test-file-1234" > D:\Server\.well-known\acme-challenge\Test_File-1234
Then we can try accessing it from the Internet: http://leat.xyz/.well-known/acme-challenge/Test_File-1234
Done. But I don't have that path available in my nodejs sever code and so I get "Cannot GET /.well-known/acme-challenge/Test_File-1234" should I make that path public?
Hmm odd. I removed the redirect of http to https and tested the link on my cell data and it is working now I hope. When you say "ACME challenge request don't need to be secure" do you mean they cannot be or just don't need to be. Thank you for all this help btw!
The HTTP challenges are made to HTTP so should be handled there. There is no need to redirect them to HTTPS although as long as your HTTPS is setup properly it will work. Details about redirects are here: