title: Request to containerized OpenSearch without curl flags
body: <p>I can interact with my open search docker container via <code>curl -XGET https://localhost:9200 -u 'admin:admin' --insecure</code> but no use when I want to automate requests to it... I need to be able to access it, even via HTTP is fine (not secure meaning not HTTPS).</p>
  <p>command:</p>
  <pre><code>curl -XGET https://localhost:9200
  </code></pre>
  <hr />
  <pre><code>error:
      curl: (60) SSL certificate problem: unable to get local issuer certificate
      More details here: https://curl.se/docs/sslcerts.html
  
  curl failed to verify the legitimacy of the server and therefore could not
  establish a secure connection to it. To learn more about this situation and
  how to fix it, please visit the web page mentioned above.
  </code></pre>
  <p>I did go into that link, not a solution, just an explanation that threw me into a rabbit hole I was able to get out just now.</p>
  <p>The awful thing is that this happened to me before and I fixed it, but it was not on a docker container and I don't remember how I fixed it.</p>