[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-jce] Get a cert chain from Netscape Certificate Server



You can parse a X.509 certificate in PEM format (surrounded by "------BEGIN
CERTIFICATE----" "------END CERTIFICATE----" ) in the normal way by only
invoking the corresponding constructor of class iaik.x509.X509Certificate.
It automatically will recognize and handle the base64 encoding.

Dieter Bratko

----- Original Message -----
From: Lucia Bonelli
To: iaik-jce@iaik.tu-graz.ac.at
Sent: Monday, February 28, 2000 5:39 PM
Subject: [iaik-jce] Get a cert chain from Netscape Certificate Server


Hi all.

I succefully made a request to Netscape Certificate Server from a
stand-alone application (by using both iSaSiLk and IAIK-JCE).
If I know the serial number of the certificate,  how can I get the
certificate ?
I tried to do this (also from a stand-alone application) by requesting
the URL
https://netscapecertserver//cms?op=displayBySerial&serialNumber=num,
where num is the serial number of the issued certificate. Then I parsed
the script section of the html response to find the value
certChainBase64 (wich is the string printed in the html document between
"------BEGIN CERTIFICATE----" and "------END CERTIFICATE------").
How can I obtain my certificate from this string? Is this the rigth way
to get a certificate from Netscape Certificate Server?

Thanks in advance
--
Lucia Bonelli
Engineering Ingegneria Informatica SpA
Laboratorio Ricerca & Sviluppo
Viale del Castro Pretorio, 116
00185 Roma Italia
Tel. +39 06 44741123


--
Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content:
UNSUBSCRIBE iaik-jce




smime.p7s