linux-system-roles / certificate

Role for managing TLS/SSL certificate issuance and renewal
https://linux-system-roles.github.io/certificate/
MIT License
30 stars 21 forks source link

fix: Re-issue certificate if key size changes #188

Closed rjeffman closed 1 year ago

rjeffman commented 1 year ago

Resolves:

When requesting a certificate key size is not evaluated to consider a new certificate has to be requested.

Result:

This patch adds 'key_size' to the metadata comparison to determine if a new certificate request must be performed.

Issue Tracker Tickets (Jira or BZ if any): RHBZ#2186057

rjeffman commented 1 year ago

[citest]

rjeffman commented 1 year ago

I fixed the issues with CentOS/RHEL 7, and rewrote the tests for key_size as they were not properly testing scenarios where certmonger version was less than 0.79.0.

rjeffman commented 1 year ago

[citest]

rjeffman commented 1 year ago

[citest]