cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
670
Views
0
Helpful
3
Replies

Push2Phone Authentication Error

mattiep00
Level 1
Level 1

With the SDK4.1 I am getting this error message after sending a message to a phone via the web browser. Can anyone shed some light? I have a user associated with the phone, and I am getting a list of MAC addresses so it would seem I can query the database. I have also saved the certificate which was a suggestion in another thread. Any ideas anyone?

Here is the message:

msxml3.dll error '800c000e'

A security problem occurred.

/CiscoIPServices/includes/getdeviceip.asp, line 22

3 Replies 3

aaronw.ca
Level 5
Level 5

The AXL query works, since that's an HTTP request. The getDeviceIP is over HTTPS/SSL, which is more complicated, and can cause problems as you found out...

You noted that you added the certificate to the trusted certificate store in windows - the hostname on the certificate must match the hostname in the URL you are using to connect, so if you're connecting to CallManager using an IP address (ie you specified an ip address in the callManager variable in push2phone.asp) but the certificate specifies a hostname, you should use the hostname instead of an IP address.

If that still doesn't seem to help, you can try adding an option to the xmlhttp object in the getDeviceList() function from ASP/includes/getdeviceip.asp.

Here's some sample vbscript for this (convert it to javascript when you add it to the function, since the function is in javascript):

const SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056

xml.setOption 2, SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS

...and here are a couple links to outside forum posts on similar topics:

http://forum.crazybeavers.se/default.asp?page=viewtopic&category=3&topic=79

http://www.webhostingtalk.com/archive/thread/311302-1.html

Is anyone else still having this problem? I have tried adding this into the getDeviceList() function but get a

Microsoft JScript runtime error '800a01b6'

Object doesn't support this property or method

/CiscoIPServices/includes/getdeviceip.asp, line 21

Here is my getDeviceList function - line 21 is the xmlhttp.setOption line...

function getDeviceList(callManager, userID, password, protocol) {

var SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056;

var authstring = text2base64(userID + ":" + password);

var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");

var xmlDoc = new ActiveXObject("Msxml2.FreeThreadedDOMDocument.3.0");

xmlDoc.async = false;

xmlhttp.setOption (2, SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS);

xmlhttp.Open("GET", protocol + "://" + callManager + "/CCMAdmin/Reports/devicelistx.asp", false);

xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);

xmlhttp.setRequestHeader("Connection", "close");

xmlhttp.Send();

xmlDoc.loadXML(xmlhttp.responseText);

Application("deviceList") = xmlDoc;

}

Any ideas? I'm fairly stumped!

Has anyone come up with a fix for this yet? I'm having the same problem. Any help would be greatly appreciated.

I found another post here saying that changing the line:

var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");

to:

var xmlhttp = new ActiveXObject("Msxml2.ServerXMLHTTP");

But still no luck,