ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.51k stars 182 forks source link

Why common name of certificate is client.openvpn.net ? #1144

Open tanutsun opened 2 years ago

tanutsun commented 2 years ago

Proxyman version? (Ex. Proxyman 1.4.3)

Proxyman 3.1.0

macOS Version? (Ex. mac 10.14)

mac 11.5.2

Steps to reproduce

-

Expected behavior

-

Why common name of certificate is client.openvpn.net ?

why not is my computer name ?

Screenshots (optional)

image

NghiaTranUIT commented 2 years ago

Proxyman uses your Hostname to create a certificate. You can find it at System Preference -> Sharing -> Computer Name.

It doesn't connect to any client.openvpn.net.

Screen_Shot_2022-02-11_at_08_21_27
tanutsun commented 2 years ago

My Computer Name is correct but certificate Common Name is incorrect How to fix it ?

com-name

i got error when intercepted request

OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN

I try to do everything follow documentation

try to Enable Https Response with google it's work

The Common Name is only one did not same with document

NghiaTranUIT commented 2 years ago

OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN

What client that you made a request? Is it from Python, Ruby, Android, iOS ?


Don't worry about the certificate name, it doesn't affect how Proxyman intercepts HTTPS Traffic. I'm not sure why Proxyman uses a different name since I access it from NSHost.name, which retrieves the data from your computer name.

tanutsun commented 2 years ago

I have made request from Android 11

NghiaTranUIT commented 2 years ago

Then, you have to install & trust Proxyman Certificate on your Android Device: https://docs.proxyman.io/debug-devices/android-device

Make sure you finish the step 5 and step 6 by modifying these files:

Please note that you're only able to intercept HTTPS traffic from your own Android app. Other apps won't workl.