I try the sample app in cisco DevNet which to create an Extension Mobility web service consumer client, I've followed the instruction and import the certificate but it still won't work.
Here is the error message: Exception in thread "main" javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
Is there any solution to fix the error? Thanks.
This certainly sounds like a certificate issue. Two most common reasons seem to be:
- Need to import the CUCM certificate into the application's security framework. E.g. if using the sample, then the Java execution environment of the app may be using a different keystore/path than the one in the sample instructions - you may need to do a little research to find out how to properly import and test keys into your dev environment
- The CUCM connection is made by specifying an IP address, but the CUCM certificate was created using it's hostname. E.g. CUCM hostname may be 'cucm-lab', it's IP address '10.10.10.20', and it's certificate subjectname 'cucm-lab'. Make sure you are connecting to CUCM via its hostname (may require DNS setup in your network, or use of your PC's 'hosts' file)
Thank you for your reply, we've found the SSL error caused by self-assigned certificate. The program can run already, and we get confused again because the response was:
Error processing request: null
but, the login is still not working, we are afraid that we are using the false app id and app certificate. Can you tell us how can we get the proper appid and appcertificate for the authentication?
Thanks in advance.