跳转到主内容

ONTAP AutoSupport 消息使用 HTTPS 失败:SSL 证书问题

Views:
230
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

  • ONTAP 9
  •  AutoSupport 消息的 HTTPS 传输协议

问题描述

  • AutoSupport 消息使用 HTTPS 作为传输失败:

::> system node autosupport history show -node node_name -seq-num <seq_num> -instance
                 Node: node_name
     AutoSupport Sequence Number: seq_num
   Destination for This AutoSupport: https
            Trigger Event: callhome.management.log
         Time of Last Update: 1/12/2021 02:58:59
          Status of Delivery: transmission-failed
          Delivery Attempts: 15
         AutoSupport Subject: MANAGEMENT_LOG
             Delivery URI: 10.106.130.129:8080(support.netapp.com/put/AsupPut)
              Last Error: SSL certificate problem: unable to get local issuer certificate

::> autosupport check show-details -node node_name
      Node: node_name
    Category: http-https
   Component: http-put-destination
     Status: failed
     Detail: HTTP/S PUT connectivity check failed for destination:
           https://support.netapp.com/put/AsupPut/ via proxy -
           123.123.123.123:8080. Error: Peer certificate can not be
           authenticated with given Certificate Authority
           certificates.
 Corrective Action: Certificate issue. Please make sure you have the correct
           Root Certificate installed
   Component: http-post-destination
     Status: failed
     Detail: HTTP/S POST connectivity check failed for destination:
           https://support.netapp.com/asupprod/post/1.0/postAsup
           via proxy - 123.123.123.123:8080. Error: Peer certificate
           can not be authenticated with given Certificate
           Authority certificates.
 Corrective Action: Certificate issue. Please make sure you have the correct
           Root Certificate installed

  • 类似错误消息: 
    • message: SSL certificate problem: self signed certificate in certificate chain
    • Error: Peer certificate 无法使用给定的进行身份验证 Certificate Authority certificates.
    • Error: asup.post.drop: AutoSupport message (HA Group Notification from node01 (USER_TRIGGERED (TEST:Test)) NOTICE) was not posted to NetApp. The system will drop the message.
  • 在  /mroot/etc/log/mlog/notifyd.log中发现的其他错误消息:

::> system node run -node <node_name> -command rdfile /etc/log/mlog/notifyd.log

    发生原因

    • 位于 support.netapp.com 与存储控制器之间的通信路径中间的防火墙或透明代理等网络设备正在拦截 HTTPS 数据包
    • 由防火墙或透明代理注入的证书似乎是由 support.netapp.com 提供的,但该证书未安装在 ONTAP 的信任存储中。
    • support.netApp.com 需要以下默认签名证书(在信任存储包中预先存在):

    ::*> security certificate show -vserver <cluster_svm> -common-name AAACertificateServices
    Vserver    Serial Number   Common Name                            Type
    ---------- --------------- -------------------------------------- ------------
    cluster_svm
               01              AAACertificateServices                 server-ca
        Certificate Authority: AAA Certificate Services
              Expiration Date: Sun Dec 31 18:59:59 2028

    解决方案

    1. 让您的网络/安全团队收集根 CA 证书并使用 security certificate install 将其安装在 ONTAP 中,或者为集群中的每个节点修改代理并设置例外,以禁止代理插入其自己的自签名证书。  例如,SSL 解密插入具有通用名称 palo.tcw.int 的证书,并绕过 support.netapp.com/cn 进行 SSL 解密将阻止 SSL 解密插入其证书。
    2. 添加 support.netapp.com 到代理白名单。
    3. 如果无法修改代理,则可以禁用证书验证作为临时解决方法

    ::> system node autosupport modify -node <node_name> -validate-digital-certificate false

    注意: 这将配置集群中的所有控制器不验证其从 support.netapp.com 接收的服务器证书。这是一个临时修复程序,用于恢复 AutoSupport 日志的传送,直到问题得到完全解决。   

    追加信息

    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.