A secure channel could not be established for SSL / TLS
Hi,
I'm getting an error everytime the function client.send() is called:
The problem is, that the URL set in the HttpRequestMessage is a https.
Type: System.Net.WebException
Status: SecureChannelFailure
Message:
I have tried to obtain a self-signed certificate, but that did not help. Any suggestions?
Thanks!
The server has an Enable SSL setting in its configuration. Have you enabled it?
When I try to enable SSL in server configuration I get this error
When I do it through the CustomSettings.config file and restart the server I get this error in VS Code after restarting the server and publishing
I have created a self-signed certificate through the IIS.
Do you have anything in the eventviewer that may help?
No, the only thing present in the eventviewer is this
Type: Microsoft.Dynamics.Nav.Management.Exceptions.NavCommandException
SuppressMessage: False
DiagnosticsSuppress: False
SuppressExceptionCreatedEvent: False
FatalityScope: None
Message:
I have followed these instructions: https://docs.microsoft.com/en-us/dynamics-nav/how-to--configure-ssl-to-secure-the-connection-to-microsoft-dynamics-nav-web-client
It has been a while on this thread. Have you been able to solve your issue?