Skip to content

Commit

Permalink
correct smtp-ssl-cert-path description
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adam Williamson authored and Junio C Hamano committed Jan 7, 2015
1 parent 9a8c2b6 commit bcfe6f3
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Documentation/git-send-email.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,15 @@ must be used for each option.
Legacy alias for '--smtp-encryption ssl'.

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

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

0 comments on commit bcfe6f3

Please sign in to comment.