Adoxio / xRM-Portals-Community-Edition

The definitive edition of Microsoft Open Source Portals, supported by the experts in portals.
MIT License
107 stars 60 forks source link

Connection to Organization Service is closed when SSL v3 is used #59

Closed JCallico closed 6 years ago

JCallico commented 6 years ago

I'm getting the following error on the setup page:

The Organization Service URL is invalid. Metadata contains a reference that cannot be resolved: 'https://instancename.crm3.dynamics.com/XRMServices/2011/Organization.svc?wsdl&sdkversion=8.2'. The underlying connection was closed: An unexpected error occurred on a send. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. An existing connection was forcibly closed by the remote host

As soon as I disable the use of SSL v3 the problem goes away.

I'll send a pull request for this.

amervitz commented 6 years ago

This should not require any code changes, have you reviewed this wiki page? Enable TLS 1.2 and 1.1 support on older operating systems.

JCallico commented 6 years ago

@amervitz sadly modifying the windows registry on a server is not an option for me at the moment.

Anyway, I needed this change for me and my team. Other developers may experience the same problem when they open the solution for the first time and try to run it.

It's your call.

amervitz commented 6 years ago

Enabling TLS 1.2 is already stated in the system requirements to use this project, so we will graciously decline this PR.

JCallico commented 6 years ago

No problem.