UbuntuAsahi / ubuntu-asahi

Native Ubuntu installations for Apple silicon hardware
https://ubuntuasahi.org/
867 stars 27 forks source link

Bug : CERTIFICATE_VERIFY_FAILED - unable to download and install #111

Closed jitunayak closed 7 months ago

jitunayak commented 7 months ago

04-25 11:28 root INFO OS package URL: https://files.tobhe.de/ubuntu/os/ubuntu-desktop-23.10-20240209.zip 04-25 11:28 root INFO MSG: Downloading OS package info... 04-25 11:28 root ERROR Exception caught Traceback (most recent call last): File "/private/tmp/asahi-install/main.py", line 1058, in InstallerMain(installer_version).main() File "/private/tmp/asahi-install/main.py", line 866, in main while self.main_loop(): File "/private/tmp/asahi-install/main.py", line 1021, in main_loop return self.action_install_into_free(parts_free) File "/private/tmp/asahi-install/main.py", line 292, in action_install_into_free self.osins.load_package() File "/private/tmp/asahi-install/osinstall.py", line 47, in load_package self.ucache = urlcache.URLCache(package) File "/private/tmp/asahi-install/urlcache.py", line 26, in init self.size = self.get_size() File "/private/tmp/asahi-install/urlcache.py", line 67, in get_size con.request("HEAD", self.url.path, headers={"Connection":" keep-alive"}) File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1257, in request self._send_request(method, url, body, headers, encode_chunked) File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1303, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1252, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1012, in _send_output self.send(msg) File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 952, in send self.connect() File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1426, in connect self.sock = self._context.wrap_socket(self.sock, File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1040, in _create self.do_handshake() File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'files.tobhe.de'. (_ssl.c:1129) 04-25 11:28 root INFO MSG: If you need to file a bug report, please attach the log file: 04-25 11:28 root INFO MSG: /private/tmp/asahi-install/installer.log

tobhe commented 7 months ago

Thanks for the report, should be fixed now!