[GH-ISSUE #1293] Unable to install certificate/profile in physical iOS 16 #1288

Open
opened 2026-03-03 19:50:02 +03:00 by kerem · 66 comments
Owner

Originally created by @Esquilli on GitHub (Jul 13, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1293

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

  • 3.6.2 (30620)

macOS Version? (Ex. mac 10.14)

  • macOS Monterrey 12.4

Steps to reproduce

  • Same instructions as the "iOS Setup Guide" for physical devices.

Expected behavior

  • Users should be able to install certificates on a physical device.
  • When you go to proxy.man/ssl the profile is not downloaded.

Screenshots (optional)

  • N/A
Originally created by @Esquilli on GitHub (Jul 13, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1293 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) - 3.6.2 (30620) ### macOS Version? (Ex. mac 10.14) - macOS Monterrey 12.4 ### Steps to reproduce - Same instructions as the "iOS Setup Guide" for physical devices. ### Expected behavior - Users should be able to install certificates on a physical device. - When you go to `proxy.man/ssl` the profile is not downloaded. ### Screenshots (optional) - N/A
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 14, 2022):

Hey, iOS 16 beta is buggy when setting the HTTP Proxy via Wifi.

If you're using:

  • iOS 16 Beta 1, 2, 3: Turn ON Turn OFF the HTTP Proxy toggle in Wifi might do the trick (not 100%)
  • iOS 16 Beta 4 is broken. No way to fix it.

We gonna file a radar on Apple soon.

You can confirm by

  • Could not access to chls.pro/ssl from Charles Proxy
  • Set HTTP Proxy IP with a random number, and you're still able to access the Internet -> It means it's a bug from Apple -> The Traffic still doesn't go through the IP Proxy.

Workaround

<!-- gh-comment-id:1183840059 --> @NghiaTranUIT commented on GitHub (Jul 14, 2022): Hey, iOS 16 beta is buggy when setting the HTTP Proxy via Wifi. If you're using: - iOS 16 Beta 1, 2, 3: Turn ON Turn OFF the HTTP Proxy toggle in Wifi might do the trick (not 100%) - iOS 16 Beta 4 is broken. No way to fix it. We gonna file a radar on Apple soon. ### You can confirm by - Could not access to `chls.pro/ssl` from Charles Proxy - Set HTTP Proxy IP with a random number, and you're still able to access the Internet -> It means it's a bug from Apple -> The Traffic still doesn't go through the IP Proxy. ### Workaround - You can try [Atlantis framework](https://github.com/ProxymanApp/atlantis) from Proxymam 👍
Author
Owner

@avighnash commented on GitHub (Aug 27, 2022):

Having the same issue on iOS 16 beta 7. Proxying isn't working for PortSwigger or Charles either.

<!-- gh-comment-id:1229284938 --> @avighnash commented on GitHub (Aug 27, 2022): Having the same issue on iOS 16 beta 7. Proxying isn't working for PortSwigger or Charles either.
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 28, 2022):

@avi2k4 some users report that after forgetting your Wifi hotspot, it can fix the problem 👍

<!-- gh-comment-id:1229356723 --> @NghiaTranUIT commented on GitHub (Aug 28, 2022): @avi2k4 some users report that after forgetting your Wifi hotspot, it can fix the problem 👍
Author
Owner

@phr85 commented on GitHub (Sep 21, 2022):

I having problems since I use Xocde 14 / iOS 16. I try to see https traffic, but it only stuck at yellow dot (ACTIVE).

Screenshot 2022-09-21 at 09 25 29

Is this issue one described in this ticket or is mine related to something else?
(I reseted Root Certificate on Mac and reinstall it in Simulator)

<!-- gh-comment-id:1253128753 --> @phr85 commented on GitHub (Sep 21, 2022): I having problems since I use Xocde 14 / iOS 16. I try to see https traffic, but it only stuck at yellow dot (ACTIVE). <img width="1680" alt="Screenshot 2022-09-21 at 09 25 29" src="https://user-images.githubusercontent.com/1322091/191400397-c07ed66d-13c5-416e-bea9-fe1aa4013aea.png"> Is this issue one described in this ticket or is mine related to something else? (I reseted Root Certificate on Mac and reinstall it in Simulator)
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 21, 2022):

@phr85 Look like you're using the old Atlantis library version. I remember that I've fixed this issue on iOS 16. Please update the latest version: https://github.com/ProxymanApp/atlantis/releases/tag/1.18.2

Here is the PR: https://github.com/ProxymanApp/atlantis/pull/108

<!-- gh-comment-id:1253129863 --> @NghiaTranUIT commented on GitHub (Sep 21, 2022): @phr85 Look like you're using the old Atlantis library version. I remember that I've fixed this issue on iOS 16. Please update the latest version: https://github.com/ProxymanApp/atlantis/releases/tag/1.18.2 Here is the PR: https://github.com/ProxymanApp/atlantis/pull/108
Author
Owner

@phr85 commented on GitHub (Sep 21, 2022):

@NghiaTranUIT Thank you. This solves my issue.

