jquery - AJAX accessing untrusted HTTPS fails without 'do you want to proceed' prompt -


i pulling hair on until browsed manually https server , saw prompt

the site's security certificate not trusted! proceed anyway / safety 

apparently when ajax trying access page , ran prompt , automatically decide connection should rejected. there way propagate prompt client? or have ajax choose 'proceed anyway' , ignore warning?

p.s. have access .crt's well, i've tried importing them chrome's certificate stores , despite saying 'import successful' never show in store...

first, bad idea access https site bad certificate results in warning , expect user accept bad certificate. but, if testing need direct user first page on https server directly (without ajax, iframe etc), , once user accepted certificate can can continue ajax requests same host.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -