Monday, August 07, 2006

How to extract your DN (Distinguished Name) from your certificate

The recepie below may not be the simplest but this is what I had discovered while learning this subject

From the browser which holds your certificate make a bakup that will save it in p12 format.
If you are working under Windows, this is the right moment to FTP it to
Linux where life are easier, then proceed from you Linux computer by converting the *.p12 certificate to *.pem format:

openssl pkcs12 -info -in guy_cert_iucc_expired.p12 -out ~/.globus/usercert.pem

(don't forget BTW to chmod 644 this file)

then, extract the DN by:

/usr/local/globus-4.0.2/bin/grid-cert-info -subject

in my case the result will be:

/C=IL/O=IUCC/CN=IUCC/emailAddress=ca@mail.iucc.ac.il

which is my DN

actually you can simply grep the string subject from usercert.pem

Good luck

2 comments:

your said...

phentermine nice :)

lipitor effects said...

black mold exposureblack mold symptoms of exposurewrought iron garden gatesiron garden gates find them herefine thin hair hairstylessearch hair styles for fine thin hairnight vision binocularsbuy night vision binocularslipitor reactionslipitor allergic reactionsluxury beach resort in the philippines

afordable beach resorts in the philippineshomeopathy for eczema.baby eczema.save big with great mineral makeup bargainsmineral makeup wholesalersprodam iphone Apple prodam iphone prahacect iphone manualmanual for P 168 iphonefero 52 binocularsnight vision Fero 52 binocularsThe best night vision binoculars here

night vision binoculars bargainsfree photo albums computer programsfree software to make photo albumsfree tax formsprintable tax forms for free craftmatic air bedcraftmatic air bed adjustable info hereboyd air bedboyd night air bed lowest pricefind air beds in wisconsinbest air beds in wisconsincloud air beds

best cloud inflatable air bedssealy air beds portableportables air bedsrv luggage racksaluminum made rv luggage racksair bed raisedbest form raised air bedsaircraft support equipmentsbest support equipments for aircraftsbed air informercialsbest informercials bed airmattress sized air beds

bestair bed mattress antique doorknobsantique doorknob identification tipsdvd player troubleshootingtroubleshooting with the dvd playerflat panel television lcd vs plasmaflat panel lcd television versus plasma pic the bestThe causes of economic recessionwhat are the causes of economic recessionadjustable bed air foam The best bed air foam

hoof prints antique equestrian printsantique hoof prints equestrian printsBuy air bedadjustablebuy the best adjustable air bedsair beds canadian storesCanadian stores for air beds

migraine causemigraine treatments floridaflorida headache clinicdrying dessicantair drying dessicantdessicant air dryerpediatric asthmaasthma specialistasthma children specialistcarpet cleaning dallas txcarpet cleaners dallascarpet cleaning dallas

vero beach vacationvero beach vacationsbeach vacation homes veroms beach vacationsms beach vacationms beach condosmaui beach vacationmaui beach vacationsmaui beach clubbeach vacationsyour beach vacationscheap beach vacations