diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-07-27 17:54:08 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-07-27 17:54:08 +0200 |
commit | 782e01f17798478322f7634c43d35653e92c2b2a (patch) | |
tree | 9babde108b57ca7a5b1014e4b5e2f357805ab8a4 /doc/it/weechat_user.it.txt | |
parent | 32b8f345673f5eb736a27090e98de808f6e7fda2 (diff) | |
download | weechat-782e01f17798478322f7634c43d35653e92c2b2a.zip |
relay: add support of SSL (for irc and weechat protocols), new option relay.network.ssl_cert_key (task #12044)
Diffstat (limited to 'doc/it/weechat_user.it.txt')
-rw-r--r-- | doc/it/weechat_user.it.txt | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/doc/it/weechat_user.it.txt b/doc/it/weechat_user.it.txt index 0ea492488..58c8925c1 100644 --- a/doc/it/weechat_user.it.txt +++ b/doc/it/weechat_user.it.txt @@ -1543,7 +1543,7 @@ Primo esempio: connessione a otfc e verifica del certificato * Importare certificati nella shell: ---------------------------------------- -$ mkdir ~/.weechat/ssl +$ mkdir -p ~/.weechat/ssl $ wget -O ~/.weechat/ssl/CAs.pem http://www.spi-inc.org/ca/spi-cacert.crt ---------------------------------------- @@ -1562,8 +1562,9 @@ Secondo esempio: connessione a otfc con CertFP * Creare un certificato nella shell: ---------------------------------------- -$ openssl req -nodes -newkey rsa:2048 -keyout nick.key -x509 -days 365 -out nick.cer -$ cat nick.cer nick.key > ~/.weechat/ssl/nick.pem +$ mkdir -p ~/.weechat/ssl +$ cd ~/.weechat/ssl +$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem ---------------------------------------- * In WeeChat, con il server "otfc" già creato: @@ -2108,6 +2109,39 @@ Ad esempio: Ora è possibile connettersi sulla porta 9000 con un'interfaccia remota (come QWeeChat) usando la password "miapass". +// TRANSLATION MISSING +[[relay_ssl]] +Relay with SSL +^^^^^^^^^^^^^^ + +You can use SSL by creating a certificate and private key, and by using prefix +"ssl." in the name of protocol. + +The default file for certificate/key is '~/.weechat/ssl/relay.pem' +(option <<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>). + +You can create a certificate and private key with following commands: + +---------------------------------------- +$ mkdir -p ~/.weechat/ssl +$ cd ~/.weechat/ssl +$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem +---------------------------------------- + +If WeeChat is already running, you can reload the certificate and private key +with command: + +---------------------------------------- +/relay sslcertkey +---------------------------------------- + +And then add relay with SSL, for example: + +---------------------------------------- +/relay add ssl.irc.freenode 8001 +/relay add ssl.weechat 9001 +---------------------------------------- + [[rmodifier_plugin]] Plugin Rmodifier ~~~~~~~~~~~~~~~~ |