Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Solution for disabling SSL verification
# Found a solution for the SSL issues, download and extract Portable Chromium from
# https://sourceforge.net/projects/osxportableapps/files/Chromium/
#
# e.g.
curl -L -o Chromium_OSX_57.0.2987.110.dmg 'https://downloads.sourceforge.net/project/osxportableapps/Chromium/Chromium_OSX_57.0.2987.110.dmg?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fosxportableapps%2Ffiles%2FChromium%2F&ts=1490809215&use_mirror=pilotfiber'
# then open your socks5 proxy on port 9999 and run:
# (as per https://www.chromium.org/developers/design-documents/network-stack/socks-proxy)
open -a ~/Downloads/Chromium.app \
--ignore-certificate-errors \
--args --proxy-server=socks5://127.0.0.1:9999 \
--host-resolver-rules='MAP * 0.0.0.0 , EXCLUDE 127.0.0.1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment