I'm building my FederationMetadata.xml using the great tool by Shawn Cicoria (http://ift.tt/1Ho6Ykg) and with some tweaks I'm near my correct solution.
I need to set:
<system.identityModel.services>
<federationConfiguration>
<cookieHandler requireSsl="false" />
<wsFederation passiveRedirectEnabled="true" issuer="<issuer>" realm="<realm>" requireHttps="false" />
</federationConfiguration>
</system.identityModel.services>
Using the tool I can't se programmatically requireSsl="false" and requireHttps="false" I get true for both of them.
And:
<certificateValidation certificateValidationMode="PeerTrust" />
<trustedIssuers>
<add thumbprint="<thumbprint>" name="<cn>" />
</trustedIssuers>
</issuerNameRegistry>
But I can't fin a way to set certificateValidationMode="PeerTrust" and trustedIssuers section I got certificateValidationMode="None" and authority section-
Now I'm stucked because I need to se these tags on client's web.config that use my FederationMetadata, but I can't find any way to set them.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire