title: Curl command for https ( SSL )
body: <p>I am trying to run the following CURL command but I am getting a SSL Certificate error:</p>
  
  <pre><code>curl https://example.com:8443/cli/agentCLI -u username:password
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
    More details here: <a href="http://curl.haxx.se/docs/sslcerts.html" rel="noreferrer">http://curl.haxx.se/docs/sslcerts.html</a></p>
    
    <p>curl performs SSL certificate verification by default, using a "bundle"
     of Certificate Authority (CA) public keys (CA certs). The default
     bundle is named curl-ca-bundle.crt; you can specify an alternate file
     using the --cacert option.
    If this HTTPS server uses a certificate signed by a CA represented in
     the bundle, the certificate verification probably failed due to a
     problem with the certificate (it might be expired, or the name might
     not match the domain name in the URL).
    If you'd like to turn off curl's verification of the certificate, use
     the -k (or --insecure) option.</p>
  </blockquote>
  
  <p>How would I fix this issue to allow for SSL URLs?</p>