Skip to content

Commit 63337df

Browse files
committed
[net] On mac when reading https do not check TLS certificate
as Davix does not support it. In other words, set the Davix.GSI.CACheck parameter in the etc/system.rootrc file to n on macos and on y on other platforms.
1 parent 8eb599d commit 63337df

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

cmake/modules/RootConfiguration.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,11 @@ if(root7)
420420
else()
421421
set(hasroot7 undef)
422422
endif()
423+
if(APPLE)
424+
set(davixgsicacheck "n")
425+
else()
426+
set(davixgsicacheck "y")
427+
endif()
423428

424429
set(uselz4 undef)
425430
set(usezlib undef)

config/rootrc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ Davix.UseOldClient: @useoldwebfile@
591591
# Davix.GSI.CAdir: /etc/grid-security/certificates
592592

593593
# Enable/disable the Check on the peer's certificate
594-
# Davix.GSI.CACheck: y
594+
Davix.GSI.CACheck: @davixgsicacheck@
595595

596596
# Sets the HTTP client in Grid mode, to talk to Grid HTTP SEs
597597
# without having to set additional parameters

0 commit comments

Comments
 (0)