diff --git a/docs/manual.html b/docs/manual.html index b0fcd57bd..ce6e6e076 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -339,7 +339,10 @@
When a torrent is started in full allocation mode, the disk-io thread (see threads_) +
When a torrent is started in full allocation mode, the disk-io thread (see threads_) will make sure that the entire storage is allocated, and fill any gaps with zeros. This will be skipped if the filesystem supports sparse files or automatic zero filling. It will of course still check for existing pieces and fast resume data. The main @@ -9078,6 +9081,14 @@ different port. It defaults to port 4433. This setting is only taken into accoun normal listen socket is opened (i.e. just changing this setting won't necessarily close and re-open the SSL socket). To not listen on an SSL socket at all, set ssl_listen to 0.
This feature is only available if libtorrent is build with openssl support (TORRENT_USE_OPENSSL).
+Peer certificates must have at least one SubjectAltName field of type dNSName. At least +one of the fields must exactly match the name of the torrent. This is a byte-by-byte comparison, +the UTF-8 encoding must be identical (i.e. there's no unicode normalization going on). This +the recommended way of verifying certificates for HTTPS servers according to RFC 2818. Note +the difference that for torrents only dNSName fields are taken into account (not IP address fields) +and that only SubjectAltNames are taken into account, not the Common Name fields.
+To test incoming SSL connections to an SSL torrent, one can use the following openssl command:
openssl s_client -cert <peer-certificate>.pem -key <peer-private-key>.pem -CAfile <torrent-cert>.pem -debug -connect 127.0.0.1:4433 -tls1 -servername <info-hash> @@ -9097,10 +9108,11 @@ the pem file to include in the .torrent file.The peer's certificate is located in ./newcert.pem and the certificate's private key in ./newkey.pem.