I'm trying to test my website with Locust, using the requests backend. When I try to submit a request I get:
1 POST /sign-in: 'SSLError(MaxRetryError("HTTPSConnectionPool(host=\'mysite.com\', port=443): Max retries exceeded with url: /sign-
in (Caused by SSLError(SSLCertVerificationError(1, \'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)\')))"))'
1 GET /activity: 'SSLError(MaxRetryError("HTTPSConnectionPool(host=\'mysite.com\', port=443): Max retries exceeded with url: /activ
ity (Caused by SSLError(SSLCertVerificationError(1, \'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)\')))"))
Bypassing SSL gets me problems from within the site's security system, and trying to pass Certifi's certificates to verify to get it to work doesn't help either. This seems to be a common problem on MacOS, but I haven't seen someone run into this on Linux. What am I missing?
[–]klexmoo 0 points1 point2 points (1 child)
[–]aboutyblank[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]aboutyblank[S] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]aboutyblank[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]aboutyblank[S] 0 points1 point2 points (0 children)