Forum Discussion
Error on Updating certificate on a client SSL profile using the REST API
After one year this problem still exists. I built a workaround in Postman. I defined a new variable in my environment settings. When creating a new SSL profile with a POST I extract the name value and put in the new defined variable. After creating the profile I am sending a second POST with a tmsh command to change the SSL options of the freshly created SSL profile.
Postman JavaScript Tests Script
let responseClientSslName=pm.response.json();
console.log(responseClientSslName);
pm.environment.set("f5clientsslname", responseClientSslName.name);
TMSH JSON code
{
"command":"run",
"utilCmdArgs":"-c 'tmsh modify ltm profile client-ssl {{f5clientsslname}} options { dont-insert-empty-fragments }'"
}
Hope this helps a bit.
- xuwenSep 07, 2023Cumulonimbus
change string format to a list can work well
Re: Edit SSL Profile fails with "apiError":2621440... - DevCentral (f5.com)
- seamlessfireworkSep 07, 2023Cirrus
That's the solution. Thanks!
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