<div dir="ltr"><div>The values returned are SHA256 checksums of the strings you initially submitted. This is documented in the Response section here[0].</div><div><br></div><div>[0] <a href="https://docs.pulpproject.org/restapi.html#operation/remotes_file_file_read">https://docs.pulpproject.org/restapi.html#operation/remotes_file_file_read</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 7, 2020 at 1:49 PM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</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><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth""><div>Happy new year.</div><div><br></div><div><div>I want to compare the cert configured in pulp with our current valid entitlement cert. If they are different, the cert in pulp will be updated. The question is if it is possible to compare since they always look different?</div><div><br></div></div><div>When I list a remote, the certs are showed like below</div>{<div>            "ca_cert": "b8bd944ff40f1756c08743800453b724f133029725dc762ed9ce6504a828a5ec", </div><div>            "client_cert": "d24baa45b4b554e782dd134e6c5f1eb1f88e1d88122d3d417b05f7f8153954a1", </div><div>            "client_key": "55ece66e807b5c979f425e55f90958b8fbc769320a0bdb5f4c3563464e8c9530", </div><div>...</div><div>}</div><div><br></div><div>This is different than the cert when I created the remote:</div><div>('-----BEGIN CERTIFICATE-----\n'</div><div> 'MIIG/TCCBOWgAwIBAgIBNzANBgkqhkiG9w0BAQUFADCBsTELMAkGA1UEBhMCVVMx\n'</div><div> 'FzAVBgNVBAgMDk5vcnRoIENhcm9saW5hMRYwFAYDVQQKDA1SZWQgSGF0LCBJbmMu\n'</div><div> 'MRgwFgYDVQQLDA9SZWQgSGF0IE5ldHdvcmsxMTAvBgNVBAMMKFJlZCBIYXQgRW50\n'</div><div> 'aXRsZW1lbnQgT3BlcmF0aW9ucyBBdXRob3JpdHkxJDAiBgkqhkiG9w0BCQEWFWNh\n'</div><div> 'LXN1cHBvcnRAcmVkaGF0LmNvbTAeFw0xMDEwMDQxMzI3NDhaFw0zMDA5MjkxMzI3\n'</div><div> 'NDhaMIGuMQswCQYDV...</div><div><br></div><div><br></div><div><br></div></div></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>