The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Python Extension - Requests / Urllib modules - Certification Error

Savan | Last updated: Nov 29, 2020 05:37PM UTC

Hi Team, While using python's library requests and urllib to send the requests from Burp Extension, I am getting following error: raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='portswigger.net', port=443): Max retries exceeded with url: /burp (Caused by SSLError(SSLError(1, u'PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)'),)) It looks like certification path should be updated in following line(but not sure, how will it work in the case of extension): r = session.get(urldata, cookies=cookie, proxies=proxies, verify="path / to / cert") I tried to disable verification but did not work with extension, normally it works. r = session.get(urldata, cookies=cookie, proxies=proxies, verify=False) Could you please help me to resolve this issue? Thanks, Savan

Uthman, PortSwigger Agent | Last updated: Nov 30, 2020 11:10AM UTC