Is valid SSL certificate required for claim based authentication in Sharepoint Foundation 2010?

I am trying to get claims-based authentication to work with the Sharepoint Foundation 2010. I have been following several online tutorials and adding my roles and membership providers to web.config applications, as well as the STS web service, (I actually added providers to machine.config , but tried to use both methods with the same results.) An exception that occurs when trying to authenticate (or even just view the service):

System.InvalidOperationException: The exception was caused by a call to the policy export extension. Extension: System.ServiceModel.Channels.TransportSecurityBindingElement Error: Export security policy failed. The binding contains the TransportSecurityBindingElement element, but not the transport binding element that implements ITransportTokenAssertionProvider. Policy export for this binding is not supported. Verify that the transport binding element in the binding implements the ITransportTokenAssertionProvider interface.

Now I access the service through SSL, but with a self-signed certificate (which triggers a standard warning in IE). This is supposed to be a flag in the web service configuration section called "allowInsecureTransport", but this is apparently only available in .net 4. When I try to see the version of the framework in the application pool for this web service to use v4, the service will not work at all.

If someone out there successfully configured their own authentication provider (based on SqlMembershipProvider) to work with Sharepoint 2010, I would be very interested in how you succeeded. I don’t have a certificate for this server yet, but if that’s really all I’m missing, I will order it today! Thank.

+3
source share
1

:

.NET Framework 3.5 1 (SP1), WCF.

http://technet.microsoft.com/en-us/library/cc262485.aspx

:

Windows Server 2008 2 (SP2) FIX: .NET Framework 3.5 1 (SP2) , WCF (http://go.microsoft.com/) fwlink/? LinkID = 160770)

Windows Server 2008 R2 FIX: .NET Framework 3.5 1 (SP2) (http://go.microsoft.com/fwlink/) , WCF.? LinkID = 166231)

+2

Source: https://habr.com/ru/post/1785493/


All Articles