У меня есть служба REST, для которой я хотел бы получить клиентские сертификаты. system.serviceModel
выглядит следующим образом:Добавление клиентских сертификатов в стандартную Endpoint?
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
<standardEndpoints>
<webHttpEndpoint>
<!--
Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
via the attributes on the <standardEndpoint> element below
-->
<standardEndpoint name="TestService" helpEnabled="true" automaticFormatSelectionEnabled="true"/>
</webHttpEndpoint>
</standardEndpoints>
</system.serviceModel>
Я попытался модифицируя standardEndpoint быть:
<standardEndpoint name="TestService" helpEnabled="true" automaticFormatSelectionEnabled="true">
<security mode="Transport">
<transport clientCredentialType="Certificate" />
</security>
</standardEndpoint>
Но это не помогло. Что мне не хватает для включения клиентских сертификатов?
Вы настроили одну и ту же настройку на IIS? – Rajesh