OpenSSL 生成自签名证书1.安装OpenSSL
下载openssl.exe适用于windows的openssl安装程序
使用scoop直接安装scoop install openssl
2.新建openssl.cnf文件[ req ]default_bits = 2048distinguished_name = req_distinguished_namex509_extensions = v3_reqprompt = no[ req_distinguished_name ]C = CNCN = localhost[ v3_req ]keyUsage = nonRepudiation, digitalSignature, keyEncipherment, dataEnciphermentextendedKeyUsage = serverAuthsubjectAltName = @alt_names[ alt_names ]DNS.1 = localhostDNS.2 = 127.0.0.1
3.新建文件cert放证书,在此目录下 ...

