Forum Discussion
v12 REST API - Client-SSL Profile - Updating Chain
I'm getting the following error
010717e7:3: cert-key-chain and profile cert, key or chain options cannot be input together.when attempting to update a client SSL profile with a new cert chain.
The same code worked in v11.5.x but it returns the above error in v12x.
My code sends the following JSON payload via a PUT cmd to /mgmt/tm/ltm/profile/client-ssl/(resource ID):
{"certKeyChain":[{"name":"(NAME OF CERT)","cert":"(FULL PATH TO CERT's .CRT FILE)","chain":"(FULL PATH TO CA's .CRT FILE)","key":"(FULL PATH TO CERT's .KEY FILE)"}]}And the only part of that JSON payload I am changing is the "chain" value. I'm sending back everything else exactly the same from the GET call before the PUT.
1 Reply
- RedTechie_13226
Nimbostratus
Well looks like switching the API call from "PUT" to "PATCH" resolved the issue in v12x and v11x. Unless I hear otherwise I'm going to consider this as the answer to that vague error message.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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