freeipa / freeipa-healthcheck

Check the health of a freeIPA installation
GNU General Public License v3.0
50 stars 28 forks source link

Use DN to compare agent cert issuer and subjects #272

Closed rcritten closed 2 years ago

rcritten commented 2 years ago

The comparison was doing a string compare of the expected description value. This worked most of the time but if there were simple case differents in the attributes that would cause a false failure.

Instead compare them separately using the DN class to do the comparison.

Fixes: https://github.com/freeipa/freeipa-healthcheck/issues/93

Signed-off-by: Rob Crittenden rcritten@redhat.com