verify certificate: x509: certificate relies on legacy Common Name field, use SANs instead
问题描述使用自签名的ssl证书遇到如下问题:tls:failedtoverifycertificate:x509:certificatereliesonlegacyCommonNamefield,useSANsinstead问题原因出现错误tls:failedtoverifycertificate:x509:certificatereliesonlegacyCommonNamefield,useS