mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-06-21 10:48:21 +00:00
Updated HTTPS相关教程 (markdown)
parent
4a00d7dae0
commit
7c16b33cec
13
HTTPS相关教程.md
13
HTTPS相关教程.md
@ -9,18 +9,23 @@ AnyProxy解析HTTPS的原理是自制根证书(rootCA),待终端信任这
|
||||
* 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,信任它
|
||||
#### Step 2 - 生成RootCA,打开,信任它
|
||||
|
||||
* 生成RootCA
|
||||
* 命令行执行 ``sudo anyproxy --root``
|
||||
* 信任RootCA
|
||||
* 方法一: 执行完成之后,会打开证书的安装路径,打开并信任 rootCA.crt 文件
|
||||
* 找到RootCA文件
|
||||
* 方法一: 执行完成之后,会打开证书的安装路径,即可看到 rootCA.crt 文件
|
||||
* 方法二: 启动anyproxy,浏览器打开 [http://localhost:8002/fetchCrtFile](http://localhost:8002/fetchCrtFile) ,也能获取rootCA.crt文件
|
||||
* 方法三:启动anyproxy,[http://localhost:8002/qr_root](http://localhost:8002/qr_root) 可以获取证书路径的二维码,移动端安装时会比较便捷
|
||||
* 信任流程
|
||||
* 打开上述rootCA.crt文件
|
||||
* 根据操作系统提示,信任rootCA
|
||||
|
||||
* Windows
|
||||
|
||||

|
||||
|
||||
* Mac
|
||||
|
||||

|
||||
* 其他
|
||||
* 如果在访问时出现UNAUTHORIZED_CERTIFICATE一类的安全警告,请重新检查证书的安装情况
|
||||
|
Loading…
x
Reference in New Issue
Block a user