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

xrootd 5.0.0 server not failing against pre-TLS client when configured to #1146

Closed
alrossi opened this issue Mar 3, 2020 · 1 comment
Closed

Comments

@alrossi
Copy link

alrossi commented Mar 3, 2020

using xrdcp 4.10.0 with two xrootd 5.0.0 servers.

With 1094, which is configured:

xrd.tls /etc/grid-security/xrootd/hostcert.pem /etc/grid-security/xrootd/hostkey.pem
xrd.tlsca noverify
xrootd.tls session


ofs.tpc fcreds ?gsi =X509_USER_PROXY logok pgm /usr/share/xrootd/v5.0.0/bin/xrdcp --server
sec.protocol gsi -cert:/etc/grid-security/xrootd/hostcert.pem -key:/etc/grid-security/xrootd/hostkey.pem -dlgpxy:1 -exppxy:=creds

the client fails the TLS handshake but keeps retrying (attached log).

With 1096, configured:

xrd.tls /etc/grid-security/xrootd/hostcert.pem /etc/grid-security/xrootd/hostkey.pem
xrd.tlsca certdir /etc/grid-security/certificates log failure
xrootd.tls login

sec.protocol unix

the client fails with a login failed (from the TLS handshake).

In both cases, the "capable" directive is not given, so TLS should be enforced.

Client logs:

1094.log
1096.log

@abh3
Copy link
Member

abh3 commented Apr 1, 2020

I am closing this as it is essentially a duplicate of #1152 and that was fixed by commit 1cc5904
which should fix this issue as well.

@abh3 abh3 closed this as completed Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants