关于添加symantec证书问题,证书文件已上传,但是重启后出现没有该文件或目录,该如何修改?能否重新添加ssl?
Stoping LNMP...Stoping nginx... nginx: BIO_new_file("/etc/214293763120127.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/214293763120127.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
failed. Use force-quit
Shutting down MySQL. SUCCESS!
是证书路径出错了,还有就是在/usr/local/nginx/conf/域名.conf做了如下配置
ssl on;ssl_certificate /usr/local/etc/证书.pem;
ssl_certificate_key /usr/local/etc/证书.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5";
ssl_session_cache builtin:1000 shared:SSL:10m;
# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048
ssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem; 上面提示的目录和你设置的目录不一样
确定你所有https站点的证书都正确并存在
页:
[1]