Forum Discussion
Jun 21, 2017
To anyone reading this in the same situation. Might seem obvious (I missed it though), but the easiest way is to reverse engineer the objects by retrieving current configuration.
Example:
curl -sku user:password https://localhost/mgmt/tm/ltm/profile/client-ssl/ | json-format
...Previous config omitted
"certKeyChain": [
{
"name": "default",
"cert": "/Common/default.crt",
"certReference": {
"link": "https://localhost/mgmt/tm/sys/file/ssl-cert/~Common~default.crt?ver\u003d12.1.2"
},
"key": "/Common/default.key",
"keyReference": {
"link": "https://localhost/mgmt/tm/sys/file/ssl-key/~Common~default.key?ver\u003d12.1.2"
}
}
Remove the reference properties and you are good to go!
/Patrik