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

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