From 2046eddb7ab3e56f57f9decd172f6354f0a945aa Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 5 Nov 2010 15:16:53 -0400 Subject: 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 --- tests/test_xmlrpc/test_service_plugin.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/test_xmlrpc/test_service_plugin.py') 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', ), ), ), -- cgit