mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
Updated HTTPS相关教程 (markdown)
@@ -1,12 +1,12 @@
|
||||
|
||||
AnyProxy解析HTTPS的原理是自制根证书(rootCA),待终端信任这份证书之后,再用它签发各个URL的二级证书,用这个二级证书来重新对各个页面进行编解码。这种方案和HTTPS的“中间人攻击”(MITM)是一致的。
|
||||
AnyProxy解析HTTPS的原理是自制根证书(rootCA),待终端信任这份证书之后,再用它签发各个域名的二级证书,此时二级证书可以重新对各个页面进行解析。这种方案和HTTPS的“中间人攻击”(MITM)是一致的。
|
||||
|
||||
这份中文文档简略概述了用AnyProxy做HTTPS处理的相关流程。更完整的内容可以读这里的英文文档:[https://github.com/alibaba/anyproxy/wiki/How-to-config-https-proxy](https://github.com/alibaba/anyproxy/wiki/How-to-config-https-proxy)
|
||||
|
||||
#### Step 1 - 安装openSSL
|
||||
|
||||
* OSX系统自带了openSSL,可以略过这步
|
||||
* openSSL的安装:[http://wiki.openssl.org/index.php/Compilation_and_Installation](http://wiki.openssl.org/index.php/Compilation_and_Installation)
|
||||
* Windows用户可以参考openSSL的安装教程:[http://wiki.openssl.org/index.php/Compilation_and_Installation](http://wiki.openssl.org/index.php/Compilation_and_Installation) ,或者直接使用二进制版本:[https://www.openssl.org/related/binaries.html](https://www.openssl.org/related/binaries.html)
|
||||
* 安装完成后可以通过``openssl version -a ``看到安装情况。
|
||||
|
||||
#### Step 2 - 生成RootCA,信任它
|
||||
|
||||
Reference in New Issue
Block a user