Certificate Renewal Endpoint not working
-
I assume this is a known issue, as i don't see the option to renew the cert in the Nexus interface, but the API endpoint is defined.
/system/certificates/{refid}/renew
Getting the following error.
Unable to complete request {"errcode":400,"errmsg":"json: cannot unmarshal string into Go value of type pfapi.RenewCertOptions"}
JSON I'm sending
{"reusekey": true, "reuseserial": false, "strictsecurity": false}Tested on 25.07.01
-
I'll look into this for you. I can renew certificates that I created in the new GUI, but none of the others. It does seem that it uses the CA endpoint to renew regular certificates though. So you should be able to use
system/certauth/{refid}/renew
until it's fixed.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.