Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Certificate Renewal Endpoint not working

    Scheduled Pinned Locked Moved Multi-Instance Management
    2 Posts 2 Posters 203 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      powerguy42
      last edited by powerguy42

      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

      1 Reply Last reply Reply Quote 0
      • T Online
        tkerr
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.