Dear all,
We have a user using the CTA instance, having some problem when running dirac-configure.
Here below the output of its commands:
$ python dirac-install -V CTA
2014-08-18 19:00:21 UTC dirac-install [NOTICE] Processing installation requirements
2014-08-18
19:00:22 UTC dirac-install [NOTICE] Destination path for installation
is /nfs/farm/g/agis/u01/hughd/software/dirac/versions/v1r21p2_1408388422
2014-08-18 19:00:24 UTC dirac-install [NOTICE] Discovering modules to install
2014-08-18 19:00:24 UTC dirac-install [NOTICE] Installing modules...
2014-08-18 19:00:24 UTC dirac-install [NOTICE] Installing DIRAC:v6r11p4
2014-08-18 19:01:25 UTC dirac-install [NOTICE] Installing CTADIRAC:v1r21p2
2014-08-18 19:01:57 UTC dirac-install [NOTICE] Deploying scripts...
Scripts will be deployed at /nfs/farm/g/agis/u01/hughd/software/dirac/versions/v1r21p2_1408388422/scripts
Inspecting DIRAC module
Inspecting CTADIRAC module
2014-08-18 19:02:06 UTC dirac-install [NOTICE] Installing client externals...
2014-08-18 19:03:48 UTC dirac-install [NOTICE] Fixing externals paths...
2014-08-18 19:03:53 UTC dirac-install [NOTICE] Running externals post install...
2014-08-18
19:04:22 UTC dirac-install [NOTICE] Executing
/nfs/farm/g/agis/u01/hughd/software/dirac/versions/v1r21p2_1408388422/scripts/dirac-fix-mysql-script...
2014-08-18 19:04:30 UTC dirac-install [NOTICE] Creating /nfs/farm/g/agis/u01/hughd/software/dirac/bashrc
2014-08-18 19:04:30 UTC dirac-install [NOTICE] Creating /nfs/farm/g/agis/u01/hughd/software/dirac/cshrc
2014-08-18 19:04:30 UTC dirac-install [NOTICE] Defaults written to defaults-CTA.cfg
2014-08-18
19:04:30 UTC dirac-install [NOTICE] Executing
/nfs/farm/g/agis/u01/hughd/software/dirac/versions/v1r21p2_1408388422/scripts/dirac-externals-requirements...
2014-08-18 19:04:42 UTC dirac-install [NOTICE] CTA properly installed
$ dirac-proxy-init -x
Generating proxy...
Enter Certificate password:
Proxy generated:
subject : /DC=com/DC=DigiCert-Grid/O=Open Science Grid/OU=People/CN=Hugh Dickinson 2723/CN=proxy
issuer : /DC=com/DC=DigiCert-Grid/O=Open Science Grid/OU=People/CN=Hugh Dickinson 2723
identity : /DC=com/DC=DigiCert-Grid/O=Open Science Grid/OU=People/CN=Hugh Dickinson 2723
timeleft : 23:59:59
path : /tmp/x509up_u12941
$ dirac-configure -dd defaults-CTA.cfg
2014-08-20
14:19:24 UTC dirac-configure NOTICE: Executing:
/nfs/farm/g/agis/u01/hughd/software/dirac/versions/v1r21p2_1408544047/DIRAC/Core/scripts/dirac-configure.py
-dd defaults-CTA.cfg
2014-08-20
14:19:24 UTC dirac-configure NOTICE: Checking DIRAC installation at
"/nfs/farm/g/agis/u01/hughd/software/dirac/versions/v1r21p2_1408544047"
2014-08-20 14:19:24 UTC dirac-configure VERB: /DIRAC/Setup = CTA
2014-08-20 14:19:24 UTC dirac-configure VERB: /DIRAC/VirtualOrganization =
vo.cta.in2p3.fr2014-08-20 14:19:24 UTC dirac-configure VERB: /DIRAC/Security/UseServerCertificate = no
2014-08-20 14:19:24 UTC dirac-configure VERB: /DIRAC/Security/SkipCAChecks = yes
2014-08-20
14:19:24 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:25 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:25 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:26 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:27 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:27 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:28 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:29 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:29 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:30 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:30 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:31 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
2014-08-20
14:19:31 UTC dirac-configure/BundleDelivery INFO: Current hash for
bundle CAs in dir
/nfs/farm/g/agis/u01/hughd/software/dirac/versions/v1r21p2_1408544047/etc/grid-security/certificates
is ''
2014-08-20
14:19:31 UTC dirac-configure/BundleDelivery ERROR: Could not sync dir
Cannot get URL for Framework/BundleDelivery in setup CTA: Option
/DIRAC/Setups/CTA/Framework is not defined
It seems that the error is:
2014-08-20
14:19:31 UTC dirac-configure WARN: Error while handshaking [("Remote
certificate hasn't been accepted", 'SSL routines', 'SSL3_READ_BYTES',
'tlsv1 alert unknown ca')]
However it's quite strange, since we
had already another user with a certificate issued by the same CA that
succeeded to install the DIRAC client.
I've also checked the directory:
/opt/dirac/etc/grid-security/certificates
on the DIRAC server and it seems to be updated.
I'm not sure how to verify that the issuer CA is known, if this is the problem.
Finally, another strange thing is that the user gets 2 different DN when doing:
$ dirac-proxy-init
Generating proxy...
Enter Certificate password:
DN /DC=com/DC=DigiCert-Grid/O=DigiCert Grid/CN=DigiCert Grid Root CA is not registered
and:
$ dirac-proxy-init -x
Generating proxy...
Enter Certificate password:
Proxy generated:
subject : /DC=com/DC=DigiCert-Grid/O=Open Science Grid/OU=People/CN=Hugh Dickinson 2723/CN=proxy
issuer : /DC=com/DC=DigiCert-Grid/O=Open Science Grid/OU=People/CN=Hugh Dickinson 2723
identity : /DC=com/DC=DigiCert-Grid/O=Open Science Grid/OU=People/CN=Hugh Dickinson 2723
timeleft : 23:59:59
path : /tmp/x509up_u12941
In the CS the user is registered as:
hughd
{
DN = /DC=com/DC=DigiCert-Grid/O=Open Science Grid/OU=People/CN=Hugh Dickinson 2723
CA = /DC=com/DC=DigiCert-Grid/O=DigiCert Grid/CN=DigiCert Grid CA-1
The same DN is also the one registered in the VOMS server.
I don't know where this inconsistency comes from.
Any idea about this issue?
Thanks in advance,
Luisa