mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
doc: use XDG config directory in Relay SSL chapter (user's guide) (issue #1285)
This commit is contained in:
@@ -3576,18 +3576,24 @@ Man kann SSL mittels eines selbst erstellten Zertifikates und eines privaten
|
||||
Schlüssels nutzen. Um SSL für die Verbindung zu aktivieren stellt man dem
|
||||
Protokollnamen ein "ssl" voran.
|
||||
|
||||
Die Standarddatei für Zertifikate/Schlüssel ist _~/.weechat/ssl/relay.pem_
|
||||
(option <<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>).
|
||||
// TRANSLATION MISSING
|
||||
The default path to certificate/key is defined by option
|
||||
<<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>.
|
||||
|
||||
Ein Zertifikat und einen privaten Schlüssel kann man mit folgenden Befehlen
|
||||
erstellen:
|
||||
|
||||
----
|
||||
$ mkdir -p ~/.weechat/ssl
|
||||
$ cd ~/.weechat/ssl
|
||||
$ mkdir -p ~/.config/weechat/ssl
|
||||
$ cd ~/.config/weechat/ssl
|
||||
$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
You must replace `~/.config/weechat` by the path to your WeeChat config directory
|
||||
which can also be for example `~/.weechat`.
|
||||
|
||||
Sollte WeeChat schon gestartet worden sein, kann man das Zertifikat und der private
|
||||
Schlüssel mittels folgendem Befehl nachträglich geladen werden:
|
||||
|
||||
|
||||
@@ -3504,17 +3504,21 @@ for example:
|
||||
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>>).
|
||||
The default path to certificate/key is defined by 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
|
||||
$ mkdir -p ~/.config/weechat/ssl
|
||||
$ cd ~/.config/weechat/ssl
|
||||
$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
You must replace `~/.config/weechat` by the path to your WeeChat config directory
|
||||
which can also be for example `~/.weechat`.
|
||||
|
||||
If WeeChat is already running, you can reload the certificate and private key
|
||||
with command:
|
||||
|
||||
|
||||
@@ -3618,17 +3618,21 @@ chiffres de 2 à 7, par exemple :
|
||||
Vous pouvez utiliser SSL en créant un certificat et clé privée et en utilisant
|
||||
le préfixe "ssl." dans le nom du protocole.
|
||||
|
||||
Le fichier par défaut pour le certificat/clé est _~/.weechat/ssl/relay.pem_
|
||||
(option <<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>).
|
||||
Le chemin par défaut vers le certificat/clé est défini par l'option
|
||||
<<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>.
|
||||
|
||||
Vous pouvez créer le certificat et la clé privée avec les commandes suivantes :
|
||||
|
||||
----
|
||||
$ mkdir -p ~/.weechat/ssl
|
||||
$ cd ~/.weechat/ssl
|
||||
$ mkdir -p ~/.config/weechat/ssl
|
||||
$ cd ~/.config/weechat/ssl
|
||||
$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Vous devez remplacer `~/.config/weechat` par le chemin vers votre répertoire de
|
||||
config WeeChat qui peut aussi être par exemple `~/.weechat`.
|
||||
|
||||
Si WeeChat tourne déjà, vous pouvez recharger le certificat et clé privée avec la
|
||||
commande :
|
||||
|
||||
|
||||
@@ -3767,17 +3767,23 @@ for example:
|
||||
È possibile usare SSL creando un certificato e una chiave privata, e usando il
|
||||
prefisso "ssl." nel nome del protocollo.
|
||||
|
||||
Il file predefinito per il certificato/chiave è _~/.weechat/ssl/relay.pem_
|
||||
(opzione <<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>).
|
||||
// TRANSLATION MISSING
|
||||
The default path to certificate/key is defined by option
|
||||
<<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>.
|
||||
|
||||
È possibile creare un certificato e una chiave privata con i seguenti comandi:
|
||||
|
||||
----
|
||||
$ mkdir -p ~/.weechat/ssl
|
||||
$ cd ~/.weechat/ssl
|
||||
$ mkdir -p ~/.config/weechat/ssl
|
||||
$ cd ~/.config/weechat/ssl
|
||||
$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
You must replace `~/.config/weechat` by the path to your WeeChat config directory
|
||||
which can also be for example `~/.weechat`.
|
||||
|
||||
Se WeeChat è già in esecuzione, è possibile ricaricare il certificato e la
|
||||
chiave privata con il comando:
|
||||
|
||||
|
||||
@@ -3575,17 +3575,23 @@ TOTP の secret は base32 でエンコードされた文字列
|
||||
証明書と秘密鍵を作り、プロトコル名の最初に "ssl." を付けることで
|
||||
SSL 経由でリレーを利用することができます。
|
||||
|
||||
証明書/秘密鍵ファイルへのデフォルトパスは _~/.weechat/ssl/relay.pem_ です
|
||||
(option <<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>)。
|
||||
// TRANSLATION MISSING
|
||||
The default path to certificate/key is defined by option
|
||||
<<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>.
|
||||
|
||||
以下のコマンドを使って証明書と秘密鍵ファイルを作成します:
|
||||
|
||||
----
|
||||
$ mkdir -p ~/.weechat/ssl
|
||||
$ cd ~/.weechat/ssl
|
||||
$ mkdir -p ~/.config/weechat/ssl
|
||||
$ cd ~/.config/weechat/ssl
|
||||
$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
You must replace `~/.config/weechat` by the path to your WeeChat config directory
|
||||
which can also be for example `~/.weechat`.
|
||||
|
||||
WeeChat
|
||||
が既に起動している場合、以下のコマンドで証明書と秘密鍵をリロードできます:
|
||||
|
||||
|
||||
@@ -3539,17 +3539,23 @@ na przykład:
|
||||
Możesz używać SSL poprzez utworzenie certyfikatu i klucza prywatnego, oraz
|
||||
użycie prefiksu "ssl." w nazwie protokołu.
|
||||
|
||||
Domyślna lokalizacja pliku z certyfikatem/kluczem to _~/.weechat/ssl/relay.pem_
|
||||
(opcja <<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>).
|
||||
// TRANSLATION MISSING
|
||||
The default path to certificate/key is defined by option
|
||||
<<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>.
|
||||
|
||||
Możesz utworzyć certyfikat i klucz prywatny wykonując poniższe komendy:
|
||||
|
||||
----
|
||||
$ mkdir -p ~/.weechat/ssl
|
||||
$ cd ~/.weechat/ssl
|
||||
$ mkdir -p ~/.config/weechat/ssl
|
||||
$ cd ~/.config/weechat/ssl
|
||||
$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
You must replace `~/.config/weechat` by the path to your WeeChat config directory
|
||||
which can also be for example `~/.weechat`.
|
||||
|
||||
Jeśli WeeChat jest już uruchomiony, możesz przładować certyfikat i klucz prywatny
|
||||
za pomocą polecenia:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user