How to disable SSL verification in Ajax url processing

How to disable SSL verification in Ajax url processing

islamelshobokshyislamelshobokshy Posts: 82Questions: 17Answers: 1

I got an

ajax: {
    url: "<?php echo $url?>"
},

but the https in the url as it's on a dev pc is not secure, so it's kinda annoying. In curl we can disable the SSL verification easily curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);, any idea how to disable it in datatables?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 47,504Questions: 1Answers: 6,751 Site admin
    Answer ✓

    That's not a DataTables option or feature. Its a browser security feature.

    If your page is https, then all of the contents must also be. You'd need to refer to the documentation for whatever browser you are using to see if there is a way to disable that.

    Allan

Sign In or Register to comment.