Once installed and trusted, Charles will be able to decrypt SSL events! Since this certificate isn’t issued by a trusted certificate issuer, you’ll need to tell your devices to explicitly trust it. SSL/TLS encrypts messages using certificates generated by trusted third parties called certificate issuers.Ĭharles can also generate its own self-signed certificate, which you can install on your Mac and iOS devices for SSL/TLS encryption. However, in this case, you want Charles to snoop on your SSL messages to let you debug them. This is why SSL is so important: Data encryption prevents proxy servers and other middleware from eavesdropping on sensitive information. Proxy servers are in a position of great power, but this also implies the potential for abuse. This allows Charles to inspect all network events to and from your computer. When Charles configured your network settings, it changed your network configuration to route all traffic through it. You may be wondering: “How does Charles do its magic?”Ĭharles is a proxy server, which means it sits between your app and computer’s network connections. You might think this makes Charles pointless for all HTTPS events, but Charles has a sneaky way of getting around encryption. SSL/TLS encrypts sensitive request and response information. You’ll notice one peculiar thing: You can’t see most details for HTTPS events! Try poking around the user interface and looking at events. You’ll need to restart Charles for the change to take effect. Uncheck Combine request and response and press OK. However, you can split them into separate events.Ĭhoose Charles ▸ Preferences and select Viewers. You’ll likely spend most of your time on this screen when debugging your own apps.Ĭharles merges the request and response into a single screen by default. Select Sequence to see all events in a continuous list sorted by time. You can still see individual requests by expanding each individual site. With Structure selected, the top pane is replaced by a left-hand pane of the same data, grouped by site address. With Sequence selected, the top pane contains a summary of all the recorded network requests, while the main pane contains detailed information about the selected request. Under the toolbar is a toggle between Structure and Sequence. The last two buttons provide access to commonly used tools and settings.įor now, stop recording by clicking the red Record/Pause button.The middle buttons from the “Tortoise” to the “Checkmark” provide access to common actions, including throttling, breakpoints and request creation. “Record/Pause” is red when Charles is recording events and gray when stopped.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |