From 18890b78e3541f9f5a6f58638ba818891c724443 Mon Sep 17 00:00:00 2001 From: Jeff Vandrew Jr <43861226+JeffVandrewJr@users.noreply.github.com> Date: Fri, 29 Mar 2019 11:26:31 -0400 Subject: [PATCH] Update for use with Eclair Mobile --- doc/usage.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/usage.md b/doc/usage.md index 19d9b8f..aa0cfbf 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -118,6 +118,15 @@ $ sudo systemctl restart nginx $ electrum --oneserver --server=example:50002:s ``` +Note: If you are connecting to electrs from Eclair Mobile or another similar client which does not allow self-signed SSL certificates, you can obtain a free SSL certificate as follows: + +1. Follow the instructions at https://certbot.eff.org/ to install the certbot on your system. +2. When certbot obtains the SSL certificates for you, change the SSL paths in the nginx template above as follows: +``` +ssl_certificate /etc/letsencrypt/live//fullchain.pem; +ssl_certificate_key /etc/letsencrypt/live//privkey.pem; +``` + ### Sample Systemd Unit File You may wish to have systemd manage electrs so that it's "always on." Here is a sample unit file (which assumes that the bitcoind unit file is `bitcoind.service`):