-
Notifications
You must be signed in to change notification settings - Fork 109
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
XMRigCCServer: HTTP Daemon failed to start when "use-tls" : true in config_cc.json #103
Comments
Some more information would be helpful.
Which OS you're running on?
i use this
Option 1 - Generate TLS certificates
openssl genrsa -out server.key 1024
openssl req -days 365 -out server.pem -new -x509 -key server.key
copy both file to xmrigcc folder but when i run ccserver
HTTP Daemon failed to start.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#103>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAXZgc-RxaeTGo0oiL_hJpt4BZvjn75Nks5trUhTgaJpZM4TfMDX>.
|
use windows 10, create pem and key using openssl-win64 1.1.0h |
I have same problem on windows.I used Gobetween (http://gobetween.io/downloads.html) to manage tls and redirect to cc without tls option enabled. |
In index.html file you'll find there vars. Just modify them for your needings. The TRESHOLD is the one you should increase. Maybe 240 or 300 * 1000 is a good candidate for you.
|
On the SSL problems i started investigation. Currently its unclear what is goind wrong on Windows. But it seems that even the sample app from libmicrohttpd with tls isnt working on Windows. |
Good day Bendr0id |
I will start looking into this. |
I finally found the root cause. It's due to libmicrohttpd isn't compiled with tls support. Either i find a version which has it build in or i need to compile it on my own.. Any help appreciated |
hi, do you have any update? This issue is continue for me :S |
Build libmicrohttpd with TLS support and link against it when building xmrigCC. That will solve it. |
Or just host xmrigCCServer on a linux system. |
i am trying on linux but same result, can you help for step by step? |
Hi! I Have a same problem. |
No one version windows support the HTTPS Daemon. I want to encrypt traffic on the local network. |
The problem is that the http third party library which is used doesn't support windows tls. If you want to have it running with TLS use linux or WSL (for example Ubuntu) with the Linux version from the release page. |
then it's weird but xmrig-proxy works just fine without any haproxy and Ubuntu. Maybe you could make a fork of its libs? Proof: https://savepic.pro/image/NcGpj |
It's not wierd. XMRigCC minerwise is also able todo full TLS on windows. Problem is the http server part. Xmrig-proxy is using ssl for stratum only. (Connection proxy to pool and Miner to proxy) the API of xmrig-proxy doesn't support https. So it's exactly the same for cc server. |
XMRigCC server part is not a proxy! |
Thanks for putting this app together(works good). Having the same issue with Windows 10, i see its basically not supported at this time. Thought i was generating certificates wrong, so i kept trying different things until i did a quick search in the issues section(and found this). Could someone possibly make a note on the wiki page(assuming a fix is not imminent)? |
Fixed in #2.1.0 |
i use this
Option 1 - Generate TLS certificates
openssl genrsa -out server.key 1024
openssl req -days 365 -out server.pem -new -x509 -key server.key
copy both file to xmrigcc folder but when i run ccserver
HTTP Daemon failed to start.
The text was updated successfully, but these errors were encountered: