Skip to main content
NetApp Knowledge Base

Adding cluster fails by "Failed to read the certificate due to incorrect formatting."

Views:
1,585
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

Applies to

Active IQ Unified Manager 9.8

Issue

  • Adding cluster fails by "Failed to read the certificate due to incorrect formatting."
  • The server_acq.log shows the following exception.

ERROR [default task-<TASK_ID>] c.o.s.a.s.AcquisitionFacadeUtil (AcquisitionFacadeUtil.java:171) - failed to register EMS: : com.netapp.oci.netapp.client.interfaces.data.EmsZapiManagerException: Failed to read the certificate due to incorrect formatting. (errno=61102)
    at deployment.mega-app.ear.server-core.jar//com.netapp.oci.netapp.ems.EmsZapiManager.installSecurityCertificate(EmsZapiManager.java:132)
    at deployment.mega-app.ear.server-core.jar//com.onaro.sanscreen.acquisition.sessions.AcquisitionFacadeUtil.registerEms(AcquisitionFacadeUtil.java:155)
    at deployment.mega-app.ear.server-core.jar//com.onaro.sanscreen.server.sessions.AcquisitionFacadeSessionEJBBard.addDS(AcquisitionFacadeSessionEJBBard.java:473)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
..

 

  • The /etc/log/mroot/audit.log of the target cluster shows ZAPI security-certificate-install executed by Unified Manager fails by "Failed to read the certificate due to incorrect formatting."

Example: ​​​​​​​

[kern_audit:info:52196] 8503e80000715de9 :: <CLUSTER_NAME>:ontapi :: <<UNIFIED_MANAGER_IP> :: <CLUSTER_NAME>:admin :: <netapp version='1.0' xmlns='http://www.netapp.com/filer/admin' nmsdk_version='9.5' nmsdk_platform='CentOS Linux release 7.9.2009 x86_64' nmsdk_language='Java'><security-certificate-install><type>server-ca</type><certificate>-----BEGIN CERTIFICATE----- ..
[kern_audit:info:52196] 8503e80000715de9 :: <CLUSTER_NAME>:ontapi :: <UNIFIED_MANAGER_IP> :: <CLUSTER_NAME>:admin :: Failed to read the certificate due to incorrect formatting. :: ONTAPI :: Error

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.