mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-15 00:19:25 +01:00
pages/ext/identifying: use 10 years with the certificate.
Windows doesn't like the insane value.
This commit is contained in:
parent
6e446a7dfb
commit
88c55f0d0e
5
pages/external/identifying.html
vendored
5
pages/external/identifying.html
vendored
@ -100,9 +100,8 @@ config networks.<network>.sasl.password NSPASSWORD</code></pre>
|
||||
</ul>
|
||||
<h3 id="generating-the-certificate">Generating the certificate</h3>
|
||||
<p>Open terminal and run this command and replae YOURNICKNAMEHERE.pem with your nickname or something else which makes you know what it is (<strong>DO NOT SET PASSWORD FOR IT OR YOUR CLIENT MIGHT NOT BE ABLE TO USE IT</strong>):</p>
|
||||
<pre><code>openssl req -nodes -newkey rsa:4096 -keyout YOURNICKNAMEHERE.pem -x509 -days 24855 -out YOURNICKNAMEHERE.pem -subj "/CN=Your Nickname"</code></pre>
|
||||
<p>This gives us file <code>YOURNICKNAMEHERE.pem</code> which you must give to your IRC client.</p>
|
||||
<p><strong>NOTE: This certificate is valid for 24855 days which is the maximum on 32-bit systems. This might not be very wise, but as we only use this cert in IRC and we don't want to worry about regenerating it too often so we have a very long time when it's valid. You should regenerate your cert as often as you change your password or more even more often…</strong></p>
|
||||
<pre><code>openssl req -nodes -newkey rsa:4096 -keyout YOURNICKNAMEHERE.pem -x509 -days 3650 -out YOURNICKNAMEHERE.pem -subj "/CN=Your Nickname"</code></pre>
|
||||
<p>This gives us file <code>YOURNICKNAMEHERE.pem</code> which you must give to your IRC client which is valid for 10 years and must be regenerated at least every 10 years or whatever you specify in <code>-days</code>.</p>
|
||||
<p>Oh, and <strong>don't close your terminal yet</strong> as you will need it for HexChat.</p>
|
||||
<h3 id="telling-your-client-or-bouncer-to-use-the-cert.">Telling your client (or bouncer to use the cert).</h3>
|
||||
<h4 id="hexchat-1">HexChat</h4>
|
||||
|
11
pages/external/identifying.html.md
vendored
11
pages/external/identifying.html.md
vendored
@ -179,17 +179,12 @@ your nickname or something else which makes you know what it is
|
||||
(**DO NOT SET PASSWORD FOR IT OR YOUR CLIENT MIGHT NOT BE ABLE TO USE IT**):
|
||||
|
||||
```
|
||||
openssl req -nodes -newkey rsa:4096 -keyout YOURNICKNAMEHERE.pem -x509 -days 24855 -out YOURNICKNAMEHERE.pem -subj "/CN=Your Nickname"
|
||||
openssl req -nodes -newkey rsa:4096 -keyout YOURNICKNAMEHERE.pem -x509 -days 3650 -out YOURNICKNAMEHERE.pem -subj "/CN=Your Nickname"
|
||||
```
|
||||
|
||||
This gives us file `YOURNICKNAMEHERE.pem` which you must give to your IRC
|
||||
client.
|
||||
|
||||
**NOTE: This certificate is valid for 24855 days which is the maximum on
|
||||
32-bit systems. This might not be very wise, but as we only use this cert
|
||||
in IRC and we don't want to worry about regenerating it too often so we
|
||||
have a very long time when it's valid. You should regenerate your
|
||||
cert as often as you change your password or more even more often…**
|
||||
client which is valid for 10 years and must be regenerated at least every
|
||||
10 years or whatever you specify in `-days`.
|
||||
|
||||
Oh, and **don't close your terminal yet** as you will need it for HexChat.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user