> Hi:
>
[quoted text clipped - 3 lines]
>
> Peter
Hi Peter,
I have used this tool successfully on Win2K Server. I downloaded it
from here:
http://www.microsoft.com/downloads/details.aspx?familyid=c42e27ac-3409-40e9-8667
-c748e422833f
I had a heck of a time getting my digital certificates to work properly
until I read and followed this article..then it worked.
Go here: http://support.microsoft.com/kb/901183/EN-US
HTH,
Chenzo
Peter - 27 Oct 2005 20:16 GMT
Thank you for taking time to answer my question. After reading, I still could
not make the thing work. Here is what I did.
(1) Winhttpcertcfg.exe -i PFXFile -c LOCAL_MACHINE\My -a “AccountName”. It
is successful.
Then, I looked for current dir where PFXFile residents, there is no new
files. But I need a *.cert file to construct a X509Certificate, right? Where
could I find it? Ok, in the doc pointed by URL “If you are using the .NET
Framework 1.1, you must first export the key to a DER-encoded file. You must
export the key because the
System.Security.Cryptography.X509Certificates.X509Certificate class does not
contain methods to directly access the details of a certificate from a
certificate store. Therefore, the application must read the details of a
certificate from a DER-encoded file.”
How could I export the key and what is the key? I tried to cut cert key
portion of PFXFile and use X509Certificate.FromBase64String to get
X509Certificate, but it failed with "Could not establish secure channel for
SSL/TLS".
Any clue will be appreciated.
Thanks.
> > Hi:
> >
[quoted text clipped - 17 lines]
>
> Chenzo
Hi Peter,
I have used this tool successfully on Win2K Server. I downloaded it
from here:
http://www.microsoft.com/downloads/details.aspx?familyid=c42e27ac-3409-40e9-8667
-c748e422833f
I had a heck of a time getting my digital certificates to work properly
until I read and followed this article..then it worked.
Go here: http://support.microsoft.com/kb/901183/EN-US
HTH,
Chenzo
Peter - 27 Oct 2005 18:20 GMT
Thanks a lot!
> Hi Peter,
> I have used this tool successfully on Win2K Server. I downloaded it
[quoted text clipped - 9 lines]
>
> Chenzo