添加集群失败,原因是 " 由于格式不正确,无法读取证书 " 。
适用于
Active IQ Unified Manager 9.8%
问题
- 添加集群失败,方法是 "
Failed to read the certificate due to incorrect formatting.
" server_acq.log
显示以下异常。
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)
..
/etc/log/mroot/audit.log
目标集群的显示security-certificate-install
由 Unified 执行的 ZAPI 管理器因 "" 而失败Failed to read the certificate due to incorrect formatting.
[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