SSL ãªã¯ã¨ã¹ã㯠HTTP ã¹ãããã¡ã§ãã¤ãè¦ããã¨ã¯éããªã
ãCharles Web ProxyãFiddlerãªã©ã®HTTPã¹ãããã¡ã¯HTTPãªã¯ã¨ã¹ãã¯ãã¡ããHTTPSãªã¯ã¨ã¹ããä¸èº«ã¯è¦ããªããªããããªã¯ã¨ã¹ãèªèº«ã¯è¡¨ç¤ºãããã¨æã£ã¦ãããããã§ã¯ãªãã¨ããã¨ãä»æ¥åãã£ãã
HTTPSã§ã¯ãã¯ã©ã¤ã¢ã³ãï¼ãã©ã¦ã¶ï¼ã¨ãµã¼ãã¼ããã³ãã·ã§ã¤ã¯ï¼æå·éµã®äº¤æï¼ããããã¨ã¯æå·ã§éä¿¡ãè¡ããããæå·éµã®äº¤æã¯ãªã¯ã¨ã¹ãæ¯ã«è¡ãããããã§ã¯ãªããè¤æ°ã®ãªã¯ã¨ã¹ãã«æ¸¡ã£ã¦åãæå·éµã使ããããCharles ãFiddlerãªã©ã®ãããã·æ¹å¼ã®HTTPã¹ãããã¡ã¯æå·åãããä¸èº«ãè¦ããã¨ãã§ããªãã®ã§ï¼ãªããã¾ããã§ããããããã§ã¯è©±ã®ç°¡åã®ãã触ããªãï¼ãå¤å´ã ããè¦ã¦HTTPSãªã¯ã¨ã¹ããå¤æããªãã¨ãããªããå¤å´ãã¨ããã®ã¯æå·åãããSSLãã¼ã¿ãéã¶å±¤ãããªãã¡TCPã¨ãããã¨ã«ãªãã
ããã§åé¡ãªã®ã¯ãä¸ã¤ã®HTTPãããã¯HTTPSãªã¯ã¨ã¹ãã¯é常è¤æ°ã®TCPãã±ããã«åå²ãããã¨ãããã¨ã§ãããä¸ã¤ã®HTTP(S)ãªã¯ã¨ã¹ããããã¤ã®TCPãã±ããã«åå²ããããã¯ããªã¯ã¨ã¹ãã®ãµã¤ãºã«ä¾åãã¦ãã¦ãªã¯ã¨ã¹ãæ¯ã«éãã
ä¸ã¤ã®ãªã¯ã¨ã¹ãã«ããã¤ã®TCPãã±ãããå¿ è¦ãããã¨ããæ å ±ã¯ããªã¯ã¨ã¹ãã®ãµã¤ãºã¨ããå½¢ã§HTTP(S)ãªã¯ã¨ã¹ãã®ãããã«æ ¼ç´ãã¦ããã
æ®éã®HTTPãªã¯ã¨ã¹ãã§ããã°ãHTTPã¹ãããã¡ã¯ãã¼ã¿ã®ä¸èº«ãèªããã¨ãã§ããã®ã§ãHTTPããããããªã¯ã¨ã¹ããµã¤ãºãåãåºãã¦ããªã¯ã¨ã¹ãã®çµãããå¤æãããã¨ãã§ããã
ãã¨ãããããã®æã¯å 容ãæå·åããã¦ããHTTPSã§ã¯ä½¿ããªããä¾ãã°ãé£ç¶ãã10åã®TCPãã±ãããæµãã¦ããå ´åããããä¸ã¤ã®HTTPSãªã¯ã¨ã¹ããªã®ãäºã¤ã®ãªã¯ã¨ã¹ããªã®ããä»®ã«äºã¤ã¨ãã¦ã10åã®ãã±ãããäºã¤ã®ãªã¯ã¨ã¹ãã«ã©ãå²ãæ¯ããã¦ãããã¨ãããããªãã¨ã¯ããã±ããã®ä¸èº«ãæå·åããã¦ããããHTTPã¹ãããã¡ã«ã¯å¤æããè¡ããªããHTTPã¹ãããã¡ã«ã§ããã®ã¯ãããããSSLã®ãã³ãã·ã§ã¤ã¯ãè¦å¼µã£ã¦ï¼ããã¯å¹³æã§è¡ãããï¼ãããä¸ã¤ã®HTTPSãªã¯ã¨ã¹ãã®å§ã¾ãã ã¨å¤æãããããã§ããã
Charles ProxyãFiddlerãå®éã«ãã£ã¦ããã®ããã®ç¨åº¦ã®ãã¨ããããHTTPSããããã®ã¹ãããã¡ã§ç£è¦ããã¨ãããSSLãµã¼ãã¼ã«å¯¾ããæåã®ãªã¯ã¨ã¹ãã¯è¡¨ç¤ºãããã®ã®ããã®ãªã¯ã¨ã¹ãã¯ãå®éã«ã¯å®äºãã¦ããã«ãé¢ãããã決ãã¦å®äºã¨ã¯è¡¨ç¤ºãããªããã¾ããåããµã¼ãã¼ã¸ã®äºåº¦ç®ã®HTTPSãªã¯ã¨ã¹ãã¯ãã¹ãããã¡ã«ã¯æåã®ãªã¯ã¨ã¹ãã®ç¶ãã¨èªèããã¦ãã¾ãã®ã§ãã¹ãããã¡ã«è¡¨ç¤ºããããã¨ã¯ãªãããã®ããã«ãã¦ãå®éã«ã¯å®äºãã¦ããHTTPSãªã¯ã¨ã¹ãããã¹ãããã¡ã«ã¯è¡¨ç¤ºãããªãã¨ãããã¨ãèµ·ããã
HTTPSãªã¯ã¨ã¹ããèµ·ãã£ã¦ãããã©ããã確å®ã«ç¥ãããã«ã¯ãFireFoxã®Live HTTP headersã®ãããªãã©ã¦ã¶ã¼ãã©ã°ã¤ã³ã¿ã¤ãã®ã¹ãããã¡ã使ãå¿ è¦ãããããã®ã¿ã¤ãã®ã¹ãããã¡ã¯ãã©ã¦ã¶ãæå·ã解èªããå¾ã®ãã¼ã¿ãèªãããã«ãSSLã«ã¾ã¤ãã以ä¸ã®ãããªåé¡ãèµ·ãããã¨ã¯ãªãã
ããã¾ã§æ¸ãã¦ãã¦æãåºãããããããã±ããããæå¾ãã®ãã±ããã¨ã ã¨ç¥ãããããã®æ¹æ³ãTCPã«ã¯ã¡ããã¨ç¨æãã¦ãããHTTPSããªã¯ã¨ã¹ãã®çµããã«ãã®ãæçµãã±ãããã使ãã°ãã¹ãããã¡ã«ããªã¯ã¨ã¹ãã®çµãããå¤å¥ã§ããã®ã ããå®éã«ã¯ãããã風ã«ã¯ãªã£ã¦ããªãã
ã¯ã©ã¤ã¢ã³ãã¨ãµã¼ãã¼ãæåã«äº¤æããæå·éµã使ãç¶ããéã両è éã®éä¿¡ã¯çµããã§ãªããã¨ããã®ããªã¯ã¨ã¹ãæ¯ã«æçµãã±ããã使ããªãçç±ã®ããã«ãæãããã確ããªãã¨ã¯åãããªãã