[RESOLVED] tis-firefox package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

June 5, 2019 - 08:29

Hello, I'm having a problem with the Firefox package.

When I try to update, I get an error message that I can't fix.

Code: Select all

*** Console de processus distant Réinitialisée *** 
Ligne de Commande : update-package-sources "c:\waptdev\futur-Firefox_x64_PROD_fr-wapt\WAPT\.."
Using config file: C:\Users\matvou\AppData\Local\waptconsole\waptconsole.ini
C:\Program Files (x86)\wapt\lib\site-packages\urllib3\connection.py:362: SubjectAltNameWarning: Certificate for futwapt.futuroscope.fdn.fr has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
  SubjectAltNameWarning
2019-06-05 08:26:32,680 CRITICAL Fatal error in update_package function: SSLError: HTTPSConnectionPool(host='download.mozilla.org', port=443): Max retries exceeded with url: /?product=firefox-latest-ssl&os=win64&lang=fr (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),)):
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptpackage.py", line 2239, in call_setup_hook
    hookdata = hook_func()
  File "c:\waptdev\futur-Firefox_x64_PROD_fr-wapt\setup.py", line 69, in update_package
    url = requests.head('https://download.mozilla.org/?product=firefox-latest-ssl&os=%s&lang=%s' % (arch[control.architecture],control.description.split(' locale ')[1]),proxies=proxies).headers['Location']
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\api.py", line 101, in head
    return request('head', url, **kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\sessions.py", line 524, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\sessions.py", line 637, in send
    r = adapter.send(request, **kwargs)
  File "C:\Program Files (x86)\wapt\lib\site-packages\requests\adapters.py", line 514, in send
    raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host='download.mozilla.org', port=443): Max retries exceeded with url: /?product=firefox-latest-ssl&os=win64&lang=fr (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

FATAL ERROR : SSLError: HTTPSConnectionPool(host='download.mozilla.org', port=443): Max retries exceeded with url: /?product=firefox-latest-ssl&os=win64&lang=fr (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
Exit code:  3
To perform the update, do I need to re-import the package or manually download the software?
Last edited by Mathieu on July 14, 2019 - 10:43, edited 1 time.
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 5, 2019 - 8:50 AM

The precise message is:

Code: Select all

certificate verify failed
Apparently Python can't verify the HTTPS certificate. I did it last night and it worked. :?

You wouldn't happen to be using your firewall for a MITM [1] attack, would you?

[1] https://fr.wikipedia.org/wiki/Attaque_d ... _du_milieu
Locked