javascript - SSL_ERROR_HANDSHAKE_FAILURE_ALERT with JQuery GET request -
there server provides xml under url (for example: https://myxmlfile
). server request p12 certificate password needed installed in firefox , on machine. if enter url in webbrowser (https://myxmlfile
), xml shown.
now try make jquery request website (which running on local machine @ moment). in request want same xml, doesn't work , ssl_error_handshake_failure_alert
.
i'm pretty new certificates. not enough install certificate in browser? have send certificate in request or that?
this request:
$.ajax({ type: "get", url: 'https://myxmlfile', data: 'subscriptionid=0011', datatype: "xml" , async: false, error: function(xhr, status, error){ console.log('error: '+ xhr.status+ ' - '+ error); console.log("error"); }, success: function(xml) { console.log(xml); } });
thanks help.
Comments
Post a Comment