What is the certbot command for obtaining the temporary file manually?
(eg not via webroot)
What is the certbot command for obtaining the temporary file manually?
(eg not via webroot)
Its sudo certbot certonly --manual -d mydomain
What do you consider "temporary files"?
The one that is placed inside the acme-challenge directory
Welcome Back to the Let's Encrypt Community
sudo certbot certonly --manual --preferred-challenges http -d "domain.com,www.domain.com"
I concur with @griffin; that command will walk you through the process.
But be aware that certificates that are generated using --manual
authentication can't be renewed automatically.
[that means, from then on every (less than) 90 days you will need to renew the cert manually]
I concur @rg305.
If you happen to be running certbot on a separate machine then uploading the challenge files to your webserver because you don't have root access to install certbot on your webserver, I have a much easier solution for you. Assuming that your webserver supports PHP, you could just use CertSage (my ACME client) instead of certbot. You just copy certsage.php
to your webroot directory on your webserver, navigate to it with your favorite web browser, type in your domain names, enter an email address to receive expiration notifications, and click a button. In under a minute you'll have your certificate. Much easier (and more secure) than messing with a manual approach. Works especially great if your website uses shared hosting with cPanel.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.