40fe354 ipatests: Test that healthcheck detects and reports expiration

Authored and Committed by rcritten 3 years ago
    ipatests: Test that healthcheck detects and reports expiration
    
    Set the date forward to while the certificates are still valid and
    run healthcheck to confirm that an appropriate warning is made.
    
    This validates two separate checks, one that relies on certmonger
    to report expiration and one that relies on the data on disk to
    determine expiration in case certmonger is out-of-date for some
    reason (belt and suspenders).
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>