Hi Depti,

You can use the openssl command to see how long  certificates are valid:

$ openssl x509 -text -in /etc/grid-security/hostcert.pem
$ openssl x509 -text -in /etc/depti/globus/usercert.pem
$ openssl x509 -text -in /tmp/x509up_u502

I'm not sure but host and user certificates are probably valid for 1 year by 
default. A proxy credential is valid for 1 day. After one day you have to 
generate a new proxy credential from your user certificate. After one year you 
have to generate a new host certificate and a new user certificate.
More information about how it works and GSI at all you can find at 
http://www.globus.org/security/overview.html.

Regards,
Lukasz



On Jun 2, 2010, at 4:31 AM, Deepti Malhotra wrote:

> 
> Hi all
>               I have installed globus toolkit 5.0.1 on my PC. I have followed 
> the tutorial  given in  http://www.globus.org/toolkit/docs/5.0/5.0.1/
> 
>           In installing the simpleCA in step 5 i.e Verify the SimpleCA 
> certificate installation and in Verify Basic Security , in  both the cases it 
> is showing that the proxiy is valid upto Jun 3  2010 , if i have done it on 2 
> Jun, 2010.
> 
> Do i have to generate the host certificates  and user certificates everday or 
> i have to repeat these steps everday because the validity is only for 1 day.
> 
> Can anybody help me in sorting this
> 
> [dee...@webserver ~]$ grid-proxy-init -debug -verify
> 
> User Cert File: /home/deepti/.globus/usercert.pem
> User Key File: /home/deepti/.globus/userkey.pem
> 
> Trusted CA Cert Dir: /etc/grid-security/certificates
> 
> Output File: /tmp/x509up_u502
> Your identity: /OU=juhep.res.in./CN=Deepti Malhotra
> Enter GRID pass phrase for this identity:
> Creating proxy ..++++++++++++
> ..............++++++++++++
> Done
> Proxy Verify OK
> Your proxy is valid until: Thu Jun 3 01:53:16 2010 
> 
> 
> in step Verify Basic Security
> 
> [dee...@webserver ~]$ grid-proxy-init -verify -debug
> 
> User Cert File: /home/deepti/.globus/usercert.pem
> User Key File: /home/deepti/.globus/userkey.pem
> 
> Trusted CA Cert Dir: /etc/grid-security/certificates
> 
> Output File: /tmp/x509up_u502
> Your identity: /OU=juhep.res.in./CN=Deepti Malhotra
> Enter GRID pass phrase for this identity:
> Creating proxy .......++++++++++++
> ....................++++++++++++
> Done
> Proxy Verify OK
> Your proxy is valid until: Thu Jun 3 01:59:52 2010 
> 
> 
> Regards
> Deepti
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Regards
> Deepti Malhotra
> Research Scholar
> Deptt.Of Computer Science & IT
> Jammu University
> Jammu
> 

Reply via email to