From 32b23bdc9b8071b8e52699e641914916c455810d Mon Sep 17 00:00:00 2001 From: Oystein Steimler Date: Thu, 9 Oct 2014 18:31:59 +0200 Subject: [PATCH 1/2] Using port from connection settings in SSL help --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 7ab17d2..cc5b1c6 100644 --- a/index.html +++ b/index.html @@ -120,7 +120,7 @@
To start using glowing bear, please enable the relay plugin in your WeeChat client:
 /set relay.network.password yourpassword
-/relay add weechat 9001
+/relay add weechat {{ port || 9001 }}
 
WeeChat version 0.4.2 or higher is required.
The communication goes directly between your browser and your WeeChat relay in plain text. Check the instructions below for help on setting up encrypted communication. @@ -162,10 +162,10 @@ $ mkdir -p ~/.weechat/ssl $ cd ~/.weechat/ssl $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out relay.pem -subj "/CN={{host || 'your weechat host'}}/" -

If WeeChat is already running, you can reload the certificate and private key and set up an encrypted relay on port 8000 with these WeeChat commands:

+

If WeeChat is already running, you can reload the certificate and private key and set up an encrypted relay on port {{ port || 8000 }} with these WeeChat commands:

 /relay sslcertkey
-/relay add ssl.weechat 8000
+/relay add ssl.weechat {{ port || 8000 }}
 
From b9d95c6ea8656e8b79a924e7ba4119200a02e3f0 Mon Sep 17 00:00:00 2001 From: Oystein Steimler Date: Thu, 9 Oct 2014 18:33:00 +0200 Subject: [PATCH 2/2] Shows how to set password in SSL help as well --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index cc5b1c6..0a148a7 100644 --- a/index.html +++ b/index.html @@ -164,6 +164,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel

If WeeChat is already running, you can reload the certificate and private key and set up an encrypted relay on port {{ port || 8000 }} with these WeeChat commands:

+/set relay.network.password yourpassword
 /relay sslcertkey
 /relay add ssl.weechat {{ port || 8000 }}