<!-- gh-comment-id:1253141669 --> @phr85 commented on GitHub (Sep 21, 2022): @NghiaTranUIT Thank you. This solves my issue.
Author
Owner

@haivudang88 commented on GitHub (Oct 20, 2022):

hi @NghiaTranUIT
is there any solution to this Bug already?
i could not download and install Charles proxy for the devices upgrade from iOS 16 Beta (1 to Gold)
i use Window Laptop
Thank you so much

Chào @NghiaTranUIT ,
Bạn có thông tin thêm về lỗi này không?
Mình không thể tải và sử dụng Charles proxy cho các máy được update từ iOS 16 Beta
mình sử dụng Window Laptop
Cám ơn bạn nhiều

<!-- gh-comment-id:1285572349 --> @haivudang88 commented on GitHub (Oct 20, 2022): hi @NghiaTranUIT is there any solution to this Bug already? i could not download and install Charles proxy for the devices upgrade from iOS 16 Beta (1 to Gold) i use Window Laptop Thank you so much Chào @NghiaTranUIT , Bạn có thông tin thêm về lỗi này không? Mình không thể tải và sử dụng Charles proxy cho các máy được update từ iOS 16 Beta mình sử dụng Window Laptop Cám ơn bạn nhiều
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 20, 2022):

@haivudang88 If you're using the iOS 16 Beta, there is an Apple Bug that affects Proxyman & Charles Proxy app too.

Basically, the iOS 16 beta doesn't respect the HTTP Proxy in the Wifi, you the proxy.man/ssl local website is inaccessible.

Here is a document: https://docs.proxyman.io/troubleshooting/ios-16-devices-issues

<!-- gh-comment-id:1285582136 --> @NghiaTranUIT commented on GitHub (Oct 20, 2022): @haivudang88 If you're using the iOS 16 Beta, there is an Apple Bug that affects Proxyman & Charles Proxy app too. Basically, the iOS 16 beta doesn't respect the HTTP Proxy in the Wifi, you the `proxy.man/ssl` local website is inaccessible. Here is a document: https://docs.proxyman.io/troubleshooting/ios-16-devices-issues
Author
Owner

@jkapsouras commented on GitHub (Dec 8, 2022):

I have 16.2 beta on my device and the problem is still active. proxy.man/ssl is not accessible

<!-- gh-comment-id:1342892671 --> @jkapsouras commented on GitHub (Dec 8, 2022): I have 16.2 beta on my device and the problem is still active. proxy.man/ssl is not accessible
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 8, 2022):

Me too. The crazy bug since iOS 16.0 and they haven't fixed it yet :/

<!-- gh-comment-id:1342897271 --> @NghiaTranUIT commented on GitHub (Dec 8, 2022): Me too. The crazy bug since iOS 16.0 and they haven't fixed it yet :/
Author
Owner

@joaodforce commented on GitHub (Dec 15, 2022):

iOS 16.2 is out, and it still does not address this.

<!-- gh-comment-id:1353529708 --> @joaodforce commented on GitHub (Dec 15, 2022): iOS 16.2 is out, and it still does not address this.
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 16, 2022):

It's sad news, but it's true.

I've reopened the bug ticket on Apple Radar. Hopefully they will address it soon 👍

<!-- gh-comment-id:1354023352 --> @NghiaTranUIT commented on GitHub (Dec 16, 2022): It's sad news, but it's true. I've reopened the bug ticket on Apple Radar. Hopefully they will address it soon 👍
Author
Owner

@karthikchalla5 commented on GitHub (Jan 2, 2023):

@NghiaTranUIT Is it possible to share the link raised with Apple for this bug ? so we can track it from there. It looks like taking more time than expected. and we are blocked from using the tool on iOS 16.x

<!-- gh-comment-id:1368864384 --> @karthikchalla5 commented on GitHub (Jan 2, 2023): @NghiaTranUIT Is it possible to share the link raised with Apple for this bug ? so we can track it from there. It looks like taking more time than expected. and we are blocked from using the tool on iOS 16.x
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 2, 2023):

I've opened on Apple Feedback Assistant: https://feedbackassistant.apple.com/feedback/11871219

Not sure if you can access it.

<!-- gh-comment-id:1368866388 --> @NghiaTranUIT commented on GitHub (Jan 2, 2023): I've opened on Apple Feedback Assistant: https://feedbackassistant.apple.com/feedback/11871219 Not sure if you can access it.
Author
Owner

@sunday4m commented on GitHub (Jan 19, 2023):

I don't sure will it help
But legitimate proxy works well on iOS 16.x

Problem with proxy only specific to MITM

<!-- gh-comment-id:1397574925 --> @sunday4m commented on GitHub (Jan 19, 2023): I don't sure will it help But legitimate proxy works well on iOS 16.x Problem with proxy only specific to MITM
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 20, 2023):

Tested with iOS 16.1, using HTTP Proxy with Manual Mode doesn't work with any IP, e.g. 192.168.1.100, http://proxyman.local, etc

My iPhone is still able to connect to the Internet in spite of invalid Proxy IP. Not sure if it's fixed on iOS 16.2.

<!-- gh-comment-id:1397864937 --> @NghiaTranUIT commented on GitHub (Jan 20, 2023): Tested with iOS 16.1, using HTTP Proxy with Manual Mode doesn't work with any IP, e.g. 192.168.1.100, http://proxyman.local, etc My iPhone is still able to connect to the Internet in spite of invalid Proxy IP. Not sure if it's fixed on iOS 16.2.
Author
Owner

@jkapsouras commented on GitHub (Jan 20, 2023):

A (not very nice for me) workaround is to use the mobile app (https://proxyman.io/ios). The mobile app works fine and captures requests and responses directly from the device.

<!-- gh-comment-id:1398250701 --> @jkapsouras commented on GitHub (Jan 20, 2023): A (not very nice for me) workaround is to use the mobile app (https://proxyman.io/ios). The mobile app works fine and captures requests and responses directly from the device.
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 20, 2023):

yup, it's true because the Proxyman for iOS app is using the VPN (not the HTTP Proxy), so it can capture all data.

Tip: You can share the traffic from the iOS app to the macOS device, and preview it with Proxyman for macOS 👍

<!-- gh-comment-id:1398258040 --> @NghiaTranUIT commented on GitHub (Jan 20, 2023): yup, it's true because the Proxyman for iOS app is using the VPN (not the HTTP Proxy), so it can capture all data. Tip: You can share the traffic from the iOS app to the macOS device, and preview it with Proxyman for macOS 👍
Author
Owner

@ivandev7 commented on GitHub (Jan 20, 2023):

I am testing with Proxyman & Charles on iOS 16.2 and I can capture http/https traffic but websocket connections are not showing and I need this part.

<!-- gh-comment-id:1398774356 --> @ivandev7 commented on GitHub (Jan 20, 2023): I am testing with Proxyman & Charles on iOS 16.2 and I can capture http/https traffic but websocket connections are not showing and I need this part.
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 21, 2023):

@ivandev7 It's a known issue from URLSessionWebsocketTask. WS traffic doesn't go through the HTTP Proxy. Thus, it never appears on the Proxy app.

To capture it, please use Atltantis framework from Proxyman. Basically, it captures WS/WSS traffic by using method swizzling, and send to the macOS app to preview 👍

<!-- gh-comment-id:1399162981 --> @NghiaTranUIT commented on GitHub (Jan 21, 2023): @ivandev7 It's a known issue from URLSessionWebsocketTask. WS traffic doesn't go through the HTTP Proxy. Thus, it never appears on the Proxy app. To capture it, please use [Atltantis framework](https://github.com/ProxymanApp/atlantis) from Proxyman. Basically, it captures WS/WSS traffic by using method swizzling, and send to the macOS app to preview 👍
Author
Owner

@jkapsouras commented on GitHub (Jan 24, 2023):

Just installed 16.3 to my device and the proxy works. I think problem is solved from apple.

<!-- gh-comment-id:1401808027 --> @jkapsouras commented on GitHub (Jan 24, 2023): Just installed 16.3 to my device and the proxy works. I think problem is solved from apple.
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 24, 2023):

Wow, it's a great news 🚀🚀🚀

I will upgrade to iOS 16.3 and let other people know 👋

<!-- gh-comment-id:1401870690 --> @NghiaTranUIT commented on GitHub (Jan 24, 2023): Wow, it's a great news 🚀🚀🚀 I will upgrade to iOS 16.3 and let other people know 👋
Author
Owner

@pathikb commented on GitHub (Jan 25, 2023):

Sadly doesn't work for me on iOS 16.3!

<!-- gh-comment-id:1403298891 --> @pathikb commented on GitHub (Jan 25, 2023): Sadly doesn't work for me on iOS 16.3!
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 26, 2023):

Bad news: Apple hasn't fixed the HTTP Proxy bug on iOS 16.3 🐛

Tried to set the HTTP Proxy to random IP/Port, but it still connect to the Internet 😢

<!-- gh-comment-id:1404500683 --> @NghiaTranUIT commented on GitHub (Jan 26, 2023): Bad news: Apple hasn't fixed the HTTP Proxy bug on iOS 16.3 🐛 Tried to set the HTTP Proxy to random IP/Port, but it still connect to the Internet ❌ 😢
Author
Owner

@jasonhibbs commented on GitHub (Feb 7, 2023):

I was able to get Proxyman working today by forgetting and reconnecting to the network I want to use.
I was having problems on 16.3 before this.

<!-- gh-comment-id:1420582858 --> @jasonhibbs commented on GitHub (Feb 7, 2023): I was able to get Proxyman working today by forgetting and reconnecting to the network I want to use. I was having problems on 16.3 before this.
Author
Owner

@tiagobnobrega commented on GitHub (Feb 10, 2023):

Forgetting and reconnecting didn't work for me. I noticed that if I connect to the router without an internet connection (remove the cable from the router) proxy will work. Of course, this setup does not work for me as I still need an internet connection. Curious how having an internet connection affects this

