<div dir="ltr">Good question. I think the short/easy answer is to edit this line of code and set default=False:<div><br></div><div><a href="https://github.com/pulp/pulp-cli/blob/e913ca808e324f1dbfd51907450394dab4a935cc/pulpcore/cli/common.py#L54">https://github.com/pulp/pulp-cli/blob/e913ca808e324f1dbfd51907450394dab4a935cc/pulpcore/cli/common.py#L54</a></div><div><br></div><div>Alternatively, the CLI uses requests and per the requests docs[0] I think you can specify which trusted CA bundle to use:</div><div><br></div><div><i>    This list of trusted CAs can also be specified through the REQUESTS_CA_BUNDLE environment variable. If REQUESTS_CA_BUNDLE is not set, CURL_CA_BUNDLE will be used as fallback.</i><br></div><div><br></div><div>I think we'll need to figure how to handle this so I filed an issue[1].</div><div><br></div><div>[0] <a href="https://requests.readthedocs.io/en/master/user/advanced/#ssl-cert-verification">https://requests.readthedocs.io/en/master/user/advanced/#ssl-cert-verification</a></div><div>[1] <a href="https://pulp.plan.io/issues/7652">https://pulp.plan.io/issues/7652</a><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>David</div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 5, 2020 at 9:18 AM Brian Bouterse <<a href="mailto:bmbouter@redhat.com" target="_blank">bmbouter@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I'm excited to use this. I went to try it, but the CLI's requests wouldn't trust the server which uses self-signed certificates. When running `pulp status` I get this error:</div><div><br></div><div>requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=443): Max retries exceeded with url: /pulp/api/v3/docs/api.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)'))</div><div><br></div><div>Let me know if I should file this somewhere more specifically.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 5, 2020 at 5:08 AM Melanie Corr <<a href="mailto:mcorr@redhat.com" target="_blank">mcorr@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all, <br></div><div></div><div><br></div><div>An initial Pulp 3 CLI PoC is now available. We are hoping to gather as much feedback as possible from the Pulp community so that future development can progress with your opinions and requirements in mind. <br></div><div><br></div><div>The following blog post has instructions on how to download and install the Pulp 3 CLI PoC, as well as a demo and a feedback link. Please test out the Pulp 3 CLI PoC and let us know your thoughts. We will have some SWAG for participants :) <br></div><div><br></div><div><a href="https://pulpproject.org/2020/09/28/pulp-3-cli-poc-call-for-feedback/" target="_blank">https://pulpproject.org/2020/09/28/pulp-3-cli-poc-call-for-feedback/</a></div><div><br></div><div>If you've any questions or comments, feel free to ask. <br></div><div><br></div><div>Melanie<br></div><div><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div>
        <p style="font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:capitalize;font-family:RedHatText,sans-serif">
          <span>Melanie</span> <span>Corr</span><span style="color:rgb(170,170,170);margin:0px">, RHCE</span>
        </p>
        
        <p style="font-weight:normal;font-size:12px;margin:0px;text-transform:capitalize;font-family:RedHatText,sans-serif">
          <span>Community Manager</span>
        </p>
        <p style="font-weight:normal;margin:0px 0px 4px;font-size:12px;font-family:RedHatText,sans-serif">
          <a style="color:rgb(0,136,206);font-size:12px;margin:0px;text-decoration:none;font-family:RedHatText,sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span></span></a>
        </p>
    <div style="margin-bottom:4px">
      <span>
        <p style="font-size:12px;margin:0px;font-family:RedHatText,sans-serif">Remote, Ireland</p>
      </span>
      
    </div>
    <p style="font-weight:normal;margin:0px;font-size:12px;font-family:RedHatText,sans-serif">
      <span style="margin:0px;padding:0px"><a style="color:rgb(0,0,0);font-size:12px;margin:0px;text-decoration:none;font-family:RedHatText,sans-serif" href="mailto:mcorr@redhat.com" target="_blank">mcorr@redhat.com</a>   </span>
      <span><br>M: <a href="tel:+353857774436" style="color:rgb(0,0,0);font-size:12px;margin:0px;text-decoration:none;font-family:RedHatText,sans-serif" target="_blank">+353857774436</a>     </span>
      <span>IM: <span>mcorr</span></span>
    </p>
    
    

    <div style="margin-top:12px">
      <table border="0">
        <tbody><tr>
          <td width="100px"><a href="https://www.redhat.com" target="_blank"> <img src="https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/f5445ae0c9ddafd5b2f1836854d7416a/Logo-RedHat-Email.png" width="90" height="auto"></a> </td>
          
        </tr>
      </tbody></table>
    </div>

  </div><div style="margin-top:12px"><table border="0"><tbody><tr><td width="100px"><br></td>
          
        </tr>
      </tbody></table>
    </div>

  </div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-dev</a><br>
</blockquote></div>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>