aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config/sendemail.adoc16
-rw-r--r--Documentation/git-send-email.adoc19
2 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/config/sendemail.adoc b/Documentation/config/sendemail.adoc
index 90164c734d..6560ecc5ab 100644
--- a/Documentation/config/sendemail.adoc
+++ b/Documentation/config/sendemail.adoc
@@ -12,6 +12,22 @@ sendemail.smtpSSLCertPath::
Path to ca-certificates (either a directory or a single file).
Set it to an empty string to disable certificate verification.
+sendemail.smtpSSLClientCert::
+ Path to the client certificate file to present if requested by the
+ server. This is required when the server is set up to verify client
+ certificates. If the corresponding private key is not included in the
+ file, it must be supplied using `sendemail.smtpSSLClientKey` or the
+ `--smtp-ssl-client-key` option.
+
+sendemail.smtpSSLClientKey::
+ Path to the client private key file that corresponds to the client
+ certificate. To avoid misconfiguration, this configuration must be used
+ in conjunction with `sendemail.smtpSSLClientKey` or the
+ `--smtp-ssl-client-cert` option. If the client key is included in the
+ client certificate, the choice of private key depends on the format of
+ the certificate. Visit https://metacpan.org/pod/IO::Socket::SSL for more
+ details.
+
sendemail.<identity>.*::
Identity-specific versions of the `sendemail.*` parameters
found below, taking precedence over those when this
diff --git a/Documentation/git-send-email.adoc b/Documentation/git-send-email.adoc
index ebe8853e9f..ed9a0d3053 100644
--- a/Documentation/git-send-email.adoc
+++ b/Documentation/git-send-email.adoc
@@ -290,6 +290,25 @@ must be used for each option.
variable, if set, or the backing SSL library's compiled-in default
otherwise (which should be the best choice on most platforms).
+--smtp-ssl-client-cert <path>::
+ Path to the client certificate file to present if requested by the
+ server. This option is required when the server is set up to verify
+ client certificates. If the corresponding private key is not included in
+ the file, it must be supplied using the `sendemail.smtpSSLClientKey`
+ configuration variable or the `--smtp-ssl-client-key` option. Defaults
+ to the value of the `sendemail.smtpSSLClientCert` configuration
+ variable, if set.
+
+--smtp-ssl-client-key <path>::
+ Path to the client private key file that corresponds to the client
+ certificate. To avoid misconfiguration, this option must be used in
+ conjunction with the `sendemail.smtpSSLClientKey` configuration variable
+ or the `--smtp-ssl-client-cert` option. If the client key is included in
+ the client certificate, the choice of private key depends on the format
+ of the certificate. Visit https://metacpan.org/pod/IO::Socket::SSL for
+ more details. Defaults to the value of the `sendemail.smtpSSLClientKey`
+ configuration variable, if set.
+
--smtp-user=<user>::
Username for SMTP-AUTH. Default is the value of `sendemail.smtpUser`;
if a username is not specified (with `--smtp-user` or `sendemail.smtpUser`),