소스 검색

Added RPC encryption command-line example

Tatsuhiro Tsujikawa 13 년 전
부모
커밋
492d6d1eeb
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      doc/manual-src/en/aria2c.rst

+ 11 - 0
doc/manual-src/en/aria2c.rst

@@ -3869,6 +3869,17 @@ Verify peer in SSL/TLS using given CA certificates
 
   $ aria2c --ca-certificate=/path/to/ca-certificates.crt --check-certificate https://host/file
 
+RPC
+~~~
+
+Encrypt RPC transport by SSL/TLS
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Specify server certificate file and private key file as follows:
+
+.. code-block:: console
+
+  $ aria2c --enable-rpc --rpc-certificate=/path/to/server.crt --rpc-private-key=/path/to/server.key --rpc-secure
 
 And more advanced features
 ~~~~~~~~~~~~~~~~~~~~~~~~~~