From bbf795642450289fad32fe5d038d851fd7ed5e7a Mon Sep 17 00:00:00 2001 From: Otto Mao Date: Mon, 30 Mar 2015 11:39:21 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20HTTPS=E7=9B=B8=E5=85=B3=E6=95=99?= =?UTF-8?q?=E7=A8=8B=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HTTPS相关教程.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HTTPS相关教程.md b/HTTPS相关教程.md index 24537b4..20c0793 100644 --- a/HTTPS相关教程.md +++ b/HTTPS相关教程.md @@ -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,信任它