Uacme

Revision as of 22:39, 11 February 2024 by Mhan (talk | contribs) (→‎Renew a certificate: Remove all created files that are no longer needed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Renew a certificate

For dns-01 challenge, copy over the value for key_auth to _acme-challenge TXT record.

For http-01 challenge, create a folder .well-known/acme-challenge from the document root, and create a file with the name from the value for token, and put in the value of key_auth inside.

# uacme -v issue kumcabq.org *.kumcabq.org


Remove all created files that are no longer needed

This does not delete .well-known/acme-challenge folders.

# find /srv/www/ -type f -path '*/.well-known/acme-challenge/*' 2>/dev/null > files_and_folders
# rm $(cat files_and_folders)