1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

doc: use XDG config directory in chapter on IRC server certificate (user's guide) (issue #1285)

This commit is contained in:
Sébastien Helleu
2021-05-08 08:19:11 +02:00
parent 49844a71f0
commit 7d75d82f6a
6 changed files with 80 additions and 24 deletions
+14 -4
View File
@@ -2900,10 +2900,15 @@ die Verbindung mit einer vorherigen Version (<0.3.1) funktioniert hat.
* Importieren Sie die Zertifikate in einer Shell:
----
$ mkdir -p ~/.weechat/ssl
$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
$ mkdir -p ~/.config/weechat/ssl
$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
----
// TRANSLATION MISSING
[NOTE]
You must replace `~/.config/weechat` by the path to your WeeChat config directory
which can also be for example `~/.weechat`.
[NOTE]
Es ist möglich mehrere Zertifikate in der Datei CAs.pem zu verwenden.
@@ -2919,11 +2924,16 @@ Es ist möglich mehrere Zertifikate in der Datei CAs.pem zu verwenden.
* Erstellen Sie ein Zertifikat in der Shell:
----
$ mkdir -p ~/.weechat/ssl
$ cd ~/.weechat/ssl
$ mkdir -p ~/.config/weechat/ssl
$ cd ~/.config/weechat/ssl
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
----
// TRANSLATION MISSING
[NOTE]
You must replace `~/.config/weechat` by the path to your WeeChat config directory
which can also be for example `~/.weechat`.
* In WeeChat, sofern der Server "oftc" schon hinzufügt wurde:
----
+12 -4
View File
@@ -2849,10 +2849,14 @@ even if it was OK with versions prior to 0.3.1.
* Import certificate in shell:
----
$ mkdir -p ~/.weechat/ssl
$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
$ mkdir -p ~/.config/weechat/ssl
$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
----
[NOTE]
You must replace `~/.config/weechat` by the path to your WeeChat config directory
which can also be for example `~/.weechat`.
[NOTE]
It is possible to concatenate many certificates in file CAs.pem.
@@ -2868,11 +2872,15 @@ It is possible to concatenate many certificates in file CAs.pem.
* Create certificate in shell:
----
$ mkdir -p ~/.weechat/ssl
$ cd ~/.weechat/ssl
$ mkdir -p ~/.config/weechat/ssl
$ cd ~/.config/weechat/ssl
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
----
[NOTE]
You must replace `~/.config/weechat` by the path to your WeeChat config directory
which can also be for example `~/.weechat`.
* In WeeChat, with "oftc" server already added:
----
+12 -4
View File
@@ -2952,10 +2952,14 @@ et peut échouer, même si cela pouvait être OK dans les versions inférieures
* Importer le certificat sous le shell :
----
$ mkdir -p ~/.weechat/ssl
$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
$ mkdir -p ~/.config/weechat/ssl
$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
----
[NOTE]
Vous devez remplacer `~/.config/weechat` par le chemin vers votre répertoire de
config WeeChat qui peut aussi être par exemple `~/.weechat`.
[NOTE]
Il est possible de concaténer plusieurs certificats dans le fichier CAs.pem.
@@ -2971,11 +2975,15 @@ Il est possible de concaténer plusieurs certificats dans le fichier CAs.pem.
* Créer le certificat sous le shell :
----
$ mkdir -p ~/.weechat/ssl
$ cd ~/.weechat/ssl
$ mkdir -p ~/.config/weechat/ssl
$ cd ~/.config/weechat/ssl
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
----
[NOTE]
Vous devez remplacer `~/.config/weechat` par le chemin vers votre répertoire de
config WeeChat qui peut aussi être par exemple `~/.weechat`.
* Sous WeeChat, avec le serveur "oftc" déjà ajouté :
----
+14 -4
View File
@@ -3065,10 +3065,15 @@ la 0.3.1.
* Importare certificati nella shell:
----
$ mkdir -p ~/.weechat/ssl
$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
$ mkdir -p ~/.config/weechat/ssl
$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
----
// TRANSLATION MISSING
[NOTE]
You must replace `~/.config/weechat` by the path to your WeeChat config directory
which can also be for example `~/.weechat`.
// TRANSLATION MISSING
[NOTE]
E possibile concatenare più certificati nel file CAs.pem.
@@ -3086,11 +3091,16 @@ E possibile concatenare più certificati nel file CAs.pem.
* Creare un certificato nella shell:
----
$ mkdir -p ~/.weechat/ssl
$ cd ~/.weechat/ssl
$ mkdir -p ~/.config/weechat/ssl
$ cd ~/.config/weechat/ssl
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
----
// TRANSLATION MISSING
[NOTE]
You must replace `~/.config/weechat` by the path to your WeeChat config directory
which can also be for example `~/.weechat`.
// TRANSLATION MISSING
* In WeeChat, with "oftc" server already added:
+14 -4
View File
@@ -2916,10 +2916,15 @@ irc.server.xxx.ssl_verify::
* シェルを使って証明書をインポート:
----
$ mkdir -p ~/.weechat/ssl
$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
$ mkdir -p ~/.config/weechat/ssl
$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
----
// TRANSLATION MISSING
[NOTE]
You must replace `~/.config/weechat` by the path to your WeeChat config directory
which can also be for example `~/.weechat`.
[NOTE]
CAs.pem ファイル中で複数の証明書を連結することもできます。
@@ -2935,11 +2940,16 @@ CAs.pem ファイル中で複数の証明書を連結することもできます
* シェルで証明書を作成:
----
$ mkdir -p ~/.weechat/ssl
$ cd ~/.weechat/ssl
$ mkdir -p ~/.config/weechat/ssl
$ cd ~/.config/weechat/ssl
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.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 では、"oftc" サーバが既に追加されています:
----
+14 -4
View File
@@ -2873,10 +2873,15 @@ się nie powieść, nawet jeśli wszystko było OK w wersjach przed 0.3.1.
* Import certyfikatu w kosoli:
----
$ mkdir -p ~/.weechat/ssl
$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
$ mkdir -p ~/.config/weechat/ssl
$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
----
// TRANSLATION MISSING
[NOTE]
You must replace `~/.config/weechat` by the path to your WeeChat config directory
which can also be for example `~/.weechat`.
[NOTE]
Możliwe jest umieszczenie wielu certyfikatów w pliku CAs.pem.
@@ -2892,11 +2897,16 @@ Możliwe jest umieszczenie wielu certyfikatów w pliku CAs.pem.
* Tworzenie certyfikatu w konsoli:
----
$ mkdir -p ~/.weechat/ssl
$ cd ~/.weechat/ssl
$ mkdir -p ~/.config/weechat/ssl
$ cd ~/.config/weechat/ssl
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
----
// TRANSLATION MISSING
[NOTE]
You must replace `~/.config/weechat` by the path to your WeeChat config directory
which can also be for example `~/.weechat`.
* W WeeChat z dodanym wcześniej serwerem "oftc":
----