chrome https 信任自签名证书
来源:互联网 发布:兆芯cpu运行windows 编辑:程序博客网 时间:2024/05/22 00:41
If you're using Linux, you can also follow this official wiki pages:
- Configuring SSL certificates on Linux.
- NSS Shared DB And LINUX
- NSS Shared DB Howto
Basically:
- click the lock icon with an X,
- choose Certificate Information
- go to Details tab
- Click on Export... (save as a file)
Now, the following command will add the certificate (where YOUR_FILE is your exported file):
certutil -d sql:$HOME/.pki/nssdb -A -t "P,," -n YOUR_FILE -i YOUR_FILE
To list all your certificates, run the following command:
certutil -d sql:$HOME/.pki/nssdb -L
If it still doesn't work, you could be affected by this bug: Issue 55050: Ubuntu SSL error 8179
P.S. Please also make sure that you have libnss3-tools
, before you can use above commands.
If you don't have, please install it by:
sudo apt-get install libnss3-tools # on Ubuntusudo yum install nss-tools # on Fedora, Red Hat, etc.
As a bonus, you can use the following handy scripts:
$ cat add_cert.shcertutil -d sql:$HOME/.pki/nssdb -A -t "P,," -n $1 -i $1$ cat list_cert.shcertutil -d sql:$HOME/.pki/nssdb -L # add '-h all' to see all built-in certs$ cat download_cert.shecho QUIT | openssl s_client -connect $1:443 | sed -ne '/BEGIN CERT/,/END CERT/p'
Usage:
add_cert.sh [FILE]list_cert.shdownload_cert.sh [DOMAIN]
Troubleshooting
Run Chrome with
--auto-ssl-client-auth
parametergoogle-chrome --auto-ssl-client-auth
getting-chrome-to-accept-self-signed-localhost-certificate
0 0
- chrome https 信任自签名证书
- Volley 信任自签名的 Https 证书
- android https遇到自签名证书/信任证书
- iOS开发信任SSL证书和自签名证书实现HTTPS
- iOS开发HTTPS实现之信任SSL证书和自签名证书
- iOS开发HTTPS实现之信任SSL证书和自签名证书
- iOS开发HTTPS实现之信任SSL证书和自签名证书
- 轻松把玩HttpClient之配置ssl,采用设置信任自签名证书实现https
- 轻松把玩HttpClient之配置ssl,采用设置信任自签名证书实现https
- HttpClient之配置ssl,采用设置信任自签名证书实现https
- iOS: HTTPS 与自签名证书
- iOS: HTTPS 与自签名证书
- iOS: HTTPS 与自签名证书
- iOS: HTTPS 与自签名证书
- iOS: HTTPS 与自签名证书
- 客户端认证自签名HTTPS证书
- tomcat配置https自签名证书
- 自签名证书实现HTTPS请求
- x265 (HEVC编码器,基于x264) 介绍
- cocos2dx使用lua和protobuf
- nginx配置文件说明
- XenAPI (C#) Tips
- Oracle基础知识
- chrome https 信任自签名证书
- [LeetCode] Subsets
- Java基础(极客)——05、Java if判断语句的用法
- 编程之美---发帖“水王”扩展问题
- ABAP基础内容
- 海量数据处理---分而治之
- Redis的主从复制与集群配置实践
- 犹太人能够非常富裕的成功秘密
- 最简单的视频编码器:编译(libx264,libx265,libvpx)