Showing posts with label Security. Show all posts
Showing posts with label Security. Show all posts

Friday, August 27, 2010

Could not establish trust relationship for the SSL/TLS secure channel with authority

I've working on interfacing with a 3rd party web service recently. The development version of the service had an SSL certificate that was issued to different host than the one deployed on. This, as expected, was throwing out "Could not establish trust relationship for the SSL/TLS secure channel with authority" exceptions at run time.

I did some research on how to overcome certificate issues and this link covers most of the techniques available.

More instructions on creating a temporary certificate for development:
Create and Install Temporary Certificates

Please understand there's a reason why the webservice call fails. These techniques should only be used for testing in a dev environment against a trusted service.

Sunday, August 01, 2010

Assigning Roles to a deactivated Users in CRM

This cannot be done. I found out the hard way when trying to write a user syncing service. It makes sense if you really think about it; why would you want to assign a role to a deactivated user anyway?

If you still want to do this the work around is to temporarily activate the user, assign the roles and deactivate him again.

Hope this helps someone out there.