C# application could not establish trust relationship for the SSL/TLS secure channel
<p>I have a windows application (C#) in local machine. When I add a web service as service reference I get this alert:</p>

<p><a href="https://i.stack.imgur.com/3A5jd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3A5jd.jpg" alt="Alert"></a></p>

<p>I clicked <code>Yes</code> button in this window. So web service installed in my application like this:</p>

<p><a href="https://i.stack.imgur.com/FNxLM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FNxLM.jpg" alt="Install"></a></p>

<p>Then I invoked this web service to form1.But I get this error:</p>

<p><a href="https://i.stack.imgur.com/EVsq4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EVsq4.jpg" alt="Error"></a></p>

<p>I tested <a href="https://stackoverflow.com/questions/24882121/could-not-establish-trust-relationship-for-the-ssl-tls-secure-channel-with-autho">this</a>. But isn't work fine. I read many another posts for solve this problem but they didn't work properly.</p>

<p>It would be very helpful if someone could explain solution for this problem.</p>