Skip to content
Discussion options

You must be logged in to vote

With 3 1 1 and --reuse-privatekey, renewals don't change the hash, so the second record is only for a deliberate roll. simple-acme can't give you that next key in advance though - it only makes one when there's no cached key. To pre-publish, use the CSR source and bring your own key:

openssl req -new -newkey rsa:2048 -nodes -keyout next.key -out next.csr -subj "/CN=mail.example.com" -addext "subjectAltName=DNS:mail.example.com"
openssl pkey -in next.key -pubout -outform DER | openssl sha256

wacs --source csr --csrfile C:\dane\current.csr --pkfile C:\dane\current.key

The hex after the = is your next 3 1 1 record. After at least two TTLs, copy next.csr and next.key over the current pair i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Legacy777
Comment options

Answer selected by Legacy777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants