Instantly share code, notes, and snippets.

Embed
What would you like to do?
Chromium launch command to use custom socks5 proxy and skip all ssl validation

First, download and install chromium (because running a browser with SSL verification turned off is insecure -- only use this browser for accessing mesos).

Window 1:

ssh -D 9999 <hostname>

Window 2:

open -a /Applications/Chromium.app \
    --args \
    --proxy-server=socks5://127.0.0.1:9999 \
    --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE 127.0.0.1" \
    --ignore-certificate-errors

IMPORTANT

This browser should only be used to access resources where disabling SSL verification is desired. This is not a secure way to just browse the net.

@dtx

This comment has been minimized.

Show comment
Hide comment
@dtx

dtx Jul 12, 2017

thanks

dtx commented Jul 12, 2017

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment