Skip to content

Commit

Permalink
Merge pull request #84 from DrDaveD/release-3.7.1
Browse files Browse the repository at this point in the history
Include ca_certs to urllib3, update to 3.7.1
  • Loading branch information
matyasselmeci authored Feb 20, 2024
2 parents 5597cff + 163538d commit 097ebaf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions osgpkitools/rest_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import http.client
import logging
import socket
import ssl
import urllib3
import urllib.parse

Expand Down Expand Up @@ -28,6 +29,7 @@ def __init__(self, base_url, ssl_context, *args, **kwargs):
self.base_url = base_url

self.http = urllib3.PoolManager(ssl_context=ssl_context,
ca_certs=ssl.get_default_verify_paths().cafile,
timeout=urllib3.util.Timeout(connect=2, read=10))

def close_connection(self):
Expand Down
2 changes: 1 addition & 1 deletion osgpkitools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from .ExceptionDefinitions import *

VERSION_NUMBER = "3.7.0"
VERSION_NUMBER = "3.7.1"
HELP_EMAIL = 'help@opensciencegrid.org'


Expand Down
5 changes: 4 additions & 1 deletion rpm/osg-pki-tools.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: osg-pki-tools
Name: osg-pki-tools
Version: 3.7.0
Version: 3.7.1
Release: 1%{?dist}
Source: osg-pki-tools-%{version}.tar.gz
License: Apache 2.0
Expand Down Expand Up @@ -43,6 +43,9 @@ mv %{buildroot}/%{_prefix}/config/ca-issuer.conf %{buildroot}%{_sysconfdir}/osg/
%config(noreplace) %{_sysconfdir}/osg/pki/ca-issuer.conf

%changelog
* Tue Feb 20 2024 Dave Dykstra <dwd@fnal.gov> - 3.7.1
- Set the default ca_certs bundle for osg-incommon-cert-request.

* Tue Feb 20 2024 Dave Dykstra <dwd@fnal.gov> - 3.7.0
- Convert osg-incommon-cert-request to use urllib3 instead of M2crypto
for its https connection, to make it work properly on EL9.
Expand Down

0 comments on commit 097ebaf

Please sign in to comment.