Charles

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Overview

Operations

Configure SSL Proxying

Proxy -> SSL Proxy Settings -> SSL Proxying

and then list the target location you want to proxy for.

Examples:

  • localhost.apple.com:443
  • kibana.apps.openshift.novaordis.io:443

Export the Root Certificate

Exporting the root certificate is necessary when we proxy a Java application that sends HTTPS requests and we need Charles to be able to look inside those requests. All Java applications that use HttpClient will work based on this procedure.

To export: Help -> SSL Proxying -> Save Charles Root Certificate

Use the default format "Base 64 encoded certificate (.crt)".

The certificate thus saved can be used without any modification as part of the following procedure:

Configure a Java HTTP Client to Accept Self-Signed Certificates

Install the Root Certificate in Chrome

1. Export the root certificate in ~tmp.

Recording Settings

Include/Exclude