Skip to content

Commit ec2f013

Browse files
committed
fix: set _CONDOR_AUTH_SSL_CLIENT_CADIR before executing condor commands
1 parent 9d0a7b8 commit ec2f013

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DIRAC/Resources/Computing/HTCondorCEComputingElement.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ def _executeCondorCommand(self, cmd, keepTokenFile=False):
272272
htcEnv = {
273273
"_CONDOR_SEC_CLIENT_AUTHENTICATION_METHODS": "SCITOKENS",
274274
"_CONDOR_SCITOKENS_FILE": self.tokenFile.name,
275+
"_CONDOR_AUTH_SSL_CLIENT_CADIR": os.environ.get("X509_CERT_DIR", "/etc/grid-security/certificates"),
275276
}
276277
else:
277278
htcEnv = {"_CONDOR_SEC_CLIENT_AUTHENTICATION_METHODS": "GSI"}

0 commit comments

Comments
 (0)