Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA Setup is incorrect in python:4-python3.11 Image (Sectigo CA) #1074

Open
ytausch opened this issue May 5, 2024 · 0 comments
Open

CA Setup is incorrect in python:4-python3.11 Image (Sectigo CA) #1074

ytausch opened this issue May 5, 2024 · 0 comments

Comments

@ytausch
Copy link

ytausch commented May 5, 2024

Steps to Reproduce

docker run -d mcr.microsoft.com/azure-functions/python:4-python3.11
docker exec -it <CONTAINER_NAME> /bin/bash
pip install requests
python
requests.get("https://www.uni-bayreuth.de/")

Output

requests.exceptions.SSLError: HTTPSConnectionPool(host='www.uni-bayreuth.de', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))

Expected Result

The request should go through normally.

It seems like there is an issue with the Sectigo CA that https://www.uni-bayreuth.de/ uses as other webpages don't cause trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant