Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

FederationMetadata.xml tags generation

$
0
0

I'm building my FederationMetadata.xml using the great tool by Shawn Cicoria (http://stackoverflow.com/a/6535174/975520) 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:

<certificateValidationcertificateValidationMode="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.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>