Forum Discussion
Create new Client SSL profile with help of REST API
Just a hint, you can always append /example to the URL, like this:
GET https://{{big-ip}}/mgmt/tm/ltm/profile/client-ssl/example
You will get... well... examples and explanations.
- qbolbk59Feb 21, 2022Nimbostratus
Hi Daniel_Wolf :
Can you help me with the POST payload that i can use to simply update the SSL profile with a new set of Cert, Key and Chain ?
I tried the ones in the url you provided but it always throws 400 errors.
- qbolbk59Feb 21, 2022Nimbostratus
Btw, i am sending the below POST payload
{
"certKeyChain": [
{
"name": "profilename",
"appService": "none",
"cert": "/Common/cert_name.crt",
"certReference": {
"link": "https://localhost/mgmt/tm/sys/file/ssl-cert/~Common~cert_name.crt?ver=15.1.2.1"
},
"chain": "/Common/Globalsign.crt",
"chainReference": {
"link": "https://localhost/mgmt/tm/sys/file/ssl-cert/~Common~Globalsign.crt?ver=15.1.2.1"
},
"key": "/Common/key_name.key",
"keyReference": {
"link": "https://localhost/mgmt/tm/sys/file/ssl-key/~Common~key_name.key?ver=15.1.2.1"
},
"usage": "SERVER"
}
]
}
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com