domingo, 22 de septiembre de 2024

Cerbot, create certificate

Manual way to get a certificate quickly

[ec2-user@ip-172-31-80-45 nginx-with-ingress-tls]$ sudo certbot certonly --manual -d test.----.com 

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Requesting a certificate for test.---.com


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Create a file containing just this data:


-8ccghVG-Zrog2oMpAS6A4MUWX0zVKwYQvSjpL2w0bo.QLspXMaGtto-----GhC18Pa7O4_L-4bvmkU


And make it available on your web server at this URL:


http://test.---.com/.well-known/acme-challenge/-8ccghVG-Zrog2-----VKwYQvSjpL2w0bo


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Press Enter to Continue


Successfully received certificate.

Certificate is saved at: /etc/letsencrypt/live/test.----.com/fullchain.pem

Key is saved at:         /etc/letsencrypt/live/test.----.com/privkey.pem

This certificate expires on 2024-12-21.

These files will be updated when the certificate renews.


NEXT STEPS:

- This certificate will not be renewed automatically. Autorenewal of --manual certificates requires the use of an authentication hook script (--manual-auth-hook) but one was not provided. To renew this certificate, repeat this same certbot command before the certificate's expiry date.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

No hay comentarios:

Publicar un comentario