Hi Documentum Community,
I am currently having an issue trying to send a QueryService request to the endpoint that has client certificate authentication enabled.
The response from the server:
Message:System.InvalidOperationException: The client certificate is not provided. Specify a client certificate in ClientCredentials.
Below is my App.config for the Documentum:
<Emc.Documentum>
<FS>
<ConfigObject type="Emc.Documentum.FS.Runtime.Impl.Configuration.ConfigObject, Emc.Documentum.FS.Runtime" defaultModuleName="core" registryProviderModuleName="core" requireSignedUcfJars="true" useDefaultWebProxy="true" >
<ModuleInfo name="core" protocol="https" host="endpoint-with-client-certificate-auth" port="9443" contextRoot="services" />
</ConfigObject>
</FS>
</Emc.Documentum>
<system.serviceModel>
<services>
<service name="TestService1" behaviorConfiguration="TestServiceBehavior">
<endpoint address="" binding="basicHttpBinding" bindingName="DfsDefaultService" />
</service>
</services>
<bindings>
<basicHttpBinding>
<binding name="DfsDefaultService" closeTimeout="00:01:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="10000000" maxBufferPoolSize="10000000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Streamed" useDefaultWebProxy="true" >
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="Certificate" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<behaviors>
<endpointBehaviors>
<behavior name="TestServiceBehavior">
<clientCredentials>
<clientCertificate findValue="mycert"
storeLocation="LocalMachine"
storeName="Root"
x509FindType="FindByIssuerName">
</clientCertificate>
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
Any help will be greatly appreciated!! 😭