electrum-personal-server
electrum-personal-server copied to clipboard
config.ini: certfile,keyfile options are ignored
When i set certificate paths to
certfile = /etc/ssl/certs/electrumpersonalserver.crt
keyfile = /etc/ssl/private/electrumpersonalserver.key
startup of eps still says
DEBUG:2022-03-10 19:10:52,100: using cert: /home/bitcoin/.local/lib/python3.9/site-packages/electrumpersonalserver/certs/cert.crt, key: /home/bitcoin/.local/lib/python3.9/si
te-packages/electrumpersonalserver/certs/cert.key
I think there is something wrong. all other options are applied.
eps version: 0.2.3
Found the root cause. Permission to the key file was not correct. But the error handling in this case could be better. https://github.com/chris-belcher/electrum-personal-server/blob/cc3085caf227fc8678e79f24a956fe44e8e6dbfd/electrumpersonalserver/server/common.py#L317-L334
Thanks for the issue.
I guess a debug print statement could be added to the else: branch?