Announcements
No record found.
Hi experts,
We have a third-party module purchase it from the partner and we don't have the source code.
It worked very well until yesterday now I get this error.
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.
Thanks
Could the TLS version have changed? If there is such a change, you can ask the 3rd party and add the new TLS in the code.
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls12;
The situation is more difficult if the problem is caused by the SSL certificate. In environments where we are in control, the solution is quite simple. You will add it to Trusted Root Certification Authorities\Certificates.
https://ax.docentric.com/how-to-configure-a-safe-connection-to-a-d365fo-in-a-local-development-environment/
It is also necessary to look at how it is added in the cloud environment. (If the certificate has an end date you can try your luck with rotate secrets but I'm not sure which certificates this feature affects) blog.johanpersson.nu/
As a workaround you can use "ServerCertificateValidationCallback" but in that case it will trust everything.
stackoverflow.com/.../could-not-establish-trust-relationship-for-the-ssl-tls-secure-channel-the-remot
Hi source258147,
If it's a cloud hosted system, please login to LCS, on the environment details and go to Maintain - Rotate secrets - Rotate SSL certificates.
If it doesn't work , you have to contact the partner for help.
hi Will Wu
Can't find Rotate secrets
can I get more help, please
Please contact the person who allocate the VM or cloud environment
cloudblogs.microsoft.com/.../
Hi Sohail Sheikh,
Thanks for your reply
this issue happens also in my local dev machine 10.0.20
Hope it will help you.
ax.docentric.com/.../
docs.microsoft.com/.../certificate-rotation-on-prem
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 512 Super User 2026 Season 1
Giorgio Bonacorsi 386
Adis 259 Super User 2026 Season 1