Install certificate in different directory

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., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:localhost

I will ran this command:
sudo wget
sudo mv certbot-auto /jet/etc/letsencrypt/certbot-auto
sudo chown root /jet/etc/letsencrypt/certbot-auto
sudo chmod 0755 /jet/etc/letsencrypt/certbot-auto
sudo chmod a+x /jet/etc/letsencrypt/certbot-auto

sudo /jet/etc/letsencrypt/certbot-auto --nginx --nginx-ctl /jet/bin/nginx --nginx-server-root /jet/etc/nginx --config-dir /jet/etc/letsencrypt

Hallo, by default certbot auto will install certificate and config files inside the /etc/ directory.

Is it correct the command with the option at the end –config-dir /jet/etc/letsencrypt I wrote above to be able to install certificates and configuration files inside /jet/etc/letsencrypt directory instead of in /etc/letsencrypt directory ?

Thank you in advance for your help

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.