title: Use self-signed SSL with http.Get in golang on MacOS
body: <p>I didn't found right solution, so just, call an URL from golang on MacOS Sierra, to a server that uses self-signed SSL certificate.</p>
  
  <p>I try to run a program that uses <a href="https://github.com/olivere/elastic" rel="nofollow noreferrer">https://github.com/olivere/elastic</a> that does the http query, so I don't have "control" on code-source really.</p>
  
  <p>I am looking for a solution such as:</p>
  
  <ul>
  <li>Disable SSL check for go by setting a bash variable (export
  GOLANG_SSL=false ?)</li>
  <li>Set self-signed certif to golang</li>
  </ul>
  
  <p>Or any other idea is welcomed!</p>
  
  <p>Merci,</p>