How do I upload a new certificate for usage in a Globalprotect Portal using API?

Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I upload a new certificate for usage in a Globalprotect Portal using API?

L1 Bithead



I more or less have gotten how to upload a certificate but the issue I am facing is assigning it to the ssl-tls-service-profile


How can I assign it using the API?


Thank you


L1 Bithead

Maybe this is the wrong section?

L5 Sessionator

Hi @riahc3, the direct NFGW API command for this would be: 


https://{{host}}/api/?key={{key}}&type=config&action=set&xpath=/config/shared/ssl-tls-service-profile&element=<entry name="{{profile-name}}"><protocol-settings><min-version>tls1-2</min-version><max-version>max</max-version></protocol-settings><certificate>{{cert-name}}</certificate></entry>


Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂

I dont think thats how I did it.

  • 3 replies
  • 71 Subscriptions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!