cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1399
Views
5
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: John Grove on 21-04-2013 03:35:41 PM
Working to develop a custom application using the admin XML interface in .NET environemnt in Windows 8 with CUCM 7.1.5, however when running the application get the below error the script reaches the axl.updatePhone request line. The CUCM certificate has been imported, has anyone had this issue before?
 
"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

Subject: RE: SSL issues Using the Admin XML interface with .NET
Replied by: ChocolateBox Pox on 22-04-2013 06:39:17 AM
This error is probably occuring because the client is not able to validate the certificate of the Call Manager.
 
You can try the steps explained here to get your client to accept the certificate: http://blogs.msdn.com/b/jpsanders/archive/2009/09/16/troubleshooting-asp-net-the-remote-certificate-is-invalid-according-to-the-validation-procedure.aspx
 
Check the expiry date on the Call Manager certificate. If it has expired then your computer won't accept it even if it's added to the list of trusted certificates. The Call Manager would have to be issued with at new certificate.
 
If all else fails, you can bypass the validation of the certificate by implementing the ServerCertificateValidationCallback event: http://stackoverflow.com/questions/109186/bypass-invalid-ssl-certificate-errors-when-calling-web-services-in-net

Subject: RE: SSL issues Using the Admin XML interface with .NET
Replied by: John Grove on 08-05-2013 03:08:33 PM
Thanks this helped solve the problem.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links