[issue36137] SSL verification fails for some sites inside windows docker container

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: I'm closing this issue as duplicate of #36137. There is no need to keep two issues open for the same problem. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> SSL verification fails for some sites inside

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-28 Thread Christian Heimes
Christian Heimes added the comment: Err, I meant #36011 The enum cert store trick only breaks on a fresh installation. If you have used Windows for a bit (e.g. downloaded Firefox with Edge *g*), the root CA store is filled with common CA certs. Your certutil trick also works, as it triggers

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Mika Fischer
Mika Fischer added the comment: The easiest workaround I found (on Windows 10) is to use ``` certutil -generateSSTFromWU roots.sst && certutil -addstore -f root roots.sst && del roots.sst ``` before using Python... -- ___ Python tracker

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Mika Fischer
Mika Fischer added the comment: > This is probably a duplicate of #36137. I think you mixed up the issue number, #36137 is this issue. > Windows doesn't have CA certs pre-installed. They are downloaded from the > update server on demand. Python doesn't trigger the update but only uses >

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Christian Heimes
Christian Heimes added the comment: This is probably a duplicate of #36137. Windows doesn't have CA certs pre-installed. They are downloaded from the update server on demand. Python doesn't trigger the update but only uses certs that are already present. It's a design flaw in my

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Tianon
Change by Tianon : -- nosy: +tianon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: sure, I have just confirmed that this error does not occur with the last python 3.8a2 and that I don't have a Windows system for an eventual debugging session. -- ___ Python tracker

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Mika Fischer
Mika Fischer added the comment: Sorry if I wasn't completely clear. This issue occurs only on Windows and only when running python inside a windows docker container. The question is what is python using on Windows to verify SSL certificates and what might be different inside the container

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I can't reproduce it with python 3.8a2 and I don't have a laptop with Windows. -- nosy: +matrixise ___ Python tracker ___

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Mika Fischer
New submission from Mika Fischer : Inside a windows docker container, SSL verification fails for some but not all hosts. See this issue over in the docker repo: https://github.com/docker-library/python/issues/359 Maybe you guys could shed some light on what could be the possible. To