doronz88 / pymobiledevice3

Pure python3 implementation for working with iDevices (iPhone, etc...).
https://discord.gg/52mZGC3JXJ
GNU General Public License v3.0
1.19k stars 164 forks source link

Encountering `CERTIFICATE_VERIFY_FAILED` #991

Open omggodlike123 opened 2 months ago

omggodlike123 commented 2 months ago

Test environment

Describe the bug already open develop options on iphone, when i try to mount DeveloperDiskImage, get a ssl error

To Reproduce Steps to reproduce the behavior: open developer options and mounter the DeveloperDiskImage

Logs mounte device img failed, error: 2024-05-12 21:57:33 nwooden--MacBookPro18 pymobiledevice3.cli.mounter[4449] WARNING failed to query DeveloperDiskImage versions: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

omggodlike123 commented 2 months ago

python don't support ssl on mac? @doronz88 @davesc63

doronz88 commented 2 months ago

Sound like you're having a general SSL errors. Try re-pairing or fixing the device/you-mac's datetime settings

omggodlike123 commented 2 months ago

Sound like you're having a general SSL errors. Try re-pairing or fixing the device/you-mac's datetime settings

also don't work

looks like the same problem like https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error/73270162#73270162

doronz88 commented 2 months ago

do any other commands work? such as the syslog live?

omggodlike123 commented 2 months ago

do any other commands work? such as the syslog live?

it works. only have problem when i try use mounter on mac

doronz88 commented 2 months ago

Could not reproduce. Please try to debug yourself and report back where is this generated at

omggodlike123 commented 1 month ago

this bug happenes when i use mounter query DeveloperDiskImage versions it will reproduce when a user's mac don't have ssl CERTIFICATE.

this bug happenes when i use mounter query DeveloperDiskImage versions it will reproduce when a user's mac don't have ssl CERTIFICATE.

doronz88 commented 1 month ago

I don't understand your answer. Anyhow a PR is welcome