diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-11-05 15:16:53 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-11-19 10:31:42 -0500 |
commit | 2046eddb7ab3e56f57f9decd172f6354f0a945aa (patch) | |
tree | 5f903f77b433ac58e6c0314e3cb629285e02dd16 /tests/test_xmlrpc/test_service_plugin.py | |
parent | eead9eec998697cc8c147a47a8874ef7a801cbd1 (diff) | |
download | freeipa-2046eddb7ab3e56f57f9decd172f6354f0a945aa.tar.gz freeipa-2046eddb7ab3e56f57f9decd172f6354f0a945aa.tar.xz freeipa-2046eddb7ab3e56f57f9decd172f6354f0a945aa.zip |
Revoke a host's certificate (if any) when it is deleted or disabled.
Disable any services when its host is disabled.
This also adds displaying the certificate attributes (subject, etc)
a bit more universal and centralized in a single function.
ticket 297
Diffstat (limited to 'tests/test_xmlrpc/test_service_plugin.py')
-rw-r--r-- | tests/test_xmlrpc/test_service_plugin.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/test_service_plugin.py b/tests/test_xmlrpc/test_service_plugin.py index 1427169e1..fc8e08e9e 100644 --- a/tests/test_xmlrpc/test_service_plugin.py +++ b/tests/test_xmlrpc/test_service_plugin.py @@ -234,6 +234,13 @@ class test_host(Declarative): usercertificate=[base64.b64decode(servercert)], krbprincipalname=[service1], managedby_host=[fqdn1], + valid_not_before=u'Mon Aug 09 15:02:27 2010 UTC', + valid_not_after=u'Sun Aug 09 15:02:27 2020 UTC', + subject=u'CN=puma.greyoak.com,O=IPA', + serial_number=u'1022', + md5_fingerprint=u'ef:63:31:e4:33:54:8d:fd:fe:c8:66:57:09:03:5f:09', + sha1_fingerprint=u'e3:33:2c:d9:7c:e9:77:74:2a:ac:3b:b8:76:b0:86:29:98:43:58:11', + issuer=u'CN=IPA Test Certificate Authority', ), ), ), |