chromeless icon indicating copy to clipboard operation
chromeless copied to clipboard

Allow interaction with sites having invalid SSL/TLS certificate

Open r0ps3c opened this issue 7 years ago • 5 comments

Using chromeless with sites having an invalid TLS cert (self-signed, etc.) is not possible as chrome/chromium refuses to load them, and there are currently no commandline flags to override this behavior.

r0ps3c avatar Nov 02 '17 15:11 r0ps3c

This seems possible via CDP (security domain - see https://chromedevtools.github.io/devtools-protocol/tot/Security/). https://github.com/cyrus-and/chrome-remote-interface/wiki/Bypass-certificate-errors-(%22Your-connection-is-not-private%22) has an example

r0ps3c avatar Nov 02 '17 15:11 r0ps3c

I would love to see this implemented as well.

IAmHughes avatar Dec 08 '17 19:12 IAmHughes

Yeah, I could use it too. (right now, in fact 😞)

timbaileyjones avatar Jul 09 '18 15:07 timbaileyjones

Old version CDP can be implement as the example as @r0p0s3c mentioned. The latest version of CDP has a new interface setIgnoreCertErrors

If ignore cert errors is set true in one of the two ways above, new tab in the same chrome instance will go with this configuraton even start chromeless with no ignore cert errors

I create a PR #464 and there is a test example here

skiloop avatar Aug 21 '18 07:08 skiloop

Is there any plan to have this merged any time soon? We use chromeless heavily but need to be able to screenshot sites with invalid certificates.

mwillfox avatar Aug 22 '18 18:08 mwillfox