cculianu / Fulcrum

A fast & nimble SPV Server for BCH, BTC, and LTC
Other
331 stars 76 forks source link

fulcrum.service: Main process exited, code=exited, status=1/FAILURE : Unable to open key file #171

Closed Fort-Nakamoto closed 1 year ago

Fort-Nakamoto commented 1 year ago

Hi, I'm stuck trying to get latest Fulcrum version installed & running, appreciate any help. :)

Generated SSL key / cert with following command: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

fulcrum.conf file: datadir = /home/fulcrum_db bitcoind = 127.0.0.1:8332 rpcuser = XXX rpcpassword = XXX ssl = 0.0.0.0:50002 cert = /home//fulcrum/cert.pem key = /home/fulcrum/key.pem peering = false fast-sync = 5000

cculianu commented 1 year ago

By default the key.pem files are only readable by root... Maybe set permission on the file to be more permissive using chmod?

cculianu commented 1 year ago

I dunno man I don't use containers I believe in the Unix process model. Sorry.

I suggest ensuring the port is open across the 2 containers for connecting to RPC. Anyway it's beyond my capacity and interest to troubleshoot container issues. Good luck.