Re: BUG: Failed to encrypt outgoing messages with non WSE2QuickStartClient certificate

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Hervey Wilson [MSFT] (herveyw.nospam_at_nospam.microsoft.com)
Date: 10/06/04


Date: Tue, 05 Oct 2004 23:28:03 -0700

DotNet Ed wrote:
> I am still using one that is slightly earlier than the one on .NET Framework
> v1.1, why? because the one in the v1.1 does not support the -pe switch.
>
> It is very confusing for users to have so many versions of makecert.exe. The
> results it gives sometimes give not much help as to why it failed either.
>

We understand, the WSE team tried hard to have the version in the .NET
Framework 1.1 SDK updated before it shipped but were unsuccessful. The
master version of makecert.exe can be found in the Platform SDK, this is
the version you should use.

Using the correct version of makecert.exe along with the right set of
switches can make all the difference in the world as to whether the
certificates will then work with WSE. Some problems that we've recently
resolved regarding makecert include:

- not using "-sky exchange" to generate a certificate capable of encrypting.

- not using "-sk <keyname>" to generate different keys for each
certificate. This one can cause all kinds of mischief from failure to
retrieve tokens to inability to recover the private key.

-- 
This posting is provided "AS IS", with no warranties, and confers no rights.


Relevant Pages

  • Re: Digital signatures in ZIP files
    ... I don't know the ZIP file format, but support for certificates in v1.0 of ... .NET Framework Security, http://www.amazon.com/exec/obidos/ASIN/067232184X ... > I have developed a class in C# to extract ZIP files, ... Input data cannot be coded as a valid ...
    (microsoft.public.dotnet.security)
  • Re: Extracting certificate from the smart card thru cryptoApi in c#
    ... there is good support for certificates in capi stores. ... See also "Using Cryptography with the .NET Framework" pp. 669 in ... ".NET Framework Security", ...
    (microsoft.public.dotnet.security)
  • Re: BUG: Failed to encrypt outgoing messages with non WSE2QuickStartClient certificate
    ... I am still using one that is slightly earlier than the one on .NET Framework ... because the one in the v1.1 does not support the -pe switch. ... > certificate for encryption. ... > from the latest Platform SDK, do NOT use the one from the .NET Framework ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: I need The method to get all the IP and Host name in an Inranet?
    ... Look at GetIpNetTable function in Platform SDK. ... You can use pInvoke to ... execute this. ... Not sure if an eq exists in .net framework. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Visual Studio .NET & Platform SDK
    ... You have the .NET Framework w/ its SDK, not the platform SDK. ... > However, if I want to use, for example, the Windows Installer SDK, will ... > Microsoft Visual Studio .NET Enterprise Developer ...
    (microsoft.public.vsnet.general)