We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd50b91 commit 960cb9dCopy full SHA for 960cb9d
reportportal_client/aio/client.py
@@ -161,9 +161,9 @@ async def session(self) -> RetryingClientSession:
161
ssl_config = False
162
else:
163
if type(self.verify_ssl) is str:
164
- ssl_config = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH, cafile=self.verify_ssl)
+ ssl_config = ssl.create_default_context(ssl.Purpose.SERVER_AUTH, cafile=self.verify_ssl)
165
166
- ssl_config = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH, cafile=certifi.where())
+ ssl_config = ssl.create_default_context(ssl.Purpose.SERVER_AUTH, cafile=certifi.where())
167
168
connection_params = {
169
'ssl': ssl_config,
0 commit comments