windows中如何让chrome信任自签名证书?
发布日期:2021-05-10 12:00:59 浏览次数:11 分类:精选文章

本文共 2550 字,大约阅读时间需要 8 分钟。

������NSS���������������������������HTTPS������

���������������������������NSS������������������������������������������������������������������������������������������NSS������������������������������������������������CA���������������������������HTTPS������������������ NSS��������������������������������������������������������������������������������� NSS���������������������������������������������������������������������������������������

NSS���������������������������

1.1 NSS���������������������

NSS��������������������������������������������� cert9.db���key4.db ��� pkcs11.txt������������cert9.db ���������SQLite��������������������������������������������������������������������������� NSS���������������������������������������������������������������������NSS������������������������������������������������������������������

1.2 Windows���Linux���������������

  • Windows ��������������������� CryptoAPI������������������������������������������������������������ CERT_SYSTEM_STORE_CURRENT_USER ��� CERT_SYSTEM_STORE_LOCAL_MACHINE���
  • Linux ��������������������� NSS��������������������������� cert9.db ������������ertsin 58���������������cert9.db���������

������������������������������������

2.1 Chrome���Firefox���������������

  • Chrome������Windows���������������������������������������������������������������������������NSS������
  • Firefox���������������Windows���Linux������MacOS������������NSS���������������������

2.2 ���������������������������������

���������������������������������CA������������ OpenSSL������������������

  • ������ OpenSSL ������������������������openssl req -x509 -days 365 -nodes -newkey rsa:2048 -out selfsign.cer -outform DER
  • ��������������������������������������������������������������������� HTTPS���������
  • ������������������������������

    3.1 ������������������������

  • NSS���������

    • ������������������������ certutil -d sql:/path/to/nssdb/pki/securit���els ���������������������
    • ���������������������NSS������������������������������������������������������������
  • Firefox���������

    • ������������������������������.CER���������
    • ������������������������������������������������_OPEN_CA_ROOT������������
  • Chrome���������

    • ������������������������������������������������������������������������������������������
  • ������

    ������ NSS������������������������������������������������������������������������������������������������������CA������������������������������������������������������������������������������������������������������ HTTPS ������������������������������������������������������������������������

    上一篇:openssl服务器证书操作
    下一篇:QT-QTableView的自定model实例

    发表评论

    最新留言

    表示我来过!
    [***.240.166.169]2025年04月01日 12时34分12秒