Blame SOURCES/0029-Document-R-N-o-in-dogtag-ipa-renew-agent-submit.patch

7a8c6d
From 9ae2a531042f3ad9cbc4ed773657ed99555ca3c7 Mon Sep 17 00:00:00 2001
7a8c6d
From: Nalin Dahyabhai <nalin@redhat.com>
7a8c6d
Date: Tue, 27 Oct 2015 16:41:09 -0400
7a8c6d
Subject: [PATCH 29/29] Document -R/-N/-o in dogtag-ipa-renew-agent-submit
7a8c6d
7a8c6d
Add notes about the -R, -N, and -o flags to the man page for
7a8c6d
dogtag-ipa-renew-agent-submit.
7a8c6d
7a8c6d
It's really just a version of dogtag-submit with different defaults
7a8c6d
compiled in, and that should already be reflected in the --help output,
7a8c6d
but overriding key behaviors while still using those defaults can be a
7a8c6d
useful thing in troubleshooting situations, so we should document them.
7a8c6d
Heads-up from Marco Rhodes.
7a8c6d
---
7a8c6d
 ...tmonger-dogtag-ipa-renew-agent-submit.8.in | 19 ++++++++++++++++++-
7a8c6d
 src/certmonger-dogtag-submit.8.in             |  3 ++-
7a8c6d
 2 files changed, 20 insertions(+), 2 deletions(-)
7a8c6d
7a8c6d
diff --git a/src/certmonger-dogtag-ipa-renew-agent-submit.8.in b/src/certmonger-dogtag-ipa-renew-agent-submit.8.in
7a8c6d
index 481e396..3863b2a 100644
7a8c6d
--- a/src/certmonger-dogtag-ipa-renew-agent-submit.8.in
7a8c6d
+++ b/src/certmonger-dogtag-ipa-renew-agent-submit.8.in
7a8c6d
@@ -1,4 +1,4 @@
7a8c6d
-.TH certmonger 8 "18 Nov 2014" "certmonger Manual"
7a8c6d
+.TH certmonger 8 "27 Oct 2015" "certmonger Manual"
7a8c6d
 
7a8c6d
 .SH NAME
7a8c6d
 dogtag-ipa-renew-agent-submit
7a8c6d
@@ -18,6 +18,8 @@ dogtag-ipa-renew-agent-submit -E EE-URL -A AGENT-URL
7a8c6d
 [-S state]
7a8c6d
 [-T profile]
7a8c6d
 [-O param=value]
7a8c6d
+[-N | -R]
7a8c6d
+[-o option=value]
7a8c6d
 [-v]
7a8c6d
 [csrfile]
7a8c6d
 
7a8c6d
@@ -134,6 +136,21 @@ settings are applied.  This option can be used either to override a
7a8c6d
 server-supplied default setting, or to supply one which would otherwise have
7a8c6d
 not been used.
7a8c6d
 .TP
7a8c6d
+\fB-N\fR
7a8c6d
+Even if an already-issued certificate is available in the
7a8c6d
+\fICERTMONGER_CERTIFICATE\fR environment variable, or a serial number has been
7a8c6d
+provided, don't attempt to renew a certificate using its serial number.
7a8c6d
+Instead, attempt to obtain a new certificate using the signing request.
7a8c6d
+The default behavior is to request a renewal if possible.
7a8c6d
+.TP
7a8c6d
+\fB-R\fR
7a8c6d
+Negates the effect of the \fB-N\fR flag.
7a8c6d
+.TP
7a8c6d
+\fB-o\fR param=value
7a8c6d
+When initially submitting a request to the CA, add the specified parameter and
7a8c6d
+value along with any request parameters which would otherwise be sent.  This
7a8c6d
+option is not typically used.
7a8c6d
+.TP
7a8c6d
 \fB-v\fR
7a8c6d
 Increases the logging level.  Use twice for more logging.  This option is mainly
7a8c6d
 useful for troubleshooting.
7a8c6d
diff --git a/src/certmonger-dogtag-submit.8.in b/src/certmonger-dogtag-submit.8.in
7a8c6d
index 54cd1b1..3a8fc87 100644
7a8c6d
--- a/src/certmonger-dogtag-submit.8.in
7a8c6d
+++ b/src/certmonger-dogtag-submit.8.in
7a8c6d
@@ -1,4 +1,4 @@
7a8c6d
-.TH certmonger 8 "13 Apr 2015" "certmonger Manual"
7a8c6d
+.TH certmonger 8 "27 Oct 2015" "certmonger Manual"
7a8c6d
 
7a8c6d
 .SH NAME
7a8c6d
 dogtag-submit
7a8c6d
@@ -108,6 +108,7 @@ Even if an already-issued certificate is available in the
7a8c6d
 \fICERTMONGER_CERTIFICATE\fR environment variable, or a serial number has been
7a8c6d
 provided, don't attempt to renew a certificate using its serial number.
7a8c6d
 Instead, attempt to obtain a new certificate using the signing request.
7a8c6d
+The default behavior is to request a renewal if possible.
7a8c6d
 .TP
7a8c6d
 \fB-R\fR
7a8c6d
 Negates the effect of the \fB-N\fR flag.
7a8c6d
-- 
7a8c6d
2.17.2
7a8c6d