summaryrefslogtreecommitdiff
path: root/doc/manual-src/en/aria2c.rst
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2013-09-30 16:49:10 +0200
committerNils Maier <maierman@web.de>2013-09-30 16:49:10 +0200
commit41bee457925e8b48f199d87c6548a89d0aa0e5f0 (patch)
treea1e514e84d1863fe91c3dee7cfea0a5103cb32ea /doc/manual-src/en/aria2c.rst
parent3b35887827e089b78c90ebbe571d964867c59888 (diff)
Document WinTLS, AppleTLS, PKCS12 for --certificate
Diffstat (limited to 'doc/manual-src/en/aria2c.rst')
-rw-r--r--doc/manual-src/en/aria2c.rst42
1 files changed, 31 insertions, 11 deletions
diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst
index 88589c80..238729a3 100644
--- a/doc/manual-src/en/aria2c.rst
+++ b/doc/manual-src/en/aria2c.rst
@@ -349,9 +349,26 @@ HTTP Specific Options
.. option:: --certificate=<FILE>
- Use the client certificate in FILE.
- The certificate must be in PEM format.
- You may use :option:`--private-key` option to specify the private key.
+ Use the client certificate in FILE. The certificate must be
+ either in PKCS12 (.p12, .pfx) or in PEM format.
+
+ PKCS12 files must contain the certificate, a key and optionally a chain
+ of additional certificates. Only PKCS12 files with a blank import password
+ can be opened!
+
+ When using PEM, you have to specify the private key via :option:`--private-key`
+ as well.
+
+ .. note::
+ *WinTLS* does not support PEM files at the moment. Users have to use PKCS12
+ files.
+
+ .. note::
+ *AppleTLS* users should use the Keychain Access utility to import the client
+ certificate and get the SHA-1 fingerprint from the Information dialog
+ corresponding to that certificate.
+ To start aria2c use `--certificate=<SHA-1>` and just omit the
+ :option:`--private-key` option.
.. option:: --check-certificate[=true|false]
@@ -931,15 +948,18 @@ RPC Options
When using PEM, you have to specify the private key via :option:`--rpc-private-key`
as well. Use :option:`--rpc-secure` option to enable encryption.
- *WinTLS* does not support PEM files at the moment. Users have to use PKCS12 files.
+ .. note::
+ *WinTLS* does not support PEM files at the moment. Users have to use PKCS12
+ files.
- *AppleTLS* users should use the Keychain Access utility to first generate a
- self-signed SSL-Server certificate, e.g. using the wizard, and get the
- SHA-1 fingerprint from the Information dialog corresponding to that new
- certificate.
- To start aria2c with :option:`--rpc-secure` use
- `--rpc-certificate=<SHA-1>` and just omit the :option:`--rpc-private-key`
- option.
+ .. note::
+ *AppleTLS* users should use the Keychain Access utility to first generate a
+ self-signed SSL-Server certificate, e.g. using the wizard, and get the
+ SHA-1 fingerprint from the Information dialog corresponding to that new
+ certificate.
+ To start aria2c with :option:`--rpc-secure` use
+ `--rpc-certificate=<SHA-1>` and just omit the :option:`--rpc-private-key`
+ option.
.. option:: --rpc-listen-all[=true|false]