0

In WSE, everywhere the WSE2QuickStartServer certificate is used to encrypt and sign the messages.

What is special about this certificate and can we use any other certificate? If yes, what requirements should be satisfied by the certificate?

Note: I know that WSE is a legacy technology but customers use it at the moment; so we have to support it anyway !

Learner
  • 4,661
  • 9
  • 56
  • 102

1 Answers1

0

nothing special, you can use any other certificate. if you use it for signature you need to have a private key. basically any certificate that is good for ssl can work here also.

Yaron Naveh
  • 23,560
  • 32
  • 103
  • 158
  • Thanks for your inputs. I tried to use my SSL certificate for message encryption (by replacing WSE2QuickStartServer) as well but it does not work. – Learner Apr 24 '12 at 12:48
  • I suggest you double click on the 2 certificates and compare their properties (details tab) – Yaron Naveh Apr 24 '12 at 16:56
  • I have already compared the properties and for both the certificates, "Enable all purposes for this certificate" option is selected. – Learner Apr 25 '12 at 04:45
  • I get `System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. System.ArgumentException: OFSTS0003: X509TokenProvider is unable to provide an X.509 token. There are no certificates in the certificate store that match the find value of 'CN=MyserverCert'. `. I am using SSL server certificate as server signing and encryption. – Learner Apr 25 '12 at 11:08
  • It worked. Thanks for your time. I was not using the correct `SubjectDistinguishedName`. I copied it from the actual certificate and used it in the code to find the certificate. And it worked :) – Learner Apr 25 '12 at 11:31