Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to set SSL API listener? #5

Open
riderwalker opened this issue Jan 18, 2018 · 2 comments
Open

how to set SSL API listener? #5

riderwalker opened this issue Jan 18, 2018 · 2 comments

Comments

@riderwalker
Copy link

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!

@LegolasGChief
Copy link

LegolasGChief commented Jan 25, 2018

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",

@mk148a
Copy link

mk148a commented Feb 8, 2018

@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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants