At 17:27 25.06.99 +0200, you wrote:
Hallo,

>Goetz Babin-Ebell wrote:
>> At 10:01 24.06.99 +0200, you wrote:
>> >I know that major WWW browsers have a set of compiled-in
>> >certificates like Verisign, Thawte etc. I need the same
>> >for my application. Where can I find certificates
>> >for Verisign, Thawte etc. ?
>> 
>> You can extract the certificates from Netscape.
>> They are stored as PEM.
>> so all you have to do is a
>> 
>> strings <netscape programm>

>What is "strings" ? Is it an executable ? Where can I find it ?

strings extracts printable strings from a binary file.

It is a system command in a "decend" system.
(Sorry, after a full day banging my head against Windows I'm perhaps
 a little bit short tempered...)

>What do you mean by <netscape programm> ? Maybe netscape.exe ?

Yep.

You could try the folowing:
1. load Netscape.exe in a editor capable of handling so big binary files.

2. search for the string MIIC

3. extract everything until the next unprintable char

4. store this in a file

5. Add
        -----BEGIN CERTIFICATE-----
   before the string and
        -----END CERTIFICATE-----
   past the string
6. Add line breaks after every 64 chars to the string

7. save it to a file

8. continue with step 2.

OpenSSL should happily accept the exported certificates...

By

Goetz

-- 
Goetz Babin-Ebell                      mailto:[EMAIL PROTECTED]
TC Trust Center for Security           http://www.trustcenter.de
in Data Networks GmbH                  Tel.: +49-40-766 29 3301
Am Werder 1 / 21073 Hamburg / Germany  Fax.: +49-40-766 29 577
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to