Error with subjectAltName checks #7392
-
Dear all, I've just installed 5 additional servers to our instance. The admins provided us a unique host certificate for all of them but with many SubjectAlternativeName (SAN) entries, containing the diffrent DNS, i.e.:
As far as I understood this is allowed in DIRAC. Anyway, I've been able to install and run the slave CS on each of them, but I get an error when running the Framework_ComponentSupervisionAgent. On each host I get this kind of error:
All reference to these hosts in the CS are with the full hostname, i.e. ctadirac-01.cscs.cta-observatory.org, ctadirac-02.cscs.cta-observatory.org, etc. Do you have any idea of why this error happens? It doesn't seem to me related to the use of multiple SAN, but please let me know. I'm using DIRAC 8.0.34. Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @arrabito Could you run the python lines import socket
print(socket.getfqdn()) On the hosts? The Agent uses that. |
Beta Was this translation helpful? Give feedback.
-
Thank you @andresailer. You are right, the problem comes from fqdn not including the domain name. |
Beta Was this translation helpful? Give feedback.
Hi @arrabito
Could you run the python lines
On the hosts?
If that doesn't return the server name including the domain, something is wrong on the servers.
The Agent uses that.
DIRAC/src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py
Line 593 in 5df0f1d