Article ID: 130676, created on Apr 19, 2017, last review on Apr 19, 2017

  • Applies to:
  • Operations Automation 7.0

Symptoms

A CA certificate with 2 or more certificates included in the CA certificate chain is being imported into OA using the pem.importCertificate API method.

After the method is executed, there are duplicate records in the apache_certificates OA database table in case 2 or more certificates are passed as the ca_cert parameter value.

Cause

The certificates that are included in the CA certificate chain and passed within the ca_cert field are not separated or separated with a single line break (the \012 character sequence).

Resolution

Certificates must be separated with an empty line - two line breaks (the \012\012 sequence) between CA certificates.

Documentation bug POA-111010: "pem.importCertificate API guide - add info about several CA certificates (certificates chain)" was reported to the OA maintenance team regarding this issue.

Search Words

importCertificate

apache_certificates

API

pem.importcertificate

CA certificate

certificate chain

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 0871c0b47b3b86ae3b1af4c2942cd0ce 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF