Bug ID 644416: iControl REST receives error code '500' and 'Internal error occurred' in the return for the list (GET) for /mgmt/tm/sys/crypto/cert

Last Modified: Oct 06, 2020

Bug Tracker

Affected Product:  See more info
BIG-IP TMOS(all modules)

Known Affected Versions:
13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3, 13.0.1

Fixed In:
13.1.0

Opened: Feb 10, 2017
Severity: 3-Major
Related AskF5 Article:
K29545416

Symptoms

BIG-IP returns error code '500' and 'Internal error occurred' messages followed by the certificate's properties when you attempt to list (GET) the certificate's properties via sys/crypto/cert using iControl REST, for example, using the following command: 'curl -sk -u admin:admin https://10.10.10.10/mgmt/tm/sys/crypto/cert/dummy.crt | ~/bin/jq-linux64-icontrol-rest'.

Impact

The certificate's properties are printed after error messages and cannot be properly parsed by JSON parser.

Conditions

The issue is seen when both of the following conditions are met: 1. The certificate is not self-signed and has an OCSP validator assigned to it. 2. /mgmt/tm/sys/crypto/cert is used to obtain the certificate's content.

Workaround

This is a cosmetic issue, because the certificate's properties are still printed.

Fix Information

The certificate's properties are now properly output via iControl REST.

Behavior Change