<!-- gh-comment-id:1426359919 --> @tiagobnobrega commented on GitHub (Feb 10, 2023): Forgetting and reconnecting didn't work for me. I noticed that if I connect to the router without an internet connection (remove the cable from the router) proxy will work. Of course, this setup does not work for me as I still need an internet connection. Curious how having an internet connection affects this
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 11, 2023):

@tiagobnobrega it's definitely an Apple bug : < I've opened it on Apple Feedback is still not resolved by Apple Team.

<!-- gh-comment-id:1426537253 --> @NghiaTranUIT commented on GitHub (Feb 11, 2023): @tiagobnobrega it's definitely an Apple bug : < I've opened it on Apple Feedback is still not resolved by Apple Team.
Author
Owner

@aaadonai commented on GitHub (Apr 21, 2023):

I am still experiencing this issue on iOS 16.4.1. Anyone else still having issues?

<!-- gh-comment-id:1518313666 --> @aaadonai commented on GitHub (Apr 21, 2023): I am still experiencing this issue on iOS 16.4.1. Anyone else still having issues?
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 22, 2023):

It's fixed on my iOS 16.4.1 devices. @aaadonai You should forget your Wifi, reconnect it again, restart the device also fix it.

<!-- gh-comment-id:1518450080 --> @NghiaTranUIT commented on GitHub (Apr 22, 2023): It's fixed on my iOS 16.4.1 devices. @aaadonai You should forget your Wifi, reconnect it again, restart the device also fix it.
Author
Owner

@ratelgogo commented on GitHub (Apr 27, 2023):

It's fixed on my iOS 16.4.1 devices. @aaadonai You should forget your Wifi, reconnect it again, restart the device also fix it.

ios 16.4.1, forget Wifi, reconnect it again, alse restart the device , it does not work :cry

<!-- gh-comment-id:1525628855 --> @ratelgogo commented on GitHub (Apr 27, 2023): > It's fixed on my iOS 16.4.1 devices. @aaadonai You should forget your Wifi, reconnect it again, restart the device also fix it. ios 16.4.1, forget Wifi, reconnect it again, alse restart the device , it does not work :cry
Author
Owner

@pinkhominid commented on GitHub (May 10, 2023):

Still no luck with iPhone X and iPhone 13 both running 16.4.1 (a) after suggested workarounds.

<!-- gh-comment-id:1542835879 --> @pinkhominid commented on GitHub (May 10, 2023): Still no luck with iPhone X and iPhone 13 both running 16.4.1 (a) after suggested workarounds.
Author
Owner

@NghiaTranUIT commented on GitHub (May 11, 2023):

@pinkhominid I'm not sure how Apple fixes it. On my devices, iPhone 13 Proxy Max iOS 16.4.1 (a), and some users, It's fixed after forgetting the Wifi and connecting again.

@pathikb @ratelgogo You might workaround by using the Atlantis framework (develop by Proxyman team), to capture HTTPS traffic.

<!-- gh-comment-id:1542991079 --> @NghiaTranUIT commented on GitHub (May 11, 2023): @pinkhominid I'm not sure how Apple fixes it. On my devices, iPhone 13 Proxy Max iOS 16.4.1 (a), and some users, It's fixed after forgetting the Wifi and connecting again. @pathikb @ratelgogo You might workaround by using the [Atlantis framework](https://github.com/ProxymanApp/atlantis) (develop by Proxyman team), to capture HTTPS traffic.
Author
Owner

@Achieve777 commented on GitHub (May 23, 2023):

mobile: iPhone 13 pro
version: 16.5 beta(20f65)

This bug has been resolved.

<!-- gh-comment-id:1559008434 --> @Achieve777 commented on GitHub (May 23, 2023): mobile: iPhone 13 pro version: 16.5 beta(20f65) This bug has been resolved.
Author
Owner

@yuriibabii commented on GitHub (May 31, 2023):

Was able to fix this after installing Proxyman app on the phone, installing its certificate, enabling VPN, verified it's working. Then turn off the VPN, start setuping proxy for desktop again. Now the certificates should be downloaded and able to install of the device. After that everything worked as expected. Doesn't matter if it's Proxyman desktop app, or Charles.

<!-- gh-comment-id:1570696194 --> @yuriibabii commented on GitHub (May 31, 2023): Was able to fix this after installing Proxyman app on the phone, installing its certificate, enabling VPN, verified it's working. Then turn off the VPN, start setuping proxy for desktop again. Now the certificates should be downloaded and able to install of the device. After that everything worked as expected. Doesn't matter if it's Proxyman desktop app, or Charles.
Author
Owner

@rounak commented on GitHub (Aug 7, 2023):

Forgetting and rejoining the network worked!

<!-- gh-comment-id:1668655899 --> @rounak commented on GitHub (Aug 7, 2023): Forgetting and rejoining the network worked!
Author
Owner

@dnesterov commented on GitHub (Aug 18, 2023):

iOS 16.6 - Still not working :(

<!-- gh-comment-id:1683263160 --> @dnesterov commented on GitHub (Aug 18, 2023): iOS 16.6 - Still not working :(
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 21, 2023):

@dnesterov try to forget the Wifi and reconnect again. Set the proxy, then Save it TWICE . For some reason, the iOS doesn't save the proxy setting.

I've updated the Docs at https://docs.proxyman.io/troubleshooting/ios-16-devices-issues#4.-solution-for-ios-16.3-or-later

<!-- gh-comment-id:1685824111 --> @NghiaTranUIT commented on GitHub (Aug 21, 2023): @dnesterov try to forget the Wifi and reconnect again. Set the proxy, then Save it TWICE ✅ . For some reason, the iOS doesn't save the proxy setting. I've updated the Docs at https://docs.proxyman.io/troubleshooting/ios-16-devices-issues#4.-solution-for-ios-16.3-or-later
Author
Owner

@dnesterov commented on GitHub (Aug 21, 2023):

commented

Thank you, it is working after forgetting Wi-Fi!

<!-- gh-comment-id:1686686911 --> @dnesterov commented on GitHub (Aug 21, 2023): > commented Thank you, it is working after forgetting Wi-Fi!
Author
Owner

@IDEKENTERPRISES commented on GitHub (Oct 25, 2023):

Currently not working on iOS 16.7.2, tried forgetting network and restarting iPhone to no avail; traffic continues to ignore proxy setting.

<!-- gh-comment-id:1779677418 --> @IDEKENTERPRISES commented on GitHub (Oct 25, 2023): Currently not working on iOS 16.7.2, tried forgetting network and restarting iPhone to no avail; traffic continues to ignore proxy setting.
Author
Owner

@Dast1Woop commented on GitHub (Nov 1, 2023):

iOS17,still not working

<!-- gh-comment-id:1788609230 --> @Dast1Woop commented on GitHub (Nov 1, 2023): iOS17,still not working
Author
Owner

@ouzihao commented on GitHub (Nov 22, 2023):

Currently not working on iOS 16.7.2, tried forgetting network and restarting iPhone to no avail; traffic continues to ignore proxy setting.
iOS 16.7.1 have the same problem too.

<!-- gh-comment-id:1822343991 --> @ouzihao commented on GitHub (Nov 22, 2023): > Currently not working on iOS 16.7.2, tried forgetting network and restarting iPhone to no avail; traffic continues to ignore proxy setting. iOS 16.7.1 have the same problem too.
Author
Owner

@castrojr913 commented on GitHub (Nov 28, 2023):

Currently not working on iOS 16.7.2, tried forgetting network and restarting iPhone to no avail; traffic continues to ignore proxy setting.

I was facing the same issue with my app on iOS 17, but I found the HTTP client (Alamofire) blocked the interception. For instance, using Alamofire.SessionManager.default. It even displayed the message "The Certificate for this server is invalid", canceling the request. Looking into a developer's answer on StackOverflow to disable this behavior, I implemented a custom ServerTrustPolicyManager, to initialize the session manager for each request:

open class MyServerTrustPolicyManager: ServerTrustPolicyManager {
        open override func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? {
            return ServerTrustPolicy.disableEvaluation
        }
}

let sessionManager = SessionManager(delegate:SessionDelegate(), serverTrustPolicyManager:MyServerTrustPolicyManager(policies: [:]))

In summary, in my case, ProxyMan was working properly, Alamofire default configuration was the issue instead.

<!-- gh-comment-id:1830554876 --> @castrojr913 commented on GitHub (Nov 28, 2023): > Currently not working on iOS 16.7.2, tried forgetting network and restarting iPhone to no avail; traffic continues to ignore proxy setting. I was facing the same issue with my app on iOS 17, but I found the HTTP client (Alamofire) blocked the interception. For instance, using `Alamofire.SessionManager.default`. It even displayed the message "The Certificate for this server is invalid", canceling the request. Looking into a developer's answer on [StackOverflow](https://stackoverflow.com/a/44169463) to disable this behavior, I implemented a custom ServerTrustPolicyManager, to initialize the session manager for each request: ``` open class MyServerTrustPolicyManager: ServerTrustPolicyManager { open override func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? { return ServerTrustPolicy.disableEvaluation } } let sessionManager = SessionManager(delegate:SessionDelegate(), serverTrustPolicyManager:MyServerTrustPolicyManager(policies: [:])) ``` In summary, in my case, ProxyMan was working properly, Alamofire default configuration was the issue instead.
Author
Owner

@NghiaTranUIT commented on GitHub (Nov 29, 2023):

@castrojr913 It's not really related to this issue, which is an Apple Bug.

Some iPhones didn't use HTTP Proxy Config in the WiFi Setting.

So far, here are solutions from Proxyman users.

  • Forget the Wi-Fi
  • Restart the iPhone
  • Double-check the IP & Port to match with Proxyman
  • Open Firewall setting to accept all incoming traffic (iPhone)
  • and update to the latest iOS 17
<!-- gh-comment-id:1831095112 --> @NghiaTranUIT commented on GitHub (Nov 29, 2023): @castrojr913 It's not really related to this issue, which is an Apple Bug. Some iPhones didn't use HTTP Proxy Config in the WiFi Setting. So far, here are solutions from Proxyman users. - Forget the Wi-Fi - Restart the iPhone - Double-check the IP & Port to match with Proxyman - Open [Firewall setting](https://docs.proxyman.io/troubleshooting/my-ios-devices-couldnt-connect-to-proxyman-via-proxy#4.-firewall-settings-macos) to accept all incoming traffic (iPhone) - and update to the latest iOS 17
Author
Owner

@tutuerhao commented on GitHub (Dec 1, 2023):

IPHONE13pro 16.2 has been tested and it may be helpful to reset the iPhone network. Turning on VPN may also cause the proxy to fail.

<!-- gh-comment-id:1835524175 --> @tutuerhao commented on GitHub (Dec 1, 2023): IPHONE13pro 16.2 has been tested and it may be helpful to reset the iPhone network. Turning on VPN may also cause the proxy to fail.
Author
Owner

@tutuerhao commented on GitHub (Dec 29, 2023):

You can use proxy tools such as Shadowrocket, Surge, and Loon to add strategies for packet capture.

<!-- gh-comment-id:1871681319 --> @tutuerhao commented on GitHub (Dec 29, 2023): You can use proxy tools such as Shadowrocket, Surge, and Loon to add strategies for packet capture.
Author
Owner

@GioPalusa commented on GitHub (Feb 20, 2024):

There is a super simple solution to this. Go to the webpage to get the SSL certificate on your Mac http://proxy.man/ssl. It will download to your computer, then you can just airdrop it to your phone and it works as planned.

<!-- gh-comment-id:1954316306 --> @GioPalusa commented on GitHub (Feb 20, 2024): There is a super simple solution to this. Go to the webpage to get the SSL certificate on your Mac `http://proxy.man/ssl`. It will download to your computer, then you can just airdrop it to your phone and it works as planned.
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 20, 2024):

@GioPalusa but your iPhone never uses the HTTP Proxy, so Proxyman macOS can't see any request from your iPhone (because the WiFi Proxy is always ignored)

This issue is fixed by Apple on iOS 17. You can see some solutions at https://docs.proxyman.io/troubleshooting/ios-16-devices-issues

<!-- gh-comment-id:1954319669 --> @NghiaTranUIT commented on GitHub (Feb 20, 2024): @GioPalusa but your iPhone never uses the HTTP Proxy, so Proxyman macOS can't see any request from your iPhone (because the WiFi Proxy is always ignored) This issue is fixed by Apple on iOS 17. You can see some solutions at https://docs.proxyman.io/troubleshooting/ios-16-devices-issues
Author
Owner

@JauYang commented on GitHub (Mar 22, 2024):

I have tried all the solutions in this issues. The only thing that is feasible is to forget the network, restart the phone, and then re-execute all the actions, but this will not be solved for a long time, and the phone will fail after a few minutes of resting;

iOS 17.3.1, the problem still cannot be dealt with effectively, and it is too troublesome to restart the phone.
f**k apple

<!-- gh-comment-id:2014324091 --> @JauYang commented on GitHub (Mar 22, 2024): I have tried all the solutions in this issues. The only thing that is feasible is to forget the network, restart the phone, and then re-execute all the actions, but this will not be solved for a long time, and the phone will fail after a few minutes of resting; iOS 17.3.1, the problem still cannot be dealt with effectively, and it is too troublesome to restart the phone. f**k apple
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 22, 2024):

@JauYang can you confirm that there is no active VPN when you set the proxy setting? Some users had active VPN and didn't realize to turn it off.

<!-- gh-comment-id:2014347404 --> @NghiaTranUIT commented on GitHub (Mar 22, 2024): @JauYang can you confirm that there is no active VPN when you set the proxy setting? Some users had active VPN and didn't realize to turn it off.
Author
Owner

@22Round commented on GitHub (Apr 11, 2024):

As of iOS 17.4.1, the issue is till there :((

<!-- gh-comment-id:2049933559 --> @22Round commented on GitHub (Apr 11, 2024): As of iOS 17.4.1, the issue is till there :((
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 22, 2024):

@Sjahriyar can you try each step in the Troubleshooting: https://docs.proxyman.io/troubleshooting/my-ios-devices-couldnt-connect-to-proxyman-via-proxy

Maybe it's from your Firewall, or VPN app, ...

<!-- gh-comment-id:2069389197 --> @NghiaTranUIT commented on GitHub (Apr 22, 2024): @Sjahriyar can you try each step in the Troubleshooting: https://docs.proxyman.io/troubleshooting/my-ios-devices-couldnt-connect-to-proxyman-via-proxy Maybe it's from your Firewall, or VPN app, ...
Author
Owner

@GioPalusa commented on GitHub (Apr 22, 2024):

I did the download on a Mac and airdrop the certificate to a new iPhone yesterday and it worked like a charm. I capture all SSL traffic with no hassle.
So go to the http://proxy.man/ssl from your computer and download the cert from there and airdrop it to your phone, and then install it and trust it. Then it works just as it should.

<!-- gh-comment-id:2069461856 --> @GioPalusa commented on GitHub (Apr 22, 2024): I did the download on a Mac and airdrop the certificate to a new iPhone yesterday and it worked like a charm. I capture all SSL traffic with no hassle. So go to the http://proxy.man/ssl from your computer and download the cert from there and airdrop it to your phone, and then install it and trust it. Then it works just as it should.
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 22, 2024):

@GioPalusa if you can capture from your iPhone, it means the Proxy on your iPhone is working fine. You can access http://proxy.man/ssl to download it from your phone too.

If you can't, I guess it's HTTPS because Safari might use it by default.

<!-- gh-comment-id:2069915408 --> @NghiaTranUIT commented on GitHub (Apr 22, 2024): @GioPalusa if you can capture from your iPhone, it means the Proxy on your iPhone is working fine. You can access http://proxy.man/ssl to download it from your phone too. If you can't, I guess it's HTTPS because Safari might use it by default.
Author
Owner

@Bert-Harvey-kr commented on GitHub (May 10, 2024):

I was able to transfer the cert from my mac to my physical device running iOS 17.2.1 and it displays as installed and trusted, but i'm still not capturing anything though the proxy is set on the phone and traffic is getting through without issue. What am I failing to do here?

<!-- gh-comment-id:2105192997 --> @Bert-Harvey-kr commented on GitHub (May 10, 2024): I was able to transfer the cert from my mac to my physical device running iOS 17.2.1 and it displays as installed and trusted, but i'm still not capturing anything though the proxy is set on the phone and traffic is getting through without issue. What am I failing to do here?
Author
Owner

@NghiaTranUIT commented on GitHub (May 11, 2024):

@Bert-Harvey-kr it means your iPhone has a bug when setting the HTTP Proxy on Wifi to Proxyman. You can confirm that it's an Apple bug by:

  1. Open Setting app
  2. Wifi -> Your wifi -> Proxy
  3. Use any invalid IP and Port, for example: 192.1.1.1 and port 8000 -> Save
  4. Open Safari -> www.google.com -> If you can access the Internet -> It's a bug from Apple.

It's fixed on iOS 17.3 or later. You can find the doc at https://docs.proxyman.io/troubleshooting/ios-16-devices-issues

You should try to forget the network, restart your iPhone, or upgrade to the latest iOS 👍

<!-- gh-comment-id:2105439261 --> @NghiaTranUIT commented on GitHub (May 11, 2024): @Bert-Harvey-kr it means your iPhone has a bug when setting the HTTP Proxy on Wifi to Proxyman. You can confirm that it's an Apple bug by: 1. Open Setting app 2. Wifi -> Your wifi -> Proxy 3. Use any invalid IP and Port, for example: 192.1.1.1 and port 8000 -> Save 4. Open Safari -> www.google.com -> If you can access the Internet -> It's a bug from Apple. It's fixed on iOS 17.3 or later. You can find the doc at https://docs.proxyman.io/troubleshooting/ios-16-devices-issues You should try to forget the network, restart your iPhone, or upgrade to the latest iOS 👍
Author
Owner

@evancauwenberg commented on GitHub (May 15, 2024):

Still an issue on iOS 17.5 developer beta, did all the possible trouble shooting :(

<!-- gh-comment-id:2112780666 --> @evancauwenberg commented on GitHub (May 15, 2024): Still an issue on iOS 17.5 developer beta, did all the possible trouble shooting :(
Author
Owner

@Panajev commented on GitHub (Oct 11, 2024):

Is this an issue with iOS 18 too?

<!-- gh-comment-id:2406894937 --> @Panajev commented on GitHub (Oct 11, 2024): Is this an issue with iOS 18 too?
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 11, 2024):

from what I know, iOS 18 works totally fine 👍 the bug is fixed.

<!-- gh-comment-id:2406896122 --> @NghiaTranUIT commented on GitHub (Oct 11, 2024): from what I know, iOS 18 works totally fine 👍 the bug is fixed.
Author
Owner

@Panajev commented on GitHub (Oct 11, 2024):

Thank you @NghiaTranUIT ! Would it be possible to update the official website docs to reference that iOS 18 is free from this bug please?

Also, I would guess this bug could be closed right? @evancauwenberg @Esquilli have you found that it is indeed solved for you on iOS 18?

<!-- gh-comment-id:2407330738 --> @Panajev commented on GitHub (Oct 11, 2024): Thank you @NghiaTranUIT ! Would it be possible to update the official website docs to reference that iOS 18 is free from this bug please? Also, I would guess this bug could be closed right? @evancauwenberg @Esquilli have you found that it is indeed solved for you on iOS 18?
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 11, 2024):

It's updated on the doc 👍

If it doesn't work, try to forget your Wi-Fi and try again. I works on my iPad and iPhone, both iOS 18 👍

Screenshot 2024-10-11 at 9 17 31 PM

<!-- gh-comment-id:2407515514 --> @NghiaTranUIT commented on GitHub (Oct 11, 2024): It's updated on the doc 👍 If it doesn't work, try to forget your Wi-Fi and try again. I works on my iPad and iPhone, both iOS 18 👍 ![Screenshot 2024-10-11 at 9 17 31 PM](https://github.com/user-attachments/assets/e053ba06-3d71-46ae-827a-8d48357dd5c8)
Author
Owner

@barayuda commented on GitHub (Mar 12, 2025):

Hi @NghiaTranUIT I got an issue when trying certificate with iOS 18.3.1 on my device. Already forgot the wifi and trying again, but certificate always invalid when trying to install

image

https://github.com/user-attachments/assets/891b3773-b902-4314-bf6c-230751f4b577

<!-- gh-comment-id:2716400825 --> @barayuda commented on GitHub (Mar 12, 2025): Hi @NghiaTranUIT I got an issue when trying certificate with iOS 18.3.1 on my device. Already forgot the wifi and trying again, but certificate always invalid when trying to install ![image](https://github.com/user-attachments/assets/fb281d0c-5dd5-4b37-9eb9-bdec50b156cf) https://github.com/user-attachments/assets/891b3773-b902-4314-bf6c-230751f4b577
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 12, 2025):

@barayuda can you open Proxyman Mac -> Settings -> General Tab -> And share with me the name of your certificate?

Do you see the certificate in Setting app > General > About > Certificate Trust Settings > Switch ON on Proxyman CA. ?

<!-- gh-comment-id:2716412509 --> @NghiaTranUIT commented on GitHub (Mar 12, 2025): @barayuda can you open Proxyman Mac -> Settings -> General Tab -> And share with me the name of your certificate? Do you see the certificate in Setting app > General > About > Certificate Trust Settings > Switch ON on Proxyman CA. ?
Author
Owner

@barayuda commented on GitHub (Mar 12, 2025):

@NghiaTranUIT I using Proxyman on my windows machine and here the name the certificate

Image

I saw the switch on but it instantly disappears when I want to click it

image

<!-- gh-comment-id:2716432414 --> @barayuda commented on GitHub (Mar 12, 2025): @NghiaTranUIT I using Proxyman on my windows machine and here the name the certificate ![Image](https://github.com/user-attachments/assets/30e1bb9f-1cf7-49bd-9656-abfb4500a081) I saw the **switch on** but it instantly disappears when I want to click it ![image](https://github.com/user-attachments/assets/8fc0418c-57d3-498d-989c-0d4ef1e681f3)
Author
Owner

@barayuda commented on GitHub (Mar 12, 2025):

Hi @NghiaTranUIT sorry, my bad when trying to install the certificate.
I just read again the instruction from the App on my windows. Just notice to "make sure the IP Server of the Proxyman" and same as proxy setup on my iPhone device. And, now I can using the proxyman. Thank you

image

<!-- gh-comment-id:2716463345 --> @barayuda commented on GitHub (Mar 12, 2025): Hi @NghiaTranUIT sorry, my bad when trying to install the certificate. I just read again the instruction from the App on my windows. Just notice to "make sure the IP Server of the Proxyman" and same as proxy setup on my iPhone device. And, now I can using the proxyman. Thank you ![image](https://github.com/user-attachments/assets/3d18a388-bd4a-4f56-b6be-3c17a0feb2d5)
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 12, 2025):

Glad it fixed 👍

<!-- gh-comment-id:2716554939 --> @NghiaTranUIT commented on GitHub (Mar 12, 2025): Glad it fixed 👍
Author
Owner

@maciejpigulski commented on GitHub (Aug 27, 2025):

I still had issue on iOS 18 and after much trial and errors I have discovered what was wrong with my setup.

When developing I have an iPhone connected via USB cable to my MacBook Pro. Given that on macOS I had Internet Sharing enabled in Settings->General->Sharing->iPhone USB then WiFi connection got ignored. iPhone starts using the internet via USB from my MBP.

After I disconnect the cable, then a miracle happens and WiFi starts to be utilized and Proxy settings start to work so everything starts working through Proxyman.

Solution for me to both have the USB cable used for app development and installation was to disable Internet Sharing completely so iPhone started using the WiFi again.

Maybe this will help someone.

<!-- gh-comment-id:3229735596 --> @maciejpigulski commented on GitHub (Aug 27, 2025): I still had issue on iOS 18 and after much trial and errors I have discovered what was wrong with my setup. When developing I have an iPhone connected via USB cable to my MacBook Pro. Given that on macOS I had `Internet Sharing` enabled in `Settings->General->Sharing->iPhone USB` then WiFi connection got ignored. iPhone starts using the internet via USB from my MBP. After I disconnect the cable, then a miracle happens and WiFi starts to be utilized and Proxy settings start to work so everything starts working through Proxyman. Solution for me to both have the USB cable used for app development and installation was to disable `Internet Sharing` completely so iPhone started using the WiFi again. Maybe this will help someone.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1288
No description provided.