From 2db6aec31fe2b106e394dd7027064de4e6951b36 Mon Sep 17 00:00:00 2001 From: Andrew Kroeger Date: Sun, 2 Mar 2008 07:57:13 -0600 Subject: Fix blackbox.kinit test by issuing new certificates good for 25 years. (This used to be commit 4f40c5940b4aa4343152cf367566d4d26765e234) --- source4/selftest/target/Samba4.pm | 83 +++++++++++++++++++++++---------------- 1 file changed, 49 insertions(+), 34 deletions(-) (limited to 'source4/selftest') diff --git a/source4/selftest/target/Samba4.pm b/source4/selftest/target/Samba4.pm index e0be8048a0..48fda17599 100644 --- a/source4/selftest/target/Samba4.pm +++ b/source4/selftest/target/Samba4.pm @@ -389,25 +389,26 @@ yoZeAErTALjyZYZEPcECQQDlUi0N8DFxQ/lOwWyR3Hailft+mPqoPCa8QHlQZnlG EOF #generated with - #hxtool issue-certificate --self-signed --issue-ca --ca-private-key=FILE:$KEYFILE \ - # --subject="CN=CA,$BASEDN" --certificate="FILE:$CAFILE" + # hxtool issue-certificate --self-signed --issue-ca \ + # --ca-private-key="FILE:$KEYFILE" \ + # --subject="CN=CA,DC=samba,DC=example,DC=com" \ + # --certificate="FILE:$CAFILE" --lifetime="25 years" open(CAFILE, ">$cafile"); print CAFILE <$kdccertfile"); print KDCCERTFILE <$admincertfile"); print ADMINCERTFILE <