| User Support & Documentation | ||
Single Sign-on (SSO) with Non-Default CertificatesOn this page
Related Links
Need Help?Set-up diagramIf you will be computing or transferring data across multiple TeraGrid resources, and you need to use a certificate from a different CA (not the default certificate issued for the TeraGrid by theNCSA CA), then you will need to manually enable Single Sign-on. This requires performing a set-up procedure at all the sites where you will be computing so that your user certificate will be recognized by each TeraGrid resource. Once you have successfully completed the steps below, you will have single sign-on capabilities across the TeraGrid resources. That is, you can make any TeraGrid resource site the starting point for all your grid computing. Procedure
1. Create an X.509 CertificateAfter you have received your account information packet in the mail, obtain ONE certificate from an accepted Certificate Authority (CA) below. One certificate can be used for all sites. If you already have a valid certificate from the following list, you do not need a new one. Follow the directions provided from the site that you select below. Files Created by CAsCertificate authorities typically create at least two files, stored in a .globus directory:
In some cases (such as when the "cacl" command is used), a file called usercert.p12 is created. This is a private key and, although it is encrypted, should not be copied or sent to other parties. This file is used by web browsers. 2. Set up a DN entry in each site's grid-mapfileOnce you have a certificate, you need to create a DN entry in the grid-mapfile at each of the sites where you will be grid computing. A DN is a globally unique identifier that represents you as an individual. gx-request is the command used to accomplish this. After the grid-mapfile at each site has been updated with your DN entry, you will be able to use single-sign on to work on all resources where you have an allocation. That is, you will login only once each session by initiating a certificate proxy session. You will use the passphrase that you used to install your certficate. Example of a TeraGrid certificate DN:NCSA DN Please note that the gx-request command replaces gx-map, although you may still see references to gx-map in documents and in the INCA monitoring systm, since gx-map is still the name of the application. gx-request can be run with a number of parameters:
If you can't use gx-request -quick-add, and you use gx-request -interactive, the process will interactively prompt for the information it needs. (see sample gx-request -interactive session) One of the steps asks for the DN entry. You will need to find your DN. See Identify your DN below. Once the request is submitted, the update should occur within a few minutes. Identify Your DN at IU, NCSA, ORNL, SDSC, UC/ANLLog in to the machine where your certificate resides (usually in a .globus directory under your home directory), and issue the following command to see your DN: grid-cert-info -subject The following is an example response for an NPACI user: /C=US/O=NPACI/OU=SDSC/CN=FullName/ \ 3. Verifying Your Certificate & DNTo see if your DN has been added to a site's grid-mapfile, log into a TeraGrid platform at that site and issue the following command (replace "your_username" with the appropriate username for your account): % grep your_username /etc/grid-security/grid-mapfile 4. Create a Certificate ProxyOnce your DN is located in the grid-mapfiles of all the resources where you plan to compute, you are ready to start using Single Sign-on. To initiate each session, you will need to create a certificate proxy. This short-term credential will allow you to connect to multiple resources without logging in separately to each one. Creating a proxy must be done each time you wish to initiate a work session on the TeraGrid. Creating a proxy the first time is another way to test that our certificate and DN have been properly propagated. See the "Certificate Proxy" page, for instructions on the final step required to enable Single Sign-on (authentication by certificate) across TeraGrid sites.Exceptions for PSC and SDSCException for SDSC CertificateCertificates issued by the SDSC CA are automatically propagated to SDSC internal systems, Datastar, and the SDSC IA-64 TG cluster. Users do not need to run gx-request themselves on SDSC systems for these certificates. PSC Exceptionsgx-request is not configured on PSC resources. Please see the following: Create a Certificate and Identifying Your DN at PSCAt PSC, the KX.509 certificate system is used. Because KX.509 does not use traditional long-term X.509 certificates, the 'grid-cert-info' command that is described above for the other sites is not applicable. In addition, users must provide the DN entry manually. Therefore, the process is a little different. If you are a PSC KX.509 user--that is, if you want to obtain a short-term certificate from PSC--you must first obtain a Kerberos principal and KX.509 certificate (see PSC's web site for more instructions), then create a proxy. The DN information is obtained from the proxy. kinit user@PSC.EDU; kx509; kxlist -p After creating the proxy, enter the following command to obtain your DN information: grid-proxy-info -subject Request DN Entry by Web Interface or EmailAdding a DN entry to the PSC grid-mapfile may be accomplished via two methods:
For more details on certificate proxies and PSC proxies in particular, see: Please Note: When submitting jobs to tg-globus-submit.psc,teragrid.org (a.k.a. tg-globus-submit.psc.edu), users with long term certificates should execute 'grid-proxy-init -new' instead of simply 'grid-proxy-init' because some older releases of grid-proxy-init have been found to not to default to the "new" proxy format. Editing Your Grid-mapfile at PSCTo edit your grid-mapfile via a web interface, go to https://dirs.psc.edu/teragrid/userpage. This site requires logging in with your PSC Kerberos password. |
||
![]() |
![]() |
|
The TeraGrid project is funded by the National Science Foundation
and includes 11 partners: Please email help@teragrid.org with questions or comments. This site is XHTML 1.0 Transitional, CSS compliant. |
||
![]() |
![]() |