View Full Version : need text of certificate


djc
I need to obtain the same 'text' of a certificate that I would if I were to
use Verisign, or some other 3rd party certification authority, using
microsoft certificate services (windows 2000 server). How would I go about
doing that?

other info: using the certificates snapin I can request and get a
certificate but the format it opens in is a windows dialog, not just the
text I need. From this properties dialot I can 'copy to file' but again,
that creates files the only open the same type of properties dialog. Just
opening the file in notepad shows a lot of characters that lead me to
believe that is not the text I need. What I am expecting is similar to this:

-------------- BEGIN CERT------------------
KJDAKJDF;AKJDFKADJFADJFASDJFAK
ADJF;KLAJDF;AKJSDF;KASJDFKDFKDJ
ADL;KJFA;DJF;AKSDJF;ASKJDF;ADJF;A
ADKFJ;ASD;FJA;SDFFJ;AKSJDF;AKJDFA
AJ;SDFJKA;SDKJF;ASDFFJ;ALSJDFKDFJ
ETC...
------------- END CERT ---------------------

any help is appreciated. by the way, the cert is for an antivirus smtp
gateway that is managed via browser. It wants me to paste in the text of a
certificate to enable SSL for it's own little http server.



Eduard Koller [MSFT]
What OS are you using?
If you have any Windows Server 2003 or Windows 2000 Server sku, then you can
use the command line utility certutil.exe (also present in the adminpack) to
"dump" the certificate in the format you described.

--
Eddy Koller[MS]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"djc" wrote in message
news:uAr7kEfLEHA.624@TK2MSFTNGP11.phx.gbl...
>I need to obtain the same 'text' of a certificate that I would if I were to
> use Verisign, or some other 3rd party certification authority, using
> microsoft certificate services (windows 2000 server). How would I go about
> doing that?
>
> other info: using the certificates snapin I can request and get a
> certificate but the format it opens in is a windows dialog, not just the
> text I need. From this properties dialot I can 'copy to file' but again,
> that creates files the only open the same type of properties dialog. Just
> opening the file in notepad shows a lot of characters that lead me to
> believe that is not the text I need. What I am expecting is similar to
> this:
>
> -------------- BEGIN CERT------------------
> KJDAKJDF;AKJDFKADJFADJFASDJFAK
> ADJF;KLAJDF;AKJSDF;KASJDFKDFKDJ
> ADL;KJFA;DJF;AKSDJF;ASKJDF;ADJF;A
> ADKFJ;ASD;FJA;SDFFJ;AKSJDF;AKJDFA
> AJ;SDFJKA;SDKJF;ASDFFJ;ALSJDFKDFJ
> ETC...
> ------------- END CERT ---------------------
>
> any help is appreciated. by the way, the cert is for an antivirus smtp
> gateway that is managed via browser. It wants me to paste in the text of a
> certificate to enable SSL for it's own little http server.
>
>