Add a status option to ipa-acme-manage

It's handy in general and good for testing to be able to
detect the current ACME status without having to revert
to using curl.

https://pagure.io/freeipa/issue/8524

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Mohammad Rizwan <myusuf@redhat.com>
This commit is contained in:
Rob Crittenden
2020-11-02 10:43:57 -05:00
parent 92c3ea4e29
commit 69ae48c8b6
3 changed files with 41 additions and 4 deletions
+6 -3
View File
@@ -5,11 +5,11 @@
.SH "NAME"
ipa\-acme\-manage \- Manage the FreeIPA ACME service
.SH "SYNOPSIS"
ipa\-acme\-manage enable|disable
ipa\-acme\-manage enable|disable|status
.SH "DESCRIPTION"
Use the \fIipa-acme-manage\fR command to enable or disable the ACME
service on a FreeIPA CA server.
Use the \fIipa-acme-manage\fR command to enable, disable or retrieve
the status of the ACME service on a FreeIPA CA server.
In a FreeIPA topology all CA servers capable of ACME will
have the ACME service deployed. The service is not enabled
@@ -24,6 +24,9 @@ Enable the ACME service on this host.
.TP
\fBdisable\fR
Disable the ACME service on this host.
.TP
\fBstatus\fR
Display the status of the ACME service.
.SH "EXIT STATUS"
0 if the command was successful