免费SSL生成要么3个月,要么过程复杂,有没有能长期使用的自签名SSL证书呢?但是有的!
整理了几个网上现有的、常用的自签名办法:
方法一:
https://myssl.com/create_test_cert.html
方法二:
https://github.com/FiloSottile/mkcert
方法三:
https://www.openssl.org/docs/manmaster/man1/openssl-req.html
openssl req -new -x509 -nodes -days 3650 -keyout baidu.com.key -out baidu.com.crt
Common Name自己填,没有中间证书,直接安装
方法四:
https://github.com/jsha/minica