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
  • So how can I solve this? The internet I use is the internet of a large multi-user company. Maybe a change has been made regarding the firewall or SSL/TLS settings. The machine I use is a machine that is remotely controlled by the system administrator and necessary changes are made from time to time. I have no knowledge about this subject. If I can fully understand the solution to the error, I can decide more clearly what to do. What do you suggest I do about this? Of course, if the error is on the m-files side, the situation is different. The project I developed was prepared in Visual Studio with C#. I'm trying to access the vault in this project.

Children