Obtaining host certificates for Grid servers

Our host certificates are issued by the SWITCH CA (using the QuoVadis service). Go here for the web interface for the ordering via certificate request files.

Email request should be sent from CERN account. The following list of CERN Authorities should be recorded to enable digital signing with user certificate:

  • CERN Grid Certification Authority;
  • CERN Certification Authority;
  • CERN Root Certification Authority 2;

The keys and certificates are stored in a directory structure on the admin node

  • /root/clusteradmin/etc/hostkeys: contains helper scripts
  • /root/clusteradmin/etc/hostkeys/egieu/: contains key files, csr requests
  • /root/clusteradmin/etc/hostkeys/switch-QuoVadis/certs-2011/: contains certificates valid for a certain period
In /root/clusteradmin/etc/hostkeys on t3admin01 there is a helper script create_keys.sh and an openssl config file openssl.cnf which will help you to get rid of most of the typing for producing the required certificate request files for new machines.

Renewing certificates

Currently renewing a certificate involves again filling out a complete registration request. I reuse the old server keys and just copy again the old CSR files into the forms. If you want to see the content of a CSR file you can run the command:

openssl req -in ./t3se02.psi.ch-csr.pem  -text

Information in relation to earlier problems with SWITCH certificates

Problem 2: Some services (e.g. myproxy) have/had problems with the certificates for PSI, since the certificates for PSI contain parentheses in the DN ( O=Paul-Scherrer-Institut (PSI)), and the services had errors in the routines that did DN string comparisons. Probably the programmers had not taken into account that parentheses are valid characters in a DN, and failed to treat them correctly in the regexp comparisons.

Problem 1: The new switch certificates that are issued by QuoVadis, no longer have the email in the dn, so we should no longer see compatibility problems with some Grid services.
Warning, important The DN of the PSI certificates contains parentheses for the "(PSI)" part. This is not correctly parsed in some text matching functions (e.g. myproxy server) causing authentication failures (this is the result of a tough debugging marathon with Maarten Lithmaat in Dec of 2009)

Note: Due to a complex signing-policy configuration file, the SWITCH certificates showed problems in the past with certain non standards compliant services (quite a few). We need to test for dcache client compatibility and else get certificates from the LCG catch all CA at DOEGrids. However this entails defining a Registration Agent for PSI (see here).

First tests with dcache clients indicated that the SWITCH host certificates are ok for gridFTP and SRM protocols. gsidcap write fails due to space management problems not related to this, it seems.

Initial version: -- DerekFeichtinger - 13 Aug 2008

Edit | Attach | Watch | Print version | History: r17 | r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r13 - 2017-05-04 - NinaLoktionova
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback