手機獲取證書之前,先在電腦安裝證書,需要信任。 help-->ssl-proxying-->Install Charles Root Certificate
help-->ssl-proxying-->Install Charles Root Certificate on Mobile Device or Remote Browser...
手機訪問:chls.pro/ssl 若出現如下錯誤: Charles Error Report Name lookup failed for remote host Charles failed to resolve the name of the remote host into an IP address. Check that the URL is correct. The actual exception reported was: java.net.UnknownHostException: http: unknown error Charles Proxy, http://www.charlesproxy.com/ 需要在電腦上加上DNS:114.114.114.114 然后訪問,下載證書,證書是pem格式,需要把后綴改成crt。