JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for LCG-ROLLOUT Archives


LCG-ROLLOUT Archives

LCG-ROLLOUT Archives


LCG-ROLLOUT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCG-ROLLOUT Home

LCG-ROLLOUT Home

LCG-ROLLOUT  May 2015

LCG-ROLLOUT May 2015

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: DEBUGGED (I think) : certwzard makes ~/.globus/certificates Re: SL5 (works) vs SL6 (not) emi-3 UI

From:

Mischa Salle <[log in to unmask]>

Reply-To:

LHC Computer Grid - Rollout <[log in to unmask]>

Date:

Wed, 27 May 2015 17:16:10 +0200

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (172 lines)

Hi Winnie, Daniela,

the default globus behaviour is described here:
http://toolkit.globus.org/toolkit/docs/6.0/gsic/admin/#idp36143376
Basically hasn't changed since GT3...
In summary, the lookup order:
    1. value of the X509_CERT_DIR environment variable
    2. $HOME/.globus/certificates
    3. /etc/grid-security/certificates exists
    4. $GLOBUS_LOCATION/share/certificates

Cheers,
Mischa

On Wed, May 27, 2015 at 03:33:41PM +0100, Daniela Bauer wrote:
> Hi Winnie,
> 
> Are you sure it's not just because in one case X509_CERT_DIR is set and in
> the other it isn't ?
> 
> Because as far as I can tell, it defaults to whatever is in .globus if that
> variable is unset - at least that's the case for my tarball UIs, your
> mileage  might vary with a yum install. I don't see any difference between
> SL5 and SL6.
> 
> Cheers,
> Daniela
> 
> 
> On 27 May 2015 at 14:32, Winnie Lacesso <[log in to unmask]>
> wrote:
> 
> > Good afternoon!
> >
> > Some time ago I posted about not being able to submit to / query CREAM-CE
> > or ARC-CE from an emi-3 SL6 UI I built - two of them. From an Oxford emi-3
> > SL6 UI, I could. From an emi-3 SL5 UI I built, I could. Not from emi-3 SL6
> > UI. I thot I was building it wrong somehow.
> >
> > I think this is debugged. When I run certwizard (as I do now+then to
> > renew my or host certs), it creates ~/.globus/certificates
> >
> > If that directory exists, query / submit to CE from emi-3 SL6 UI fails.
> > For me. Can anyone else confirm/deny?
> >
> > Eg from Oxford-built emi-3 SL6 UI:
> > lacesso@pplxint8> voms-proxy-init --voms cms
> > Enter GRID pass phrase for this identity:
> > (snip)
> > lacesso@pplxint8> uberftp lcgce03.phy.bris.ac.uk pwd
> > 220 lcgce03.phy.bris.ac.uk GridFTP Server 6.38 (gcc64, 1382984154-83)
> > [Globus Toolkit 5.2.5] ready.
> > 230 User cms090 logged in.
> > /home/cms090
> >
> > Works great! Create empty dir called certificates & try again:
> >
> > lacesso@pplxint8> cd ~/.globus; mkdir certificates
> > lacesso@pplxint8> uberftp lcgce03.phy.bris.ac.uk pwd
> > 220 lcgce03.phy.bris.ac.uk GridFTP Server 6.38 (gcc64, 1382984154-83)
> > [Globus Toolkit 5.2.5] ready.
> > Failed to init security context
> > GSS Major Status: Authentication Failed
> > GSS Minor Status Error Chain:
> > globus_gsi_gssapi: SSLv3 handshake problems
> > OpenSSL Error: s3_clnt.c:1172: in library: SSL routines, function
> > SSL3_GET_SERVER_CERTIFICATE: certificate verify failed
> > globus_gsi_callback_module: Could not verify credential
> > globus_gsi_callback_module: Can't get the local trusted CA certificate:
> > Untrusted self-signed certificate in chain with hash 7ed47087
> >
> > Fascinating. Confirm non-existence of certificates dir = it works again:
> >
> > lacesso@pplxint8> rmdir certificates
> > lacesso@pplxint8> uberftp lcgce03.phy.bris.ac.uk pwd
> > 220 lcgce03.phy.bris.ac.uk GridFTP Server 6.38 (gcc64, 1382984154-83)
> > [Globus Toolkit 5.2.5] ready.
> > 230 User cms090 logged in.
> > /home/cms090
> >
> > Confirmed.
> > So I don't run certwizard on the Ox emi-3 SL6 UI, but on my own Bristol
> > workstation (which gets rsync'd nightly to main NFS server, automounts to
> > Bristol UI's both SL5 & SL6);
> > which explains why everything I tried before on Ox emi-3 SL6 UI worked:
> > there
> > was no ~/.globus/certificates directory, just ~/.globus with my
> > usercert.pem
> > & userkey.pem in it.
> >
> > At Bristol I deleted ~/.globus/certificates almost by accident a while ago
> > (& so the copy on main NFS server got deleted) & later found my SL6 emi-3
> > UI working; but didn't understand why. Then it broke again - puzzle!
> >
> > Today I ran certwizard this afternoon & by chance again tried my emi-3 SL6
> > UI - it didn't work. But I noticed certwizard created a fresh new
> > ~/.globus/certificates directory:
> >
> > phpwl@lcgbdii> pwd   # never mind name, was site-bdii VM! now SL6 emi-3 UI
> > /users/phpwl/.globus
> > phpwl@lcgbdii> ls -ld certificates
> > drwxr-xr-x 2 phpwl users 4096 May 27 13:55 certificates/
> > phpwl@lcgbdii> uberftp lcgce04.phy.bris.ac.uk pwd
> > 220 lcgce04.phy.bris.ac.uk GridFTP Server 6.38 (gcc64, 1382984154-83)
> > [Globus
> > Toolkit 5.2.5] ready.
> > Failed to init security context
> > GSS Major Status: Authentication Failed
> > GSS Minor Status Error Chain:
> > globus_gsi_gssapi: SSLv3 handshake problems
> > globus_gsi_callback_module: Could not verify credential
> > globus_gsi_callback_module: Error with signing policy
> > globus_gsi_callback_module: Error in OLD GAA code: Could not get policy
> > info:
> > Minor status=201
> >
> > phpwl@lcgbdii> mv certificates certificates.made-by-certwizrd
> > phpwl@lcgbdii> uberftp lcgce04.phy.bris.ac.uk pwd
> > 220 lcgce04.phy.bris.ac.uk GridFTP Server 6.38 (gcc64, 1382984154-83)
> > [Globus
> > Toolkit 5.2.5] ready.
> > 230 User cms090 logged in.
> > /home/cms090
> >
> > So existence of ~/.globus/certificates = Not work from emi-3 SL6 UI.
> > I would never knowingly create ~/.globus/certificates, but certwizard
> > creates it, causing my attempts from SL6 emi-3 UI to fail.
> >
> > Same not true on SL5 emi-3 UI (automounts same NFS home dir)
> > phpwl@lcgmon01> pwd   # never mind name, used to be old APEL VM!
> > /users/phpwl/.globus
> > phpwl@lcgmon01> mv certificates.made-by-certwizrd certificates
> > phpwl@lcgmon01> uberftp lcgce04.phy.bris.ac.uk pwd
> > 220 lcgce04.phy.bris.ac.uk GridFTP Server 6.38 (gcc64, 1382984154-83)
> > [Globus Toolkit 5.2.5] ready.
> > 230 User cms090 logged in.
> > /home/cms090
> >
> > SL5 emi-3 UI not care if ~/.globus/certificates exists. SL6 emi-3 UI won't
> > work if it does. Can anyone else duplicate this?
> >
> > I bet it is probably documented somewhere: "you must have your
> > usercert.pem &
> > userkey.pem in a directory ~/.globus, & if there's a directory in there
> > called 'certificates' (even if empty), then functions from an emi-3 SL6 UI
> > won't work."
> > I wonder where.
> >
> > Thanks very much to Maarten & Jens for their patience while I debugged
> > this.
> >
> 
> 
> 
> -- 
> Sent from the pit of despair
> 
> -----------------------------------------------------------
> [log in to unmask]
> HEP Group/Physics Dep
> Imperial College
> London, SW7 2BW
> Tel: +44-(0)20-75947810
> http://www.hep.ph.ic.ac.uk/~dbauer/

-- 
Nikhef                      Room  H155
Science Park 105            Tel.  +31-20-592 5102
1098 XG Amsterdam           Fax   +31-20-592 5155
The Netherlands             Email [log in to unmask]
  __ .. ... _._. .... ._  ... ._ ._.. ._.. .._..

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

March 2024
November 2023
June 2023
May 2023
April 2023
March 2023
February 2023
September 2022
June 2022
May 2022
April 2022
February 2022
December 2021
November 2021
October 2021
September 2021
July 2021
June 2021
May 2021
February 2021
January 2021
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
November 2017
October 2017
September 2017
July 2017
June 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager