How to disable SSL verification in Ajax url processing

How to disable SSL verification in Ajax url processing

islamelshobokshyislamelshobokshy Posts: 99Questions: 20Answers: 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: 61,665Questions: 1Answers: 10,096 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

This discussion has been closed.