|
@@ -5676,6 +5676,65 @@ Within a browser open https://mydomainname.com:8888
|
5676
|
5676
|
|
5677
|
5677
|
See documentation in /usr/share/doc/kune/INSTALL.gz
|
5678
|
5678
|
|
|
5679
|
+** Add a Convergenge notary
|
|
5680
|
+Convergence is a secure replacement for the Certificate Authority System. Rather than employing a traditionally hard-coded list of immutable and largely untrusted CAs, Convergence allows you to configure a dynamic set of Notaries which use network perspective to validate your communication. For more details see [[http://convergence.io][convergence.io]]
|
|
5681
|
+
|
|
5682
|
+#+BEGIN_SRC: bash
|
|
5683
|
+apt-get install python python-twisted-web python-twisted-names python-m2crypto python-openssl
|
|
5684
|
+cd /tmp
|
|
5685
|
+wget http://convergence.io/releases/server/convergence-notary-current.tar.gz
|
|
5686
|
+#+END_SRC
|
|
5687
|
+
|
|
5688
|
+Verify it:
|
|
5689
|
+
|
|
5690
|
+#+BEGIN_SRC: bash
|
|
5691
|
+sha256sum convergence-notary-current.tar.gz
|
|
5692
|
+6d3f7f30649c174c58ef4d719498d33737ddfa229f3d7fc51af0162b590d719b
|
|
5693
|
+#+END_SRC
|
|
5694
|
+
|
|
5695
|
+Install it:
|
|
5696
|
+
|
|
5697
|
+#+BEGIN_SRC: bash
|
|
5698
|
+tar zxvf convergence-notary-current.tar.gz
|
|
5699
|
+cd convergence-0.4
|
|
5700
|
+python ./setup.py install
|
|
5701
|
+#+END_SRC
|
|
5702
|
+
|
|
5703
|
+Generate a key pair:
|
|
5704
|
+
|
|
5705
|
+#+BEGIN_SRC: bash
|
|
5706
|
+convergence-gencert
|
|
5707
|
+#+END_SRC
|
|
5708
|
+
|
|
5709
|
+When asked for a challenge password just hit *Enter* a couple of times. Then move the key pair to the appropriate directories as follows.
|
|
5710
|
+
|
|
5711
|
+#+BEGIN_SRC: bash
|
|
5712
|
+mv mynotary.key /etc/ssl/private
|
|
5713
|
+chmod 400 /etc/ssl/private/mynotary.key
|
|
5714
|
+mv mynotary.pem /etc/ssl/certs
|
|
5715
|
+#+END_SRC
|
|
5716
|
+
|
|
5717
|
+Now create the database:
|
|
5718
|
+
|
|
5719
|
+#+BEGIN_SRC: bash
|
|
5720
|
+convergence-createdb
|
|
5721
|
+#+END_SRC
|
|
5722
|
+
|
|
5723
|
+Start the server: (TODO turn this into a daemon)
|
|
5724
|
+
|
|
5725
|
+#+BEGIN_SRC: bash
|
|
5726
|
+convergence-notary -p 80 -s 443 -c /etc/ssl/certs/mynotary.pem -k /etc/ssl/private/mynotary.key
|
|
5727
|
+#+END_SRC
|
|
5728
|
+
|
|
5729
|
+TODO: those ports are already used. Use others?
|
|
5730
|
+
|
|
5731
|
+Generate a notary bundle:
|
|
5732
|
+
|
|
5733
|
+#+BEGIN_SRC: bash
|
|
5734
|
+convergence-bundle
|
|
5735
|
+mv *.notary /var/www/mydomainname.com/htdocs
|
|
5736
|
+#+END_SRC
|
|
5737
|
+
|
5679
|
5738
|
* Related projects
|
5680
|
5739
|
|
5681
|
5740
|
* [[https://freedomboxfoundation.org/][Freedombox]]
|