summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipa-install
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2014-06-27 12:31:50 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-07-30 16:04:21 +0200
commit60e19b585cc12e5b4d51b2d18c504f253cc692ca (patch)
treef8025b1317df23938e74246538c7392a06d46329 /ipa-client/ipa-install
parent2b7a7c356cf8db6ccadae6a4c932eb2d23585095 (diff)
downloadfreeipa-60e19b585cc12e5b4d51b2d18c504f253cc692ca.tar.gz
freeipa-60e19b585cc12e5b4d51b2d18c504f253cc692ca.tar.xz
freeipa-60e19b585cc12e5b4d51b2d18c504f253cc692ca.zip
Add client certificate update tool ipa-certupdate.
Part of https://fedorahosted.org/freeipa/ticket/3259 Part of https://fedorahosted.org/freeipa/ticket/3520 Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Diffstat (limited to 'ipa-client/ipa-install')
-rw-r--r--ipa-client/ipa-install/Makefile.am1
-rwxr-xr-xipa-client/ipa-install/ipa-certupdate23
2 files changed, 24 insertions, 0 deletions
diff --git a/ipa-client/ipa-install/Makefile.am b/ipa-client/ipa-install/Makefile.am
index 2e9a04d10..7abdbf12b 100644
--- a/ipa-client/ipa-install/Makefile.am
+++ b/ipa-client/ipa-install/Makefile.am
@@ -3,6 +3,7 @@ NULL =
sbin_SCRIPTS = \
ipa-client-install \
ipa-client-automount \
+ ipa-certupdate \
$(NULL)
EXTRA_DIST = \
diff --git a/ipa-client/ipa-install/ipa-certupdate b/ipa-client/ipa-install/ipa-certupdate
new file mode 100755
index 000000000..072c451bc
--- /dev/null
+++ b/ipa-client/ipa-install/ipa-certupdate
@@ -0,0 +1,23 @@
+#! /usr/bin/python2 -E
+# Authors: Jan Cholasta <jcholast@redhat.com>
+#
+# Copyright (C) 2014 Red Hat
+# see file 'COPYING' for use and warranty information
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from ipaclient.ipa_certupdate import CertUpdate
+
+CertUpdate.run_cli()