Bug ID 563760: iControl call certificate_add_pem_to_bundle fails with the message that the certificate file already exists in the partition

Last Modified: Sep 13, 2023

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

Known Affected Versions:
12.0.0, 12.0.0 HF1, 12.1.0 HF1, 12.0.0 HF2, 12.1.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Fixed In:
12.1.0

Opened: Dec 18, 2015

Severity: 3-Major

Symptoms

When certificate_add_pem_to_bundle() is called to modify a certificate bundle to add certificates to it, it fails and ltm logs a message that the certificate file already exists in the partition. The log signature looks as follows: err mcpd[6590]: 01020066:3: The requested Certificate File (/Common/ca1.crt) already exists in partition Common. The soap faultstring signature looks as follows: <faultstring xsi:type="xsd:string">Exception caught in Management::urn:iControl:Management/KeyCertificate::certificate_add_pem_to_bundle() Exception: Common::OperationFailed primary_error_code : 16908390 (0x01020066) secondary_error_code : 0 error_string : Unknown error 16908390</faultstring>

Impact

Unable to add a certificate

Conditions

This occurs when invoking certificate_add_pem_to_bundle using iControl.

Workaround

None

Fix Information

The issue is fixed so that certificate_add_pem_to_bundle() correctly adds the given certificates to the bundle.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips