Changing encryption settings

This commit is contained in:
Bob Mottram 2015-03-23 20:15:13 +00:00
parent 034e55e9fd
commit 8298f9da56
2 changed files with 59 additions and 24 deletions

View File

@ -13,9 +13,10 @@
| [[file:index.html][Home]] |
| [[Why not supply a disk image download?]] |
| [[Can I add more users to the system?]] |
| [[How do I reset the tripwire?]] |
| [[How do I reset the tripwire?]] |
| [[Is metadata protected?]] |
| [[Why isn't dynamic DNS working?]] |
| [[How do I change my encryption settings?]] |
| [[How do I get a domain name?]] |
| [[How do I get a "real" SSL certificate?]] |
| [[How do I renew a StartSSL certificate?]] |
@ -98,6 +99,16 @@ http://ipinfo.io/
http://httpbin.org/ip
#+END_SRC
* How do I change my encryption settings?
Suppose that some new encryption vulnerability has been announced and that you need to change your encryption settings. Maybe an algorithm thought to be secure is now no longer so and you need to remove it. You can change your settings by doing the following:
#+BEGIN_SRC bash
ssh myusername@mydomain -p 2222
su
freedombone-sec
#+END_SRC
You will then be able to edit the crypto settings for all of the installed applications. *Be very careful when editing*, since any mistake could make your system less secure rather than more.
* How do I get a domain name?
Suppose that you have bought a domain name (rather than using a free subdomain on freedns) and you want to use that instead.

View File

@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<!-- 2015-03-10 Tue 21:03 -->
<!-- 2015-03-23 Mon 20:14 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="generator" content="Org-mode" />
<meta name="author" content="Bob Mottram" />
@ -190,27 +190,31 @@ for the JavaScript code in this tag.
</tr>
<tr>
<td class="left"><a href="#unnumbered-6">How do I get a domain name?</a></td>
<td class="left"><a href="#unnumbered-6">How do I change my encryption settings?</a></td>
</tr>
<tr>
<td class="left"><a href="#unnumbered-7">How do I get a "real" SSL certificate?</a></td>
<td class="left"><a href="#unnumbered-7">How do I get a domain name?</a></td>
</tr>
<tr>
<td class="left"><a href="#unnumbered-8">How do I renew a StartSSL certificate?</a></td>
<td class="left"><a href="#unnumbered-8">How do I get a "real" SSL certificate?</a></td>
</tr>
<tr>
<td class="left"><a href="#unnumbered-9">Why use self-signed certificates?</a></td>
<td class="left"><a href="#unnumbered-9">How do I renew a StartSSL certificate?</a></td>
</tr>
<tr>
<td class="left"><a href="#unnumbered-10">Why not use the services of $company instead? They took the Seppuku pledge</a></td>
<td class="left"><a href="#unnumbered-10">Why use self-signed certificates?</a></td>
</tr>
<tr>
<td class="left"><a href="#unnumbered-11">Why does my email keep getting rejected as spam by Gmail/etc?</a></td>
<td class="left"><a href="#unnumbered-11">Why not use the services of $company instead? They took the Seppuku pledge</a></td>
</tr>
<tr>
<td class="left"><a href="#unnumbered-12">Why does my email keep getting rejected as spam by Gmail/etc?</a></td>
</tr>
</tbody>
</table>
@ -331,9 +335,29 @@ http://httpbin.org/ip
</div>
<div id="outline-container-unnumbered-6" class="outline-2">
<h2 id="unnumbered-6">How do I get a domain name?</h2>
<h2 id="unnumbered-6">How do I change my encryption settings?</h2>
<div class="outline-text-2" id="text-unnumbered-6">
<p>
Suppose that some new encryption vulnerability has been announced and that you need to change your encryption settings. Maybe an algorithm thought to be secure is now no longer so and you need to remove it. You can change your settings by doing the following:
</p>
<div class="org-src-container">
<pre class="src src-bash">ssh myusername@mydomain -p 2222
su
freedombone-sec
</pre>
</div>
<p>
You will then be able to edit the crypto settings for all of the installed applications. <b>Be very careful when editing</b>, since any mistake could make your system less secure rather than more.
</p>
</div>
</div>
<div id="outline-container-unnumbered-7" class="outline-2">
<h2 id="unnumbered-7">How do I get a domain name?</h2>
<div class="outline-text-2" id="text-unnumbered-7">
<p>
Suppose that you have bought a domain name (rather than using a free subdomain on freedns) and you want to use that instead.
</p>
@ -400,9 +424,9 @@ You should now be able to send an email from <i>postmaster@mynewdomainname</i> a
</div>
</div>
<div id="outline-container-unnumbered-7" class="outline-2">
<h2 id="unnumbered-7">How do I get a "real" SSL certificate?</h2>
<div class="outline-text-2" id="text-unnumbered-7">
<div id="outline-container-unnumbered-8" class="outline-2">
<h2 id="unnumbered-8">How do I get a "real" SSL certificate?</h2>
<div class="outline-text-2" id="text-unnumbered-8">
<p>
You can obtain a free "official" (as in recognised by default by web browsers) SSL certificate from <a href="https://www.startssl.com/">StartSSL</a>. You will first need to have bought a domain name, since it's not possible to obtain one for a freedns subdomain, so see <i>Using your own domain</i> for details of how to do that. You should also have tested that you can send email to the domain and receive it on the Freedombone (via Mutt or any other email client).
</p>
@ -582,9 +606,9 @@ Now visit your web site at <a href="https://mydomainname.com/">https://mydomainn
</div>
</div>
<div id="outline-container-unnumbered-8" class="outline-2">
<h2 id="unnumbered-8">How do I renew a StartSSL certificate?</h2>
<div class="outline-text-2" id="text-unnumbered-8">
<div id="outline-container-unnumbered-9" class="outline-2">
<h2 id="unnumbered-9">How do I renew a StartSSL certificate?</h2>
<div class="outline-text-2" id="text-unnumbered-9">
<p>
The StartSSL certificates last for a year. You can check the expiry date of your current certificate/s by going to your site and if you're using Firefox then click on the <b>lock icon</b>, select "<b>more information</b>" then "<b>view certificate</b>".
</p>
@ -734,9 +758,9 @@ chmod -R 400 /etc/ssl/backups/private/*
</div>
</div>
<div id="outline-container-unnumbered-9" class="outline-2">
<h2 id="unnumbered-9">Why use self-signed certificates?</h2>
<div class="outline-text-2" id="text-unnumbered-9">
<div id="outline-container-unnumbered-10" class="outline-2">
<h2 id="unnumbered-10">Why use self-signed certificates?</h2>
<div class="outline-text-2" id="text-unnumbered-10">
<p>
Almost everywhere on the web you will read that self-signed certificates are worthless. They bring up scary looking browser warnings and gurus will advise you not to use them. Self-signed certificates are quite useful though. What the scary warnings mean - and it would be good if they explained this more clearly - is that you have an encrypted connection established but there is <i>no certainty about who that connection is with</i>. The usual solution to this is to get a "real" SSL certificate from one of the certificate authorities, but it's far from clear that such authorities can be trusted. There have been various scandals involving such organisations, and it does not seem plausible to assume that they are somehow immune to the sort of treatment which <a href="http://en.wikipedia.org/wiki/Lavabit">Lavabit</a> received. So although most internet users have been trained to look for the lock icon as an indication that the connection is secured that belief may not always be well founded.
</p>
@ -750,17 +774,17 @@ For now a self-signed certificate will probably in most cases protect your commu
</p>
</div>
</div>
<div id="outline-container-unnumbered-10" class="outline-2">
<h2 id="unnumbered-10">Why not use the services of $company instead? They took the Seppuku pledge</h2>
<div class="outline-text-2" id="text-unnumbered-10">
<div id="outline-container-unnumbered-11" class="outline-2">
<h2 id="unnumbered-11">Why not use the services of $company instead? They took the Seppuku pledge</h2>
<div class="outline-text-2" id="text-unnumbered-11">
<p>
<a href="http://seppuku.cryptostorm.org/">That pledge</a> is utterly worthless. Years ago people trusted Google in the same sort of way, because they promised not be be evil and because a lot of the engineers working for them seemed like honest types who were "<i>on our side</i>". Post-<a href="https://en.wikipedia.org/wiki/Nymwars">nymwars</a> and post-<a href="https://en.wikipedia.org/wiki/PRISM_(surveillance_program)">PRISM</a> we know exactly how much Google cared about the privacy and security of its users. But Google is only one particular example. In general don't trust pledges made by companies, even if the people running them seem really sincere.
</p>
</div>
</div>
<div id="outline-container-unnumbered-11" class="outline-2">
<h2 id="unnumbered-11">Why does my email keep getting rejected as spam by Gmail/etc?</h2>
<div class="outline-text-2" id="text-unnumbered-11">
<div id="outline-container-unnumbered-12" class="outline-2">
<h2 id="unnumbered-12">Why does my email keep getting rejected as spam by Gmail/etc?</h2>
<div class="outline-text-2" id="text-unnumbered-12">
<p>
Welcome to the world of email. Email is really the archetypal decentralized service, developed during the early days of the internet. In principle anyone can run an email server, and that's exactly what you're doing with Freedombone. Email is very useful, but it has a big problem, and that's that the protocols are totally insecure. That made it easy for spammers to do their thing, and in response highly elaborate spam filtering and blocking systems were developed. Chances are that your emails are being blocked in this way. Sometimes the blocking is so indisciminate that entire countries are excluded. What can you do about it? Unless you control the block list at the receiving end probably you can't do anything. There is zero accountability for such blocking, and you can't just contact someone and say "hey, I'm not a spammer". This system works well for the big internet companies because it effectively centralises email to a few well-known brand names and keeps any independent servers out.
</p>