Let's Encrypt 生成的证书,Chrome强行提示不安全。
补充一 ===================================
您的连接不是私密连接
攻击者可能会试图从ss.johnguan.cn窃取您的信息(例如:密码、通讯内容或信用卡信息)。
NET::ERR_CERT_AUTHORITY_INVALID
此服务器无法证明其所在网域是 ss.johnguan.cn;您计算机的操作系统不信任服务器的安全证书。出现此问题的原因可能是配置有误,或是有攻击者拦截您的连接。了解详情。
补充二 ==========================================
微软Edge浏览器也是提示不安全
补充三 ==========================================
网站 conf
server {
listen 80;
listen 443 ssl http2;
ssl_certificate /usr/local/nginx/conf/ssl/ss.johnguan.cn.crt;
ssl_certificate_key /usr/local/nginx/conf/ssl/ss.johnguan.cn.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
ssl_prefer_server_ciphers on;
ssl_session_timeout 10m;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_buffer_size 1400;
add_header Strict-Transport-Security max-age=15768000;
ssl_stapling on;
ssl_stapling_verify on;
server_name ss.johnguan.cn;
access_log /data/wwwlogs/ss.johnguan.cn_nginx.log combined;
index index.html index.htm index.php;
#include /usr/local/nginx/conf/rewrite/none.conf;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
root /data/wwwroot/ss.johnguan.cn/ss-panel/public;
if ($ssl_protocol = "") { return 301 https://$server_name$request_uri; }
#error_page 404 = /404.html;
#error_page 502 = /502.html;
location ~ [^/]\.php(/|$) {
#fastcgi_pass remote_php_ip:9000;
fastcgi_pass unix:/dev/shm/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {
expires 30d;
access_log off;
}
location ~ .*\.(js|css)?$ {
expires 7d;
access_log off;
}
location ~ /\.ht {
deny all;
}
}
补充一 ===================================
您的连接不是私密连接
攻击者可能会试图从ss.johnguan.cn窃取您的信息(例如:密码、通讯内容或信用卡信息)。
NET::ERR_CERT_AUTHORITY_INVALID
此服务器无法证明其所在网域是 ss.johnguan.cn;您计算机的操作系统不信任服务器的安全证书。出现此问题的原因可能是配置有误,或是有攻击者拦截您的连接。了解详情。
补充二 ==========================================
微软Edge浏览器也是提示不安全
补充三 ==========================================
网站 conf
server {
listen 80;
listen 443 ssl http2;
ssl_certificate /usr/local/nginx/conf/ssl/ss.johnguan.cn.crt;
ssl_certificate_key /usr/local/nginx/conf/ssl/ss.johnguan.cn.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
ssl_prefer_server_ciphers on;
ssl_session_timeout 10m;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_buffer_size 1400;
add_header Strict-Transport-Security max-age=15768000;
ssl_stapling on;
ssl_stapling_verify on;
server_name ss.johnguan.cn;
access_log /data/wwwlogs/ss.johnguan.cn_nginx.log combined;
index index.html index.htm index.php;
#include /usr/local/nginx/conf/rewrite/none.conf;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
root /data/wwwroot/ss.johnguan.cn/ss-panel/public;
if ($ssl_protocol = "") { return 301 https://$server_name$request_uri; }
#error_page 404 = /404.html;
#error_page 502 = /502.html;
location ~ [^/]\.php(/|$) {
#fastcgi_pass remote_php_ip:9000;
fastcgi_pass unix:/dev/shm/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {
expires 30d;
access_log off;
}
location ~ .*\.(js|css)?$ {
expires 7d;
access_log off;
}
location ~ /\.ht {
deny all;
}
}
8 Answers
Y大不是告诉你了么,环境添加let's的组件,然后vhost 其他全n ,Let’s Encrypt选择y,
要不就,有个可以在线申请Let’s Encrypt证书的网站,申请后把证书文件替换你现在的也行,而且在线申请的可以选择ecc证书哦
要不就,有个可以在线申请Let’s Encrypt证书的网站,申请后把证书文件替换你现在的也行,而且在线申请的可以选择ecc证书哦
Please login or Register to submit your answer