Uacme: Difference between revisions

Jump to navigation Jump to search
→‎Renew a certificate: Remove all created files that are no longer needed
mNo edit summary
→‎Renew a certificate: Remove all created files that are no longer needed
 
Line 1: Line 1:
= Renew a certificate =
= Renew a certificate =


Copy over the value for <code>key_auth</code> to _acme-challenge TXT record. For http-01 verification, create a folder .well-known/acme-challenge, and create a file with the name from the value for token, and put in the value of key_auth inside.
For dns-01 challenge, copy over the value for <code>key_auth</code> 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 <code>token</code>, and put in the value of <code>key_auth</code> inside.


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# uacme -v issue kumcabq.org *.kumcabq.org
# uacme -v issue kumcabq.org *.kumcabq.org
</syntaxhighlight>
= Remove all created files that are no longer needed =
This does not delete .well-known/acme-challenge folders.
<syntaxhighlight lang="bash">
# find /srv/www/ -type f -path '*/.well-known/acme-challenge/*' 2>/dev/null > files_and_folders
# rm $(cat files_and_folders)
</syntaxhighlight>
</syntaxhighlight>

Navigation menu