Bug ID 748940: iControl REST cert creation not working for non-Common folder

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
13.1.1, 13.1.1.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 13.1.3, 13.1.3.1, 13.1.3.2, 13.1.3.3

Fixed In:
15.0.0, 13.1.3.4

Opened: Nov 06, 2018

Severity: 4-Minor

Symptoms

Certificate creation under a non-Common folder using iControl REST does not work. For example, the user sends the iControl REST message and gets the error message return: curl -sk -u admin:admin https://10.192.84.16/mgmt/tm/sys/crypto/cert/ -H 'Content-Type: application/json' -X POST -d '{"name":"/my_dir/mmmmm", "common-name":"cn","key":"/my_dir/mmmmm"}' | ~/bin/json-parser-linux64 { "code": 400, "message": "Unable to extract key information from \"/config/filestore/files_d/my_dir_d/certificate_key_d/:my_dir:mmmmm_166121_1\"to \"/var/system/tmp/tmsh/87bOS1/ssl.key//my_dir/mmmmm\"", "errorStack": [], "apiError": 26214401 }

Impact

Unable to create an SSL certificate in non-Common folder.

Conditions

The user attempts to create an SSL certificate under a non-Common folder using iControl REST.

Workaround

Create the SSL certificate using tmsh.

Fix Information

With the fix, certificate can be created under non-Common folder using iControl REST.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips