cryptonote-aeon-pool icon indicating copy to clipboard operation
cryptonote-aeon-pool copied to clipboard

how to set SSL API listener?

Open riderwalker opened this issue 7 years ago • 2 comments

Hello guys, i have an issue with the API SSL listener, i dont know how to do it work.

I have the following config.json of the pool:

image 2

This is the var api on the website confij.js:

sin titulodsds

An this is the output of the "node init.js" process:

descarga

I dont have the files:

"sslcert": "./certs/cert.pem", "sslkey": "./certs/privkey.pem", "sslca": "./certs/chain.pem",

Are they necessary for the port to start listening?

Whats wrong or what i need to do?

Thanks!

riderwalker avatar Jan 18 '18 15:01 riderwalker

You need to setup SSL through something like Lets Encrypt then point to the certificate files that are created

"api": { "enabled": true, "hashrateWindow": 600, "updateInterval": 15, "port": 8117, "blocks": 30, "payments": 30, "ssl": true, "sslport": 9119, "sslcert": "/etc/letsencrypt/live/www.durinsmine.com/cert.pem", "sslkey": "/etc/letsencrypt/live/www.durinsmine.com/privkey.pem", "sslca": "/etc/letsencrypt/live/www.durinsmine.com/chain.pem",

LegolasGChief avatar Jan 25 '18 16:01 LegolasGChief

@riderwalker @LegolasGChief Hi, i have same issue and since 2 weeks still continue. Do you fix it? I have already this settings but ssl port is not opened and api is not work..

mk148a avatar Feb 08 '18 07:02 mk148a