Skip to content

Commit e453f34

Browse files
authored
fix: Use default (system) certificates instead of Mozilla's root certificates (influxdata#207)
1 parent 8568097 commit e453f34

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
### Features
44
1. [#203](https://github.com/influxdata/influxdb-client-python/pull/203): Allow configuring client via TOML file.
55

6+
### Bug Fixes
7+
1. [#206](https://github.com/influxdata/influxdb-client-python/pull/207): Use default (system) certificates instead of Mozilla's root certificates (certifi.where())
8+
69
### Documentation
710
1. [#202](https://github.com/influxdata/influxdb-client-python/pull/202): Added an example how to use RxPY and sync batching
811

influxdb_client/rest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import re
1919
import ssl
2020

21-
import certifi
2221
# python 2 and python 3 compatibility library
2322
import six
2423
from six.moves.urllib.parse import urlencode
@@ -85,8 +84,7 @@ def __init__(self, configuration, pools_size=4, maxsize=None, retries=False):
8584
if configuration.ssl_ca_cert:
8685
ca_certs = configuration.ssl_ca_cert
8786
else:
88-
# if not set certificate file, use Mozilla's root certificates.
89-
ca_certs = certifi.where()
87+
ca_certs = None
9088

9189
addition_pool_args = {}
9290
if configuration.assert_hostname is not None:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy