When our web app calls the Login() method on https://ecgridos.net/v2.3/prod/ecgridos.asmx, it receives this error: "Could not establish trust relationship for the SSL/TLS secure channel with authority 'ecgridos.net'." The odd thing is, when the user reloads the page and the same Login() method is called again, the error goes away.

Was there any changes with the certificate on the server lately? Have any other users experienced this issue? What can we do on our end to fix this error? Our users can still get by because all they have to do is to reload the page. But it gets annoying because the errors keep coming back if the user lets the page sit idle for too long.

It seems like this error only occurs on our production server because it's not trusting the certificate from ecgridos.net. I forced the app to trust the certificate from ecgridos.net by adding this line of code before making the web service call: