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
docs.microsoft.com/.../certificate-rotation-on-prem
Hope it will help you.
ax.docentric.com/.../
Hi Sohail Sheikh,
Thanks for your reply
this issue happens also in my local dev machine 10.0.20
Please contact the person who allocate the VM or cloud environment
cloudblogs.microsoft.com/.../
can I get more help, please
hi Will Wu
Can't find Rotate secrets
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.
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,258
André Arnaud de Cal... 949 Super User 2025 Season 2
Sohaib Cheema 631 User Group Leader