Skip to content

Commit e3ac068

Browse files
author
Markus Opolka
authored
Merge pull request #68 from ccin2p3/feature/load_default_ca_certs
[TLS] Always load system default C.A files
2 parents cdb2474 + 63542f3 commit e3ac068

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

check_http_json.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ def main(cliargs):
550550
context.verify_mode = ssl.CERT_NONE
551551
else:
552552
context.verify_mode = ssl.CERT_OPTIONAL
553+
context.load_default_certs()
553554
if args.cacert:
554555
try:
555556
context.load_verify_locations(args.cacert)

0 commit comments

Comments
 (0)