Code Monkey home page Code Monkey logo

learning-acme's Introduction

ansible-playbook acme_account.yaml

learning-acme-pebble-1 | Pebble 2023/04/23 12:11:56 GET /dir -> calling handler() learning-acme-pebble-1 | Pebble 2023/04/23 12:11:56 HEAD /nonce-plz -> calling handler() learning-acme-pebble-1 | Pebble 2023/04/23 12:11:56 POST /sign-me-up -> calling handler() learning-acme-pebble-1 | Pebble 2023/04/23 12:11:56 There are now 1 accounts in memory

server_certificate

TASK [Dump information]

ok: [localhost] => { "msg": [ "DNS:anotherexample.org", "DNS:yetanotherexample.org", "DNS:example.org" ] }

https://www.digitalocean.com/community/tutorials/how-to-acquire-a-let-s-encrypt-certificate-using-ansible-on-ubuntu-18-04 https://letsencrypt.org/docs/challenge-types/

Certbot

Register

sudo certbot register --server https://localhost:14000/dir --no-verify-ssl --agree-tos -m [email protected] --non-interactive

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

sudo certbot certificates Saving debug log to /var/log/letsencrypt/letsencrypt.log Cannot extract OCSP URI from /etc/letsencrypt/live/lomo.org/cert.pem


Found the following certs: Certificate Name: lomo.org Serial Number: 7a229707f2c2a71f Key Type: RSA Domains: lomo.org lomito.org Expiry Date: 2028-04-22 22:06:06+00:00 (VALID: 1826 days) Certificate Path: /etc/letsencrypt/live/lomo.org/fullchain.pem Private Key Path: /etc/letsencrypt/live/lomo.org/privkey.pem


sudo certbot delete --cert-name lomo.org Saving debug log to /var/log/letsencrypt/letsencrypt.log


The following certificate(s) are selected for deletion:

  • lomo.org

Are you sure you want to delete the above certificate(s)?


(Y)es/(N)o: Y Deleted all files relating to certificate lomo.org.

con esto pido uno con las opciones básicas sudo certbot certonly --standalone -d example.org,anotherexample.org,yetanotherexample.org -m [email protected] --no-verify-ssl --server https://localhost:14000/dir --agree-tos

aquí le puedo pasar un CSR que haya generado yo, aunque por línae de comando se pueden especificar varias opciones

--csr CSR Path to a Certificate Signing Request (CSR) in DER or PEM format. Currently --csr only works with the 'certonly' subcommand. (default: None)

To non-interactively renew all of your certificates, run "certbot renew"

learning-acme's People

Contributors

mistrasteos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.