|
SSLHowto
Howto activate SSL connectionTryton can be configured to use encrypted communication for all of its client protocols: netrpc, XML-RPC and WebDAV. Each of these communcation channels can be switched to use SSL. While this can be configured independently for each channel, we strongly suggest to switch all channels. Otherwise an eavesdropper would be able to intercept an unencrypted channel and get usernames and passwords. DependenciesYou need to have this package installed on both systems (server, client): And this one on server: Generate a self-signed certificateIf your organization does not have set up a PKI, or if you are only setting up a test system, you may get along with a self-signed certificate. If you are looking for a place to get "real" certificates, please visit http://www.cacert.org. You can generate a self-signed certificate with this command on the server: openssl req -new -x509 -keyout /path/to/private/server.pem -out /path/to/certs/server.pem -days 365 -nodes Configure the serverYou must edit the configuration file etc/trytond.conf with those options: secure_netrpc = True secure_xmlrpc = True secure_webdav = True privatekey = /path/to/private/server.pem certificate = /path/to/certs/server.pem You must restart the server. Use it
| |