Hello,
I’m encountering an SSL certificate verification error when trying to build an APK using flet build apk
on macOS. Here are the details:
Error Message:
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1066) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate>
Environment:
- macOS 14.7.5
- Python 3.14
- Flet latest version
- Flutter 3.27.4 (attempting to install)
What I’ve Tried:
- Running
/Applications/Python\ 3.*/Install\ Certificates.command
- Manual Flutter installation via git
- Disabling SSL verification temporarily
- Using Python 3.11 instead of 3.14
- Checking internet connection and trying with VPN
Full Error Log:
[Attach the complete error output you shared]
The error occurs specifically when Flet tries to download Flutter during the build process. I would appreciate any guidance on how to resolve this certificate verification issue or alternative methods to build the APK.
Thank you for your assistance.
(I’m Russian)