Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTCONDOR-2637 Request old DN formatting for certificate issuer #612

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/condor_ce_host_network_check
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def main():
# If the host cert is missing or unreadable, emit a warning but keep going.
hostcert = htcondor.param.get("GSI_DAEMON_CERT", "/etc/grid-security/hostcert.pem")
if os.access(hostcert, os.R_OK):
fd = os.popen("openssl x509 -in %s -noout -subject" % hostcert)
fd = os.popen("openssl x509 -in %s -noout -subject -nameopt compat" % hostcert)
dn = fd.read().strip()
if fd.close() or not dn:
print(f"WARNING: OpenSSL unable to parse host certificate {hostcert}; GSI configuration will likely fail.", file=sys.stderr)
Expand Down
Loading