Mac installation certificate
- Install the root certificate on the computer, Help->SSL Proxying->Install Charles Root Certificate:
- Keychain access trust certificate settings——
- When using a certificate: Select "Always Trust"
Mac side charles configuration
- If you need to capture data from Mac browser, check macOS Proxy. After checking, change to system proxy in browser settings to capture browser data.
- Configure HTTP proxy: click Proxy -> ProxySetting, change the Port to 8888 (check SOCKS Proxy to intercept the browser's http access request)
- Configure SSL proxy: Click Proxy -> SSL Proxying Settings.
- Click add to add the domain name that needs to be monitored. The wildcard character * is supported. The port is generally 443.
OPPO mobile phone settings WLAN proxy
- Click Charles' Help->
- Mobile phone: Click Settings->WLAN Network and select the computer to connect to WIFI (must be in the same network environment as the computer-)
- Click the Network Settings -> Proxy Settings -> Manual.
OPPO mobile phone certificate installation
- 点选Help->SSL Proxying->Save Charles Root Certificate,
- Download the mobile certificate to the computer (OPPO mobile phones only support certificates with the suffix .cer)
Open Bluetooth preferences -> Connect to Bluetooth on the mobile phone. After the connection is successful, transfer the downloaded .cer certificate to the mobile phone.
-
Open [System Preferences] on your MacBook, and on the settings page, choose to turn on [Bluetooth]
- On the [Bluetooth] page that opens, click [Turn on Bluetooth] and select [OPPO phone -- Bluetooth] to connect, as shown in the figure below.
- Open the Bluetooth interface and select [Send files to device...]
- On the folder selection page that opens, select the specific files to be transferred and click [Send]
- On the home screen of the target device, click [Receive] Bluetooth transmission;
- You can check the progress of file transfer via Bluetooth on your MacBook.
Charles certificate installation -- Bluetooth transmission certificate installation
- difficulty:
- Certificate location
- Install from storage device
Certificate location--search [oppo mobile phone--receiving Bluetooth file location]
- Open File Management and click [Bluetooth]
- Click [Bluetooth] to see all Bluetooth receiving files.
- Remember the file address, it will be used during subsequent installations.
Install from storage device
- Android 7.0
- Fingerprints, passwords and security -- Device management and credentials -- Install from storage disk --- .cer certificate in the Bluetooth folder of the phone's storage device
- -> Right-click to open the certificate->Certificate purpose selection VPN and application->Click save, it will prompt that the installation is successful
- Fingerprints, passwords and security -- Device management and credentials -- Install from storage disk --- .cer certificate in the Bluetooth folder of the phone's storage device
- Other versions
- Phone settings - Credential storage - Install from storage device - .cer certificate in the Bluetooth folder of the phone storage device
- Settings->WLAN->Advanced settings->Install from storage device->.cer certificate in the Bluetooth folder of the mobile phone storage device
- -> Right-click to open the certificate->Certificate purpose selection VPN and application->Click save, it will prompt that the installation is successful
- When your phone is connected to the computer via USB, you can see Charles on the computer pop up a confirmation menu requesting a connection. Click "Allow" to complete the setup.
When you’re done, you can start capturing packets on the mobile phone. . .