santinic / how2

AI for the Command Line
https://how2terminal.com
MIT License
5.72k stars 156 forks source link

Google certificate issue when use inside company firewall #58

Closed quanghoc closed 2 months ago

quanghoc commented 8 years ago

Is there a way to use http instead of https from google? I tried -k or --skip-ssl-validation but still got error:

Cannot connect to Google.
Error: Error on response:Error: unable to get local issuer certificate : undefined

When I disconnect from my company VPN, it's fine.

santinic commented 8 years ago

there is no --skip-ssl-validation, it shouldn't take much to implement it, can you do it ?

cargoge commented 7 years ago

this is the worst patch i could think of : dirty , simple and unsecure. forked unsafe repo

Be aware : the two lines i added disable https and ssl certificate validation