| ... | ... |
@@ -153,8 +153,8 @@ class Config(object): |
| 153 | 153 |
gpg_decrypt = u"%(gpg_command)s -d --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s" |
| 154 | 154 |
use_https = True |
| 155 | 155 |
ca_certs_file = u"" |
| 156 |
- ssl_key_file = u"" |
|
| 157 |
- ssl_cert_file = u"" |
|
| 156 |
+ ssl_client_key_file = u"" |
|
| 157 |
+ ssl_client_cert_file = u"" |
|
| 158 | 158 |
check_ssl_certificate = True |
| 159 | 159 |
check_ssl_hostname = True |
| 160 | 160 |
bucket_location = u"US" |
| ... | ... |
@@ -82,16 +82,16 @@ class http_connection(object): |
| 82 | 82 |
cafile = cfg.ca_certs_file |
| 83 | 83 |
if cafile == "": |
| 84 | 84 |
cafile = None |
| 85 |
- certfile = cfg.ssl_cert_file |
|
| 85 |
+ certfile = cfg.ssl_client_cert_file |
|
| 86 | 86 |
if certfile == "": |
| 87 | 87 |
certfile = None |
| 88 |
- keyfile = cfg.ssl_key_file |
|
| 88 |
+ keyfile = cfg.ssl_client_key_file |
|
| 89 | 89 |
if keyfile == "": |
| 90 | 90 |
keyfile = None |
| 91 | 91 |
|
| 92 | 92 |
debug(u"Using ca_certs_file %s", cafile) |
| 93 |
- debug(u"Using ssl_cert_file %s", certfile) |
|
| 94 |
- debug(u"Using ssl_key_file %s", keyfile) |
|
| 93 |
+ debug(u"Using ssl_client_cert_file %s", certfile) |
|
| 94 |
+ debug(u"Using ssl_client_key_file %s", keyfile) |
|
| 95 | 95 |
|
| 96 | 96 |
if keyfile is not None and certfile is not None: |
| 97 | 97 |
context = http_connection._ssl_client_auth_context(certfile, keyfile, cfg.check_ssl_certificate, cafile) |
| ... | ... |
@@ -2811,8 +2811,8 @@ def main(): |
| 2811 | 2811 |
optparser.add_option( "--cache-file", dest="cache_file", action="store", default="", metavar="FILE", help="Cache FILE containing local source MD5 values") |
| 2812 | 2812 |
optparser.add_option("-q", "--quiet", dest="quiet", action="store_true", default=False, help="Silence output on stdout")
|
| 2813 | 2813 |
optparser.add_option( "--ca-certs", dest="ca_certs_file", action="store", default=None, help="Path to SSL CA certificate FILE (instead of system default)") |
| 2814 |
- optparser.add_option( "--ssl-cert", dest="ssl_cert_file", action="store", default=None, help="Path to client SSL certificate FILE") |
|
| 2815 |
- optparser.add_option( "--ssl-key", dest="ssl_key_file", action="store", default=None, help="Path to client SSL certificate key FILE") |
|
| 2814 |
+ optparser.add_option( "--ssl-cert", dest="ssl_client_cert_file", action="store", default=None, help="Path to client own SSL certificate CRT_FILE") |
|
| 2815 |
+ optparser.add_option( "--ssl-key", dest="ssl_client_key_file", action="store", default=None, help="Path to client own SSL certificate private key KEY_FILE") |
|
| 2816 | 2816 |
optparser.add_option( "--check-certificate", dest="check_ssl_certificate", action="store_true", help="Check SSL certificate validity") |
| 2817 | 2817 |
optparser.add_option( "--no-check-certificate", dest="check_ssl_certificate", action="store_false", help="Do not check SSL certificate validity") |
| 2818 | 2818 |
optparser.add_option( "--check-hostname", dest="check_ssl_hostname", action="store_true", help="Check SSL certificate hostname validity") |
| ... | ... |
@@ -540,10 +540,10 @@ Path to SSL CA certificate FILE (instead of system |
| 540 | 540 |
default) |
| 541 | 541 |
.TP |
| 542 | 542 |
\fB\-\-ssl\-cert\fR=CRT_FILE |
| 543 |
-Path to client SSL certificate CRT_FILE |
|
| 543 |
+Path to client own SSL certificate CRT_FILE |
|
| 544 | 544 |
.TP |
| 545 | 545 |
\fB\-\-ssl\-key\fR=KEY_FILE |
| 546 |
-Path to client SSL certificate key KEY_FILE |
|
| 546 |
+Path to client own SSL certificate private key KEY_FILE |
|
| 547 | 547 |
.TP |
| 548 | 548 |
\fB\-\-check\-certificate\fR |
| 549 | 549 |
Check SSL certificate validity |