Skip to content

Instantly share code, notes, and snippets.

@danecjensen
Created June 13, 2019 19:06
Show Gist options
  • Save danecjensen/46e7cdef128e1e657564330f29ae3180 to your computer and use it in GitHub Desktop.
Save danecjensen/46e7cdef128e1e657564330f29ae3180 to your computer and use it in GitHub Desktop.
bitnami@ip-10-136-65-200:~$ sudo certbot -d custom.sockclub.com --manual --preferred-challenges dns certonly
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Enter email address (used for urgent renewal and security notices) (Enter 'c' to
cancel): [email protected]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(A)gree/(C)ancel: a
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let's Encrypt project and the non-profit
organization that develops Certbot? We'd like to send you email about our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for custom.sockclub.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NOTE: The IP of this machine will be publicly logged as having requested this
certificate. If you're running certbot in manual mode on a machine that is not
your server, please ensure you're okay with that.
Are you OK with your IP being logged?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name
_acme-challenge.custom.sockclub.com with the following value:
cXShO9opmwwid_Q2Yu6GxnYsHVGKlOAYSiFzI1kwnO4
Before continuing, verify the record is deployed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/custom.sockclub.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/custom.sockclub.com/privkey.pem
Your cert will expire on 2019-09-11. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew *all* of your certificates, run
"certbot renew"
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
- 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
bitnami@ip-10-136-65-200:~$ ls
apps bitnami_credentials stack
bitnami@ip-10-136-65-200:~$ ls
apps bitnami_credentials stack
bitnami@ip-10-136-65-200:~$ cd /etc/letsencrypt
bitnami@ip-10-136-65-200:/etc/letsencrypt$ ls
accounts archive cli.ini csr keys live renewal renewal-hooks
bitnami@ip-10-136-65-200:/etc/letsencrypt$ cd ..
bitnami@ip-10-136-65-200:/etc$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment