Skip to content

Commit

Permalink
Enable TLS/SSL and Test Update api.json
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yuriy0803 authored Dec 18, 2024
1 parent d195502 commit 85134bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 85134bc

Please sign in to comment.