diff options
author | mathieui <mathieui@mathieui.net> | 2012-07-03 14:35:41 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-07-03 14:35:41 +0200 |
commit | 9bfcb7e2eba2bd6bfd6d484caffc5823fc4499ca (patch) | |
tree | 6f09c53835434c2967e617343c1a16e8dea1bbbd /doc/en | |
parent | 77e3f8893c39c10a0465780fb3046ce57c55f141 (diff) | |
download | poezio-9bfcb7e2eba2bd6bfd6d484caffc5823fc4499ca.tar.gz poezio-9bfcb7e2eba2bd6bfd6d484caffc5823fc4499ca.tar.bz2 poezio-9bfcb7e2eba2bd6bfd6d484caffc5823fc4499ca.tar.xz poezio-9bfcb7e2eba2bd6bfd6d484caffc5823fc4499ca.zip |
Document the certificate handling
- Show the various options
- Optimize the documentation images
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/index.txt | 1 | ||||
-rw-r--r-- | doc/en/ssl.txt | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/doc/en/index.txt b/doc/en/index.txt index beb80d69..3c000cdd 100644 --- a/doc/en/index.txt +++ b/doc/en/index.txt @@ -9,6 +9,7 @@ Available pages * link:install.html[Installation] * link:configure.html[Configuration] +* link:ssl.html[SSL Management] * link:usage.html[Usage] * link:themes.html[Theming] * link:keys.html[Keys] diff --git a/doc/en/ssl.txt b/doc/en/ssl.txt new file mode 100644 index 00000000..ef7af349 --- /dev/null +++ b/doc/en/ssl.txt @@ -0,0 +1,62 @@ +SSL Management +============== + +Starting from version 0.7.5, poezio offers some options to check the validity +of a X.509 certificate. + +TOFU +---- + +The default handling method is the +link:https://en.wikipedia.org/wiki/User:Dotdotike/Trust_Upon_First_Use[TOFU/TUFU] +method. At your first connection, poezio will save the hash of the certificate +received, and will compare the received one and the first one for the next +connections. + + +If you are paranoid (or run poezio for the first time in an unsafe +environment), you can set the _certificate_ value of your config file yourself +(the hash, not colon-separated). + + +If the certificate is not the same, poezio will show an error message and wait +for confirmation: + +image:../images/ssl_warning.png["Warning message", title="Warning message"] + +If you press y, the change is validated an poezio will match the next certs +with the accepted one. + +If you press n, you will get the confirmation that the change has been +refused, and you will be disconnected. + +CA-Based +-------- + +If you are connecting to a large server that has several front-facing +endpoints, you might be bothered by having to validate the change each time, +and you may want to check only if it the same authority delivered the +certificate. + +You can then set the _ca_cert_path_ option to the path of a file containing +the validation chain in link:https://tools.ietf.org/html/rfc1422.html[PEM +format] ; those certificates are usually in /usr/share/ca-certificates/ but it +may vary depending of your distribution. + +If the authority does not match when connecting, you should be disconnected. + +None +---- + +If you do not want to bother with certificate validation at all (which can be +the case when you run poezio on the same computer as your jabber server), you +can set the _ignore_certificate_ value to true, and let the _ca_cert_path_ +option empty (or even remove it). + + + + + + + + |