vulpemventures / ocean

:ocean: Elements/Liquid wallet daemon
MIT License
5 stars 7 forks source link

Cli TLS config #58

Closed sekulicd closed 5 months ago

sekulicd commented 1 year ago

Its not possible to set tls cert path correctly, which is not default, since no_tls flag is wrongly set to "true"

Steps to reproduce:

alias o="go run ./cmd/ocean"
o config init
o config set tls_cert_path "test"
o config print 
{
   "no_tls": "true",
   "rpcserver": "localhost:18000",
   "tls_cert_path": "test"
}

Note: Even when manually edited state.json file i was not able to connect from CLI to Oceand when daemon started with TLS config, so TLS should be checked if works fine.