b731f26b63
--server-certificate=CERT certificate file used by the server to identify itself (required for https) --server-key=KEY key file used by the server to identify itself (optional, certificate file is used as fallback, which then must contain key and certificate) Example keys for localhost and a README for creating/using them are included in this commit. |
||
---|---|---|
.. | ||
localhost.pem | ||
localhost_pem.crt | ||
localhost_pem.key | ||
README |
SSL keys for syncevo-http-server running on localhost. See http://twistedmatrix.com/documents/10.1.0/core/howto/ssl.html and HOWTOs like http://www.madboa.com/geek/openssl/#cert-self Debian + server on localhost: - openssl req -x509 -nodes -days 0 -newkey rsa:1024 -keyout localhost_pem.key -out localhost_pem.crt Common Name = "localhost" - cat localhost_pem* >localhost.pem - sudo cp localhost_pem.crt /usr/local/share/ca-certificates/ - sudo update-ca-certificates - ensure that "localhost" resolves to 127.0.0.1 (Twisted does not support listening to IPv6 and libsoup has no fallback to IPv4) - syncevo-http-server --server-certificate=localhost.pem https://localhost:9000/syncevolution