Forum Discussion

peteryesbut's avatar
peteryesbut
New Member
3 months ago

Certificate X509 WCF Svc Windows

Hello, I'm using  SoapUI 5.7.1

We have this .net wcf application :  url: https://bla/bla/bla/aaaaa.svc

In .net for a client config file I have this cert entry.

      <endpointBehaviors>
        <behavior name="FSPInternalEndpointClientBehavior">
          <clientCredentials>
            <clientCertificate findValue="*someCert.com" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="My"/>
            <serviceCertificate>
              <defaultCertificate findValue="*someCert.com"" storeLocation="LocalMachine" storeName="TrustedPeople" x509FindType="FindBySubjectName"/>
              <authentication certificateValidationMode="PeerTrust"/>
            </serviceCertificate>
          </clientCredentials>
        </behavior>
      </endpointBehaviors>

I have this cert  (*.somecert.com) in my Microsoft Computer certs,  and I have the matching  pfx file.  For that pfx file, I have a password.  My .net client can call the WCF service with no issues.

How do I configure SOAP UI to be able to call the WCF svc.  I followed: https://www.soapui.org/docs/soapui-projects/ws-security/ , and  I have tried many ways. So many options, and so many drop down ...   but I always get 

        <s:Reason>
            <s:Text xml:lang="en-US">An error occurred when verifying security for the message.</s:Text>
         </s:Reason>

any insight. 

Thanks

 

No RepliesBe the first to reply