I am getting this error “The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.” on mvc application.
Below web config code:
When i published code.I got this message "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." on error log.But when i set requireSSL="false" in web config it's working Properly.but in security tool it shows vulnerabiltiy.
Please help!
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Puneet KankarRank #446 · 5.6K reputationPosted Jul 13, 2017, 10:23 PM EDT