wownero/contrib
Martijn Otto 057c279cb4
epee: add SSL support
RPC connections now have optional tranparent SSL.

An optional private key and certificate file can be passed,
using the --{rpc,daemon}-ssl-private-key and
--{rpc,daemon}-ssl-certificate options. Those have as
argument a path to a PEM format private private key and
certificate, respectively.
If not given, a temporary self signed certificate will be used.

SSL can be enabled or disabled using --{rpc}-ssl, which
accepts autodetect (default), disabled or enabled.

Access can be restricted to particular certificates using the
--rpc-ssl-allowed-certificates, which takes a list of
paths to PEM encoded certificates. This can allow a wallet to
connect to only the daemon they think they're connected to,
by forcing SSL and listing the paths to the known good
certificates.

To generate long term certificates:

openssl genrsa -out /tmp/KEY 4096
openssl req -new -key /tmp/KEY -out /tmp/REQ
openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT

/tmp/KEY is the private key, and /tmp/CERT is the certificate,
both in PEM format. /tmp/REQ can be removed. Adjust the last
command to set expiration date, etc, as needed. It doesn't
make a whole lot of sense for monero anyway, since most servers
will run with one time temporary self signed certificates anyway.

SSL support is transparent, so all communication is done on the
existing ports, with SSL autodetection. This means you can start
using an SSL daemon now, but you should not enforce SSL yet or
nothing will talk to you.
2019-03-05 14:16:08 +01:00
..
codefresh Added Codefresh.yml pipeline 2018-08-08 20:11:04 +03:00
depends cmake: ARCH_ID fixes for cross compilation 2019-03-05 10:24:14 +00:00
epee epee: add SSL support 2019-03-05 14:16:08 +01:00
fuzz_testing fuzz_tests: add a bulletproof fuzz test 2018-09-11 13:38:21 +00:00
gitian Support docker for gitian builds 2019-02-14 23:14:34 +01:00
rlwrap contrib: add sync_info to rlwrap command set 2017-08-22 11:40:41 +01:00
snap Clarification of boolean options in config file 2018-07-18 20:07:05 +02:00
valgrind easylogging++: faster access to logging 2018-11-27 13:55:21 +00:00
CMakeLists.txt Remove -Werror 2018-11-17 13:15:03 +00:00