In this release was added SSL support for RPC with new startup flags for the daemon karbowanecd
:
--rpc-bind-ssl-enable
to enable SSL for RPC service--rpc-bind-ssl-port
SSL port for RPC service (default port is 32448)--rpc-chain-file
(default name "rpc_server.crt", this is the "fullchain.pem" file is you use letsencrypt)--rpc-key-file
(default name "rpc_server.key", this is the "privkey.pem")--rpc-dh-file
(default name "rpc_server.pem")
The simplewallet
also got new flags
- for its wallet RPC server:
--rpc-bind-ssl-enable
enable SSL for RPC service--rpc-bind-ssl-port
(default 15100)--rpc-chain-file
(=rpc_server.crt) SSL chain file--rpc-key-file
(=rpc_server.key) SSL key file--rpc-dh-file
(=rpc_server.pem) SSL DH file
- for client:
--daemon-cert
custom certificate file for performing SSL verification--daemon-no-verify
disable SSL verification procedure
The walletd
also got these flags:
--rpc-ssl-enable
--bind-port-ssl arg (=16100)
--rpc-ssl-enable
--rpc-chain-file arg (=rpc_server.crt)
--rpc-key-file arg (=rpc_server.key)
--rpc-dh-file arg (=rpc_server.pem)
for wallet server
--daemon-port-ssl arg (=32448)
--daemon-ssl-enable
--daemon-chain-file arg (=rpc_server.crt)
--daemon-key-file arg (=rpc_server.key)
--daemon-dh-file arg (=rpc_server.pem)
for its builtin node.
How to create DH file:
openssl dhparam -out /etc/letsencrypt/live/yourdomain.com/rpc_server.pem 2048
Added new JSON RPC method resolveopenalias
which may be used e.g. in wallets.
Example request:
{
"jsonrpc": "2.0",
"id": "test",
"method": "resolveopenalias",
"params": {
"url":"aiwe.karbo.me"
}
}
Response:
{
"id": "test",
"jsonrpc": "2.0",
"result": {
"address": "KetKFqZu4jH9Gnbbvp5ckbXBzadeDK6EFPNFuPcZcCjMDK31r84weVzcF2BhewZEQGZUjDTB7QgHVbJoYTE89eh2ETuDdLH",
"status": "OK"
}
}
We dropped Ubuntu 16.04 because of troubles with automated compiling with OpenSSL support due to some incompatibilities with Boost. You can compile after manually installing the correct (newest) version of Boost.
Download:
Karbo-cli-win64-v.1.7.6.zip
4BA58304BFE9AF09475FB43249D70F9CA438A09F31A74BCA9331E585002B2E52
Karbo-cli-ubuntu18.04-v.1.7.6.tar.gz
A4FF76B2007EF996DE2E917168222F5F60B1E9A32354766C975D16A803E65210
Karbo-cli-ubuntu20.04-v.1.7.6.tar.gz
C62AC8940FE1CB10BA20B2AEA31F4556970E95F5DE4898FA67E223A1CEAADA63
Karbo-cli-macOS-v.1.7.6.zip
6F6EB728377796AA8671BA998C6F833AF0B6988A1730ECF35C37AA790699513C