From 85134bce7517e9ac74d47fa16c2e70e4d86bd50a Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:52:36 +0100 Subject: [PATCH] Enable TLS/SSL and Test Update api.json Ensure that the port 8008 is open in your firewall to allow external connections. Restart your Stratum server to apply the changes. Test the TLS connection by using an SSL-enabled client. You can use openssl s_client -connect example.com:8008 to verify that the encrypted connection works as expected. --- api.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.json b/api.json index 5c8c8a28..42827eeb 100644 --- a/api.json +++ b/api.json @@ -26,8 +26,8 @@ "timeout": "120s", "maxConn": 8192, "tls": false, - "certFile": "/path/to/cert.pem", - "keyFile": "/path/to/key.pem" + "certFile": "/etc/letsencrypt/live/example.com/fullchain.pem", + "keyFile": "/etc/letsencrypt/live/example.com/privkey.pem" }, "policy": { "workers": 8,