大部分SSL证书,只能使用域名进行申请。
没用使用域名时,vue前端项目报错:net::ERR_CERT_COMMON_NAME_INVALID,go后端项目报错:
2022/10/19 16:33:34 http: TLS handshake error from 111.204.179.70:59011: remote error: tls: unknown certificate
2022/10/19 16:34:47 http: TLS handshake error from 111.204.179.70:59281: tls: first record does not look like a TLS handshake
2022/10/19 16:35:26 http: TLS handshake error from 111.204.179.70:59516: remote error: tls: unknown certificate
2022/10/19 16:43:10 http: TLS handshake error from 111.204.179.70:61535: remote error: tls: unknown certificate