locked
Could not establish trust relationship for the SSL/TLS :( RRS feed

  • Question

  • User-310369200 posted

    http://msdn.microsoft.com/en-us/library/aa563060.aspx

     

    I am coding based on the above link

    i have replaced my varible values well.

    on executing this i am getting an exception like

    "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

    "The remote certificate is invalid according to the validation procedure."

    How should i proced?

     

    Tuesday, October 20, 2009 5:18 AM

Answers

  • User214117797 posted

    I am coding based on the above link

    i have replaced my varible values well.

    on executing this i am getting an exception like

    "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

    "The remote certificate is invalid according to the validation procedure."

    How should i proced?

    Check the event logs, the most likely cause could the Certificate is not trusted, or its common name does not match its domain name etc

    You can as a test add the site to your trusted web site to see if it is an issue with the certificate chain like its CA is not in your trusted store.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 20, 2009 6:05 AM