Security

 View Only
Expand all | Collapse all

Lost on Clearpass Certificate Upload API

This thread has been viewed 58 times
  • 1.  Lost on Clearpass Certificate Upload API

    Posted Jan 15, 2026 04:00 PM
        - name: PUT Server Cert
          ansible.builtin.uri:
            url: https://{{server}}/api/server-cert/name/{{UUID}}/HTTPS(RSA)
            headers:
              Accept: application/json
              Authorization: Bearer {{api_token.json.access_token}}
            body_format: json
            body:
              certificate_url: What Is this?
              pkcs12_file_url: Also What is this?
              pcks12_passphrase: Know what this is :)
            validate_certs: no          
            method: PUT
    I'm trying to upload a new certificate via API from my local machine (before we move the code into something else)
    I'm completely lost on what the body is asking for.

    I tried putting in the website address for clearpass on certificate_url and the path to where my local computer is storing the new certificate
    I'm getting this as a response.
      json:
        detail: ''
        status: 422
        title: Unprocessable Entity
        type: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
        validation_messages: Could not fetch certificate. URL not trusted or Cert File is empty.
    Any know what I'm supposed to be doing?


    -------------------------------------------


  • 2.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 12, 2026 12:29 PM

    You may have more success on the Automation forum on this community as it looks like your are trying to use Ansible.

    Based on the error message, I think the problem is that ClearPass does not trust the server certificate of the URL where you try to download the certificate from.

    The pkcs12_file_url would be the location for the pkcs12 file holding the ClearPass HTTPS(RSA) server certificate; the pkcs12_password would be the password for that file. Assuming the Ansible module sends the correct API call, ClearPass would retrieve the pkcs12_file_url and for that the URL must be trusted, so the HTTPS certificate of the server that you are downloading from must be trusted by ClearPass, meaning the RootCA for that certificate needs in the Trust List enabled and have purpose 'Other'.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 3.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 12, 2026 12:45 PM

    Hi Herman,

    Thanks for the reply!
    I did finally learn the process with help from TAC.
    I did not realize that it was required to host the pkcs12_file_url on a separate web server, and was instead try to upload it directly from my Ansible server.

    We find it very awkward that in order to refresh our certificates using automation there needs to be another piece of infrastructure (webserver) between our certificate management system  and Clearpass. Given the upcoming 37day refresh period we are very interested in having the certificate refresh run on a schedule with no human interaction.

    Does Aruba have any plans to help customers streamline this process?
    Will it always be required that a separate webserver host the certficate in order to use the API?

    -------------------------------------------



  • 4.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 13, 2026 07:11 AM

    The real question should be why does he need to write an automation script.  This should be an HPE deliverable. 

    Certificate automation with the new issuance and expiriy standard needs to be delvivered by the vendors.

    -------------------------------------------



  • 5.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 19, 2026 12:59 PM

    The problem is that there is no single way of requesting/renewing a certificate. There is ACME, but the most obvious method of requesting a certificate requires the system to be reachable over the internet, which normally is not the case for ClearPass and even not recommended to put it out on the internet. Other methods require control over DNS, which is not practical/obvious either. Many certificate requests are still being done manually. For cloud products it's more trivial and also happening. In premises are different.

    If you have a good idea on how to implement the certificate renewal, please share the thoughts.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 6.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 19, 2026 03:02 PM

    I didn't realize customers were not exposing Clearpass to public networks, we need to for radius, jamf, signature updates and a few other services. 

    Honestly, I don't have a solution. ACME2 seems to be the direction we have to use, but our hands have been forced by the PKI Consortium (I think that was deciding body) and manually replacing certificates every 30 days is not a solution.

    My hope would be that HPE would develop a solution with the Certificate Providers and make it a product deliverable.

    -------------------------------------------



  • 7.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 20, 2026 08:55 AM

    Please file feature request at https://innovationzone.arubanetworking.hpe.com/ and follow up with Aruba SE.



    ------------------------------
    Pavan Arshewar
    Technical Lead Aruba ERT


    If my post addresses your query, give kudos!
    Note: Please note that the views, opinions, and statements expressed are solely my own and are provided in my personal capacity. They do not represent, reflect, or bind the Aruba HPE Networking in any manner.
    ------------------------------



  • 8.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 20, 2026 09:14 AM
    Idea created: SASE-I-14

    ---------------------------------------------
    This email (including any attachments) is for the sole use of the intended recipient(s) and may 
    contain confidential information.  If you are not the intended recipient, any review,
    dissemination, or copying of this email, any attachments, or the information contained herein is 
    prohibited.  If you have received this email in error, please immediately notify the sender and 
    delete this email from your computer.
    ---------------------------------------------





  • 9.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 20, 2026 10:07 AM
    Actually it looks like there was an idea that has strong support that is pretty much the same from 2018.


    On Fri, Feb 20, 2026 at 9:13 AM Erich D. Flynn <eflynn@grcc.edu> wrote:
    Idea created: SASE-I-14

    ---------------------------------------------
    This email (including any attachments) is for the sole use of the intended recipient(s) and may 
    contain confidential information.  If you are not the intended recipient, any review,
    dissemination, or copying of this email, any attachments, or the information contained herein is 
    prohibited.  If you have received this email in error, please immediately notify the sender and 
    delete this email from your computer.
    ---------------------------------------------





  • 10.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 20, 2026 10:43 AM

    Yes, I see that the request was raised quite some time ago. Could you please take this up with your Aruba Accounts team? They will follow up with the PLM team and provide you an update on feature status.



    ------------------------------
    Pavan Arshewar
    Technical Lead Aruba ERT


    If my post addresses your query, give kudos!
    Note: Please note that the views, opinions, and statements expressed are solely my own and are provided in my personal capacity. They do not represent, reflect, or bind the Aruba HPE Networking in any manner.
    ------------------------------



  • 11.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 23, 2026 02:59 AM

    See DNS-PERSIST-01 expected to be available later this year in 2026 for a solution also for ClearPass:
    https://letsencrypt.org/2025/12/02/from-90-to-45
    https://www.ietf.org/archive/id/draft-ietf-acme-dns-persist-00.html

    -------------------------------------------



  • 12.  RE: Lost on Clearpass Certificate Upload API

    Posted Feb 23, 2026 03:11 AM

    That feels like a solution indeed for this use-case. I assume the product development is aware of this (although it's not available yet), but forwarded it to make sure it's visible.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 13.  RE: Lost on Clearpass Certificate Upload API

    Posted Mar 01, 2026 10:04 AM

    DNS-PERSIST-01: A New Model for DNS-based Challenge Validation
    By Samantha Frank · February 18, 2026 - https://letsencrypt.org/2026/02/18/dns-persist-01.html

    Rollout Timeline

    The CA/Browser Forum ballot SC-088v3, defining "3.2.2.4.22 DNS TXT Record with Persistent Value", passed unanimously in October 2025, and the IETF ACME working group adopted the draft that same month. While the document remains an active IETF draft, the core mechanisms described here are not expected to change substantially.

    Support for the draft specification is available now in Pebble, a miniature version of Boulder, our production CA software. Work is also in progress on a lego-cli client implementation to make it easier for subscribers to experiment with and adopt. Staging rollout is planned for late Q1 2026, with a production rollout targeted for some time in Q2 2026.

    -------------------------------------------