Skip to main content
NetApp Knowledge Base

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

Views:
391
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

 

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support