C# Rest Api TLS/SSL Connection Error

Hi Everyone,

I am trying to connect to the cash register with the AuthenticateUsingCredentials function. While establishing a connection to the vault, I receive the error: The underlying connection was closed: "The trust relationship could not be established within the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure." There is no error in the username and password. Additionally, no changes have been made to the codes. What is the reason for receiving such an error in the previously accessed vault? What change should I make? Please help me. Thanks in advance.

Parents Reply
  • I'm not sure how much more I can guide you.  As I said: this is a situation where dotnet is not accepting the remote certificate; the exact reason could be any number of things.  It's highly unlikely that the issue is directly related to M-Files at all, but to the infrastructure around it.

    Trying to be helpful, maybe...

    • Have you looked at any of the options shown on the link I gave you? There was a huge range of possibilities there, so have you researched into whether any are appropriate?
    • Have you spoken to the administrator of the system(s) involved to see whether they've made a change?
Children