Skip to content

Commit bcfe6f3

Browse files
AdamWillgitster
authored andcommitted
correct smtp-ssl-cert-path description
The git-send-email documentation was never updated to reflect the change made in 01645b7 to use the SSL library's default CA trust store rather than /etc/ssl/certs as a hardcoded default CApath. This corrects that, and also tweaks the rest of the text a bit to explain more accurately what is required for a valid CApath / CAfile. Signed-off-by: Adam Williamson <awilliam@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 9a8c2b6 commit bcfe6f3

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

Documentation/git-send-email.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,15 @@ must be used for each option.
199199
Legacy alias for '--smtp-encryption ssl'.
200200

201201
--smtp-ssl-cert-path::
202-
Path to ca-certificates (either a directory or a single file).
203-
Set it to an empty string to disable certificate verification.
204-
Defaults to the value set to the 'sendemail.smtpsslcertpath'
205-
configuration variable, if set, or `/etc/ssl/certs` otherwise.
202+
Path to a store of trusted CA certificates for SMTP SSL/TLS
203+
certificate validation (either a directory that has been processed
204+
by 'c_rehash', or a single file containing one or more PEM format
205+
certificates concatenated together: see verify(1) -CAfile and
206+
-CApath for more information on these). Set it to an empty string
207+
to disable certificate verification. Defaults to the value of the
208+
'sendemail.smtpsslcertpath' configuration variable, if set, or the
209+
backing SSL library's compiled-in default otherwise (which should
210+
be the best choice on most platforms).
206211

207212
--smtp-user=<user>::
208213
Username for SMTP-AUTH. Default is the value of 'sendemail.smtpuser';

0 commit comments

Comments
 (0)