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 Children
  • I don't know what to say to you, as I feel I've said it all before.

    I don't believe that the issue is with the MFWSClient library itself.  I don't believe that the issue is in RestSharp.  I believe the issue is with your infrastructure there.  I would assume that identifying and fixing the issue will be down to you and whoever administers the infrastructure.

    Obviously feel free to create an issue on the RestSharp github project if you disagree with me.