Node.js x509.checkHost(name[, options]) 方法 在Node.js 的 tls 模块中,x509.checkHost() 方法用于检测证书中的主机名是否匹配给定的主机名。这个方法需要传入要检测的主机名和一个可选的选项对象。 语法 x509.checkHost(name[, options]) 参数: ...
Configuration process fails to detect X509_check_host function even on systems that have it defined. Steps to reproduce Ensure we have proper verison of OpenSSL using pkg-config --modversion libssl (should return 1.1.0 or 1.0.2). Clone the repository. Run ./autogen.sh. Run ./configure.sh....