Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@FAKELES-7310:~/letsencrypt$ sudo docker run -it --rm --name certbot \
- -v "/etc/letsencrypt:/etc/letsencrypt" \
- -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
- certbot/dns-cloudflare certonly
- Saving debug log to /var/log/letsencrypt/letsencrypt.log
- How would you like to authenticate with the ACME CA?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 1: Obtain certificates using a DNS TXT record (if you are using Cloudflare for
- DNS). (dns-cloudflare)
- 2: Runs an HTTP server locally which serves the necessary validation files under
- the /.well-known/acme-challenge/ request path. Suitable if there is no HTTP
- server already running. HTTP challenge only (wildcards not supported).
- (standalone)
- 3: Saves the necessary validation files to a .well-known/acme-challenge/
- directory within the nominated webroot path. A seperate HTTP server must be
- running and serving files from the webroot path. HTTP challenge only (wildcards
- not supported). (webroot)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Select the appropriate number [1-3] then [enter] (press 'c' to cancel): 1
- Please enter the domain name(s) you would like on your certificate (comma and/or
- space separated) (Enter 'c' to cancel): codeharmony.net,*.codeharmony.net
- Renewing an existing certificate for codeharmony.net and *.codeharmony.net
- Input the path to your Cloudflare credentials INI file (Enter 'c' to cancel): /etc/letsencrypt/cloudflare.ini
- Waiting 10 seconds for DNS changes to propagate
- Successfully received certificate.
- Certificate is saved at: /etc/letsencrypt/live/codeharmony.net/fullchain.pem
- Key is saved at: /etc/letsencrypt/live/codeharmony.net/privkey.pem
- This certificate expires on 2024-06-06.
- These files will be updated when the certificate renews.
- Certbot has set up a scheduled task to automatically renew this certificate in the background.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- If you like Certbot, please consider supporting our work by:
- * Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
- * Donating to EFF: https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement