Nginx 配置自签名的 SSL 证书
配置自签名的 SSL 证书很简单,做个记录。 生成证书,一行命令就行: mkdir certs && cd certs openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfsigned.key -out selfsigned.crt # Output Country Name (2 letter code) [AU]:CN State or Province Name (full name) [Some-State]:GD Locality Name (eg, city) []:GZ Organization Name (eg, ...