Certbot: Difference between revisions
No edit summary |
No edit summary |
||
| Line 87: | Line 87: | ||
: <source lang="bash">sudo keytool -printcert -sslserver equality-tech.com</source> | : <source lang="bash">sudo keytool -printcert -sslserver equality-tech.com</source> | ||
; How do I expand a cert to include some sub-domains? | ; How do I expand a cert to include some sub-domains? | ||
: Use the <code>--expand</code> option to put multiple domains in the same cert. | |||
: sudo /opt/certbot/certbot certonly --cert-name example.org --expand -d example.org,www.example.org,wiki.example.org,example.com,www.example.com,wiki.example.com | : sudo /opt/certbot/certbot certonly --cert-name example.org --expand -d example.org,www.example.org,wiki.example.org,example.com,www.example.com,wiki.example.com | ||
; How do I create a wildcard certificate with LetsEncrypt? | |||
: See https://github.com/geerlingguy/ansible-role-certbot/pull/60#issuecomment-423919284 | |||
; How do I cleanup my old/test certificates?: | ; How do I cleanup my old/test certificates?: | ||