Happy new year.

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?

When I list a remote, the certs are showed like below{
            "ca_cert": 
"b8bd944ff40f1756c08743800453b724f133029725dc762ed9ce6504a828a5ec", 
            "client_cert": 
"d24baa45b4b554e782dd134e6c5f1eb1f88e1d88122d3d417b05f7f8153954a1", 
            "client_key": 
"55ece66e807b5c979f425e55f90958b8fbc769320a0bdb5f4c3563464e8c9530", 
...
}

This is different than the cert when I created the remote:
('-----BEGIN CERTIFICATE-----\n'
 'MIIG/TCCBOWgAwIBAgIBNzANBgkqhkiG9w0BAQUFADCBsTELMAkGA1UEBhMCVVMx\n'
 'FzAVBgNVBAgMDk5vcnRoIENhcm9saW5hMRYwFAYDVQQKDA1SZWQgSGF0LCBJbmMu\n'
 'MRgwFgYDVQQLDA9SZWQgSGF0IE5ldHdvcmsxMTAvBgNVBAMMKFJlZCBIYXQgRW50\n'
 'aXRsZW1lbnQgT3BlcmF0aW9ucyBBdXRob3JpdHkxJDAiBgkqhkiG9w0BCQEWFWNh\n'
 'LXN1cHBvcnRAcmVkaGF0LmNvbTAeFw0xMDEwMDQxMzI3NDhaFw0zMDA5MjkxMzI3\n'
 'NDhaMIGuMQswCQYDV...


_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to