Signing with WSE 2.0, no cert on the server side, still works

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



I'm new to WSE, and have my first web service using WSE 2.0 working
successfully with the client signing the outbound message to the web
service.

I am now deploying the web service to a machine other than my dev box
(where all the certs are), and was surprised to see it working
successfully, even before I put the client/calling public key cert on
the web service machine.

I dug a little deeper and found that for the purposes of signing a SOAP
message, the caller public key is sent along with the message, so the
receiver doesn't need the cert - can just find the public key there.
(I think I've verified this by finding the wsse:BinarySecurityToken
element in the outbound message.)

So the question (or maybe really just a clarification):

The cert I have signed with on the client side is one created with the
MAKECERT tool, so it's derived from the "Test Root". Do details about
the cert (CN, etc) and the "certification path" get sent along with the
public key in the message?

Without the caller's full public key cert installed on the web service
machine, how does WSE know that it's derived from "Test Root" (which is
OK for now with the allowTestRoot=true setting)?

Or...does the web service machine not care about the cert path at the
point of verifying the signature. Maybe all it cares about is that the
message:
1) signature gets verified properly against the public key
2) cert matches the Subject Name and extension configured in the web
service policyCache.config file?

.



Relevant Pages

  • Re: WS SecureConverstion
    ... "Sumaira Ahmad" wrote in message ... > the same machine and Web Service B is on a different machine.. ... > WebS B. So he will use B's public key to encrypt. ... For a client when he ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Public Key from RSA CSP
    ... > I have created a Web Service that will be called from a java client. ... The java development team is not able to import the public key ...
    (microsoft.public.dotnet.security)
  • Re: WS SecureConverstion
    ... SO considering the scenario wherein my client and Web Service A is on ... WebS B. So he will use B's public key to encrypt. ... So A will store B's ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Bad Key
    ... I am working on a demo with WSE using WS-Security. ... This was then installed in the local computer under the Trusted Root ... Then I publish a web service which uses this same cert to encrypt ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: [WSE 3.0] I need some pointers for using security
    ... After some certificate exporting/importing and fiddling with the ... If I can use only one cert, is there any way to distribute and install ... Do a search for 'Web Service Security Patterns and Practices' on MS website. ...
    (microsoft.public.dotnet.framework.webservices)