Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
关于ssl
kangness2005
春哥 你好,有这样的一个技术问题。是这样样的,我想用nginx做https的代理,但是每个用户有不同的证书,我想在把当请求来的时候进行证书替换,但是问题时我不能确定是哪个用户来,替换哪个证书?
仔细阅读nginx的源代码,看到src/http/ngx_http_request.c 中的ngx_http_ssl_handshake函数,只是读取ssl链接的第一个字节,仅仅判断请求ssl来的类型,后面的内容不知道在哪里判段。求教