{"id":32,"date":"2021-11-22T17:51:42","date_gmt":"2021-11-22T09:51:42","guid":{"rendered":"http:\/\/pkant.com\/?p=32"},"modified":"2021-11-23T13:40:09","modified_gmt":"2021-11-23T05:40:09","slug":"%e5%ae%89%e5%8d%937-0-%e5%ae%89%e8%a3%85ca%e8%af%81%e4%b9%a6-%e6%8a%93%e5%8c%85https%e6%95%b0%e6%8d%ae-%ef%bc%88%e5%a4%9c%e7%a5%9e%e6%a8%a1%e6%8b%9f%e5%99%a8charles%ef%bc%89","status":"publish","type":"post","link":"https:\/\/jwever.cn\/index.php\/2021\/11\/22\/%e5%ae%89%e5%8d%937-0-%e5%ae%89%e8%a3%85ca%e8%af%81%e4%b9%a6-%e6%8a%93%e5%8c%85https%e6%95%b0%e6%8d%ae-%ef%bc%88%e5%a4%9c%e7%a5%9e%e6%a8%a1%e6%8b%9f%e5%99%a8charles%ef%bc%89\/","title":{"rendered":"\u5b89\u53537.0+ \u5b89\u88c5ca\u8bc1\u4e66 \u6293\u5305https\u6570\u636e \uff08\u591c\u795e\u6a21\u62df\u5668+Charles\uff09"},"content":{"rendered":"<h1>Charles \u5f00\u542f\u4ee3\u7406 \u6a21\u62df\u5668\u914d\u7f6e\u624b\u673a\u4ee3\u7406<\/h1>\n<ol>\n<li>Charles\u6253\u5f00 <code>Proxy<\/code> -&gt; <code>SSL Proxying Settings<\/code>,\u52fe\u9009<code>Enable SSL Proxying<\/code>,<br \/>\nadd <code>*:*<\/code>,\u70b9\u51fbOK<\/li>\n<li>\u6253\u5f00 <code>Proxy<\/code> -&gt; <code>Proxying Settings<\/code>\uff0c\u8bbe\u7f6e<code>HTTP Proxy<\/code>,\u8bb0\u4e0bport\u5907\u7528<\/li>\n<li>\u6a21\u62df\u5668\u6253\u5f00\u8bbe\u7f6e WLAN \u627e\u5230WiredSSID\uff08\u6a21\u62df\u5668\u7f51\u7edc\uff0c\u624b\u673a\u4e0a\u627e\u5230\u8fde\u63a5\u7684wifi\uff09\u4fee\u6539\u4ee3\u7406\u4e3a\u624b\u52a8\uff0c\u4e3b\u673a\u540d\u4e3a\u7535\u8111IP\uff0c\u7aef\u53e3\u4e3a 2 \u8bbe\u7f6e\u7684\u7aef\u53e3\u4fdd\u5b58<\/li>\n<li>charles \u82e5\u6709\u5f39\u7a97\u70b9\u51fb<code>allow<\/code>,\u5230\u8fd9\u91cc\u5df2\u7ecf\u53ef\u4ee5\u6293\u5305http\u4e86<\/li>\n<li>\u6a21\u62df\u5668\u6d4f\u89c8\u5668\u6253\u5f00 <a href=\"http:\/\/chls.pro\/ssl\">http:\/\/chls.pro\/ssl<\/a> \u4e0b\u8f7dca\u8bc1\u4e66\u5e76\u5b89\u88c5\uff0c\u53d1\u73b0\u5e76\u4e0d\u80fd\u6293\u5305https\u6570\u636e\uff0ccharles \u6253\u5f00<code>Help<\/code> -&gt; <code>SSL Proxying<\/code> -&gt; <code>Save Charles Root Certificate<\/code> \u4fdd\u5b58 .pem \u8bc1\u4e66\u5230\u7535\u8111\u4e0a<\/li>\n<li>\u547d\u4ee4\u884c\u6267\u884c<\/li>\n<\/ol>\n<pre class=\"prettyprint linenums\" ><code>C:\\Users\\Documents&gt;openssl x509 -inform PEM -subject_hash_old -in charles.pem        \/\/ charles.pem \u4e3a\u4fdd\u5b58\u7684pem\u8bc1\u4e66\n44b35349\n-----BEGIN CERTIFICATE-----\nMIIFRjCCBC6gAwIBAgIGAXwb+6mGMA0GCSqGSIb3DQEBCwUAMIGnM\n ...................................................................\nNNRzc1NCkxJTAjBgNVBAsMHGh0dHBzOi8vY2hhcmxlc3Byb3h5LmNvbS9z\nyoNfB6sWXLTvaA==\n-----END CERTIFICATE-----\n\nC:\\Users\\Documents&gt;ren charles.pem 44b35349.0        \/\/\u4fee\u6539\u8bc1\u4e66\u540d\n\nC:\\Users\\Documents&gt;<\/code><\/pre>\n<ul>\n<li>\u4f7f\u7528adb\u5de5\u5177 \u5c06\u6539\u540d\u540e\u7684\u8bc1\u4e66\u63d0\u4ea4\u5230\u6a21\u62df\u5668<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code>adb remount     \/\/ \u4fee\u6539\u7cfb\u7edf\u6743\u9650\nadb push 44b35349.0 \/system\/etc\/security\/cacerts\/   \/\/\u63d0\u4ea4\u6587\u4ef6<\/code><\/pre>\n<h3>\u5b8c\u6210\u540e\u5728\u6a21\u62df\u5668<code>\u8bbe\u7f6e<\/code> -&gt; <code>\u5b89\u5168<\/code> -&gt; <code>\u4fe1\u4efb\u7684\u51ed\u636e<\/code>\u4e2d\u53ef\u4ee5\u770b\u5230charles\u7684\u8bc1\u4e66\uff0c\u73b0\u5728\u53ef\u4ee5\u6293\u5305https\u6570\u636e\u4e86<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Charles \u5f00\u542f\u4ee3\u7406 \u6a21\u62df\u5668\u914d\u7f6e\u624b\u673a\u4ee3\u7406 Charles\u6253\u5f00 Proxy -&gt; SSL Proxyi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[7,9,8],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-qianduan","tag-charles","tag-https","tag-8"],"_links":{"self":[{"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":4,"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/posts\/32\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jwever.cn\/index.php\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}