自签名
自签名
编译安装需的话需要加--with-http_ssl_module模块
自签名CA证书
openssl req -newkey rsa:4096 -nodes -sha256 -keyout ca.key -x509 -days 365 -out ca.crt
Country Name (2 letter code) [AU]:CN #国家代码
State or Province Name (full name) [Some-State]:GuangDong #省份
Locality Name (eg, city) []:ShenZhen #城市名称
Organization Name (eg, company) [Internet Widgits Pty Ltd]:wuyan #公司名称
Organizational Unit Name (eg, section) []:IT #部门名称
Common Name (e.g. server FQDN or YOUR name) []:wuyanaa.com #定义的域名名称
Email Address []: #邮箱
自制key和csr文件
openssl req -newkey rsa:4096 -nodes -sha256 -keyout www.wuyan.org.key -out www.wuyan.org.csr
Country Name (2 letter code) [XX]:CN # 国家
State or Province Name (full name) []:GuangDong # 地区或省份
Locality Name (eg, city) [Default City]:ShenZhen # 城市
Organization Name (eg, company) [Default Compa