From 88e3c45a0ff3e761fc144e2386ea17d4fbef4e89 Mon Sep 17 00:00:00 2001 From: Ole-Henrik Borlaug Date: Mon, 15 Mar 2021 15:52:14 +0100 Subject: [PATCH 1/4] Remove the use of Mozilla's root certificates and certific.where() --- influxdb_client/rest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/influxdb_client/rest.py b/influxdb_client/rest.py index fc908502..cfb15a0e 100644 --- a/influxdb_client/rest.py +++ b/influxdb_client/rest.py @@ -85,8 +85,7 @@ def __init__(self, configuration, pools_size=4, maxsize=None, retries=False): if configuration.ssl_ca_cert: ca_certs = configuration.ssl_ca_cert else: - # if not set certificate file, use Mozilla's root certificates. - ca_certs = certifi.where() + ca_certs = None addition_pool_args = {} if configuration.assert_hostname is not None: From f16a51cc2d04c40b4f36475ade0dee3a719ad905 Mon Sep 17 00:00:00 2001 From: Ole-Henrik Borlaug Date: Tue, 16 Mar 2021 07:29:50 +0100 Subject: [PATCH 2/4] Remove uneeded import and update CHANGELOG.md about bug fix #207 --- CHANGELOG.md | 3 +++ influxdb_client/rest.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 249f243e..21b5c8f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 1.16.0 [unreleased] +### Bug Fixes +1. [#206](https://github.com/influxdata/influxdb-client-python/pull/207): Remove the use of Mozilla's root certificates and certifi.where() + ### Features 1. [#203](https://github.com/influxdata/influxdb-client-python/pull/203): Allow configuring client via TOML file. diff --git a/influxdb_client/rest.py b/influxdb_client/rest.py index cfb15a0e..5c718f5e 100644 --- a/influxdb_client/rest.py +++ b/influxdb_client/rest.py @@ -18,7 +18,6 @@ import re import ssl -import certifi # python 2 and python 3 compatibility library import six from six.moves.urllib.parse import urlencode From bfc92e58e77d7895c4179f84725e54a49b542dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Tue, 16 Mar 2021 09:01:30 +0100 Subject: [PATCH 3/4] docs: updated CHANGELOG.md --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21b5c8f4..b3a58cc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ ## 1.16.0 [unreleased] -### Bug Fixes -1. [#206](https://github.com/influxdata/influxdb-client-python/pull/207): Remove the use of Mozilla's root certificates and certifi.where() - ### Features 1. [#203](https://github.com/influxdata/influxdb-client-python/pull/203): Allow configuring client via TOML file. +### Bug Fixes +1. [#206](https://github.com/influxdata/influxdb-client-python/pull/207): Use default (system) certificates instead of Mozilla's root certificates and certifi.where() + ### Documentation 1. [#202](https://github.com/influxdata/influxdb-client-python/pull/202): Added an example how to use RxPY and sync batching From d5b81ec5f2d364297c230e5c1ac672480abad5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Tue, 16 Mar 2021 09:11:35 +0100 Subject: [PATCH 4/4] docs: updated CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3a58cc8..af45456f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ 1. [#203](https://github.com/influxdata/influxdb-client-python/pull/203): Allow configuring client via TOML file. ### Bug Fixes -1. [#206](https://github.com/influxdata/influxdb-client-python/pull/207): Use default (system) certificates instead of Mozilla's root certificates and certifi.where() +1. [#206](https://github.com/influxdata/influxdb-client-python/pull/207): Use default (system) certificates instead of Mozilla's root certificates (certifi.where()) ### Documentation 1. [#202](https://github.com/influxdata/influxdb-client-python/pull/202): Added an example how to use RxPY and sync batching 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