Giter VIP home page Giter VIP logo

Comments (1)

LemonLzy avatar LemonLzy commented on August 20, 2024

@SaltNego

基础概念介绍

如果需要访问双向认证的网站,那么本地肯定也是需要装对应的证书的。

举个例子:如果百度是个双向认证的网站,那么你需要在本地安装证书后才可以访问到百度。所以上述文章说的就是使用requests请求这种网站时,也需要带上客户端证书。

证书哪里来

由于这是我在上家公司所写,后面就再也没有接触过相关的知识了。我目前的理解是:服务端证书由CA机构签发,客户端证书由服务端证书生成。参考:How to generate keys for Mutual TLS Authentication

不保证准确 T_T,太久没接触相关知识了

举例:部署一个HTTPS的网站或者博客,是需要申请服务端证书的,这个证书是由CA机构签的。对于我的blog而言,是在腾讯云申请,由腾讯云帮我向CA机构申请并签发的。

关于单向认证和双向认证可以参考:什么是SSL双向认证,与单向认证证书有什么区别?

from lbroker.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.