Certificate path


#1

Hi,

I would like to know is it possible to put certificates in different path rather than in /etc/letsencrypt and set auto reneval in crontab for certbot to same path.

Thank you
Marijan


#2

hi mkovacic

yes you can

review the commandline options here: https://certbot.eff.org/docs/using.html#certbot-command-line-options

specifically:

paths:
Arguments changing execution paths & servers

–cert-path CERT_PATH
Path to where cert is saved (with auth --csr),
installed from or revoked. (default: None)
–key-path KEY_PATH Path to private key for cert installation or
revocation (if account key is missing) (default: None)
–fullchain-path FULLCHAIN_PATH
Accompanying path to a full certificate chain (cert
plus chain). (default: None)
–chain-path CHAIN_PATH
Accompanying path to a certificate chain. (default:
None)
–config-dir CONFIG_DIR
Configuration directory. (default: /etc/letsencrypt)
–work-dir WORK_DIR Working directory. (default: /var/lib/letsencrypt)
–logs-dir LOGS_DIR Logs directory. (default: /var/log/letsencrypt)
–server SERVER ACME Directory Resource URI. (default:
https://acme-v01.api.letsencrypt.org/directory)


#3

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