文档Adobe PassAdobe Pass Authentication

(旧版)使用Charles代理

最近更新: 2025年2月3日
  • 主题:
  • Authentication
注意
此页面上的内容仅供参考。 使用此API需要来自Adobe的当前许可证。 不允许未经授权使用。
重要
确保随时了解汇总在产品公告页中的最新Adobe Pass身份验证产品公告和停用时间表。

Charles: http://charlesproxy.com

下载、安装并开始使用Charles代理

  • 下载 - http://www.charlesproxy.com/download/
  • 安装 - http://www.charlesproxy.com/documentation/installation/
  • 快速入门 - http://www.charlesproxy.com/documentation/getting-started/

“结构”与“顺序”选项卡

查看流量的方式有两种:

  1. 结构 — 请求按主机分组
  2. 序列 — 请求按其调用顺序列出

SSL和证书

启用SSL代理\[ *Proxy -\> Proxy Settings... -\> SSL* \]

选中“启用SSL代理”复选框并添加所有HTTPS位置。

  • SSL代理 — http://www.charlesproxy.com/documentation/proxying/ssl-proxying/
  • SSL证书 — http://www.charlesproxy.com/documentation/using-charles/ssl-certificates/
  • 从移动设备进行SSL代理 — 请参阅下文。

忽略/排除主机

如果输出变得过于杂乱,您可以选择忽略或排除位置。您可以通过执行以下任一操作来忽略或排除位置:

  • 右键单击要忽略的请求,然后选择“忽略”
  • 手动添加要从\[ *Proxy -\> Recording Settings... -\> Exclude* \]排除的位置

DNS欺骗

\[ *Tools -\> DNS Spoofing...* \]

当尝试将请求重定向到其他IP时,DNS欺骗会非常有用,尤其是在使用移动设备时:

http://www.charlesproxy.com/documentation/tools/dns-spoofing/

映射远程

\[ *Tools -\> Map Remote...* \]

使用映射远程,您可以将“传入”请求重定向到其他端点。 此功能最常见的使用案例是“映射”AccessEnabler.swf到AccessEnablerDebug.swf:

http://www.charlesproxy.com/documentation/tools/map-remote/

反向代理

http://www.charlesproxy.com/documentation/proxying/reverse-proxy/

移动设备

在iOS设备(iPhone / iPad)上使用Charles

来自iPhone的SSL连接

从您的iOS设备浏览到http://charlesproxy.com/charles.crt。 这将启动证书安装对话框:

单击\[ *Install*... *Install*... *Done* \]以完成证书安装。

http://www.charlesproxy.com/documentation/faqs/ssl-connections-from-within-iphone-applications/

使用iOS设备中的Charles

在iOS设备上,选择\[ *Settings* -\> *Wi-FI* -\> (*YOUR\_WIFI\_NETWORK)* \]。 单击网络旁边的蓝色小箭头,然后向下转到HTTP代理并选择“手动”:

如果您现在在iOS设备上打开Safari并尝试打开网页,则运行Charles的计算机上应该出现以下弹出窗口:

单击“允许”以允许设备使用Charles代理其所有 请求。

http://www.charlesproxy.com/documentation/faqs/using-charles-from-an-iphone/

iOS — 信任任何证书

http://stackoverflow.com/questions/933331/how-to-use-nsurlconnection-to-connect-with-ssl-for-an-untrusted-cert

iOS身份验证错误 — 找不到adobepass.ios.app

https://tve.zendesk.com/entries/22135907-ios-authentication-error-adobepass-ios-app-cannot-be-found

将Charles用于Android

http://www.charlesproxy.com/documentation/configuration/browser-and-system-configuration

从您的Android设备浏览到Charles代理。

recommendation-more-help
3f5e655c-af63-48cc-9769-2b6803cc5f4b