URL:
https://github.com/freeipa/freeipa/pull/5250
Author: menonsudhir
Title: #5250: ipatests: Tests for 'NssCheck' in ipahealthcheck.ds.nss_ssl
Action: opened
PR body:
"""
The Server-Cert in IPA is valid for 2 year time.
This patch changes the system year on which IPA is installed by using
the 'date -s +-2/3 Years' so that we simulate the expiry or about to expire
scenario of the Server-Cert.
The modified year of the IPA server is reverted back to the actual year and ipa service is
restarted
using two different fixtures so that the system is healthy again.
This patch also checks that the 'ipahealthcheck.ds.nss_ssl' check in healthcheck
tool reports the
correct status for the "Server-Cert" about to expire and already expired
respectively.
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5250/head:pr5250
git checkout pr5250