Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes on renewals #2

Open
scintill opened this issue Jul 21, 2020 · 0 comments
Open

Notes on renewals #2

scintill opened this issue Jul 21, 2020 · 0 comments

Comments

@scintill
Copy link
Owner

Renewal isn't strictly necessary, as you can manually revoke old certs in the portal and/or create new ones with the current codebase. But here are some notes I have, in case someone wants to automate it:

  • Similar to what is already implemented
  • POST to /pushcert/caservice/renew instead of /pushcert/caservice/new
  • A key called CertificateSerialNumber is added in each sub-dict of CertRequestList, and has the lowercase hex-encoded serial number of the previous cert for the given service
    • e.g.
                                <key>CertRequestNo</key>
                                <integer>0</integer>
                                <key>CertificateSerialNumber</key>
                                <string>7585f4f77e9a12df</string>
                                <key>Description</key>
                                <string>DU182 - apns:com.apple.calendar</string>
freswa pushed a commit to freswa/dovecot-xaps-daemon that referenced this issue Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant