nanopool / nanominer

Nanominer is a versatile tool for mining cryptocurrencies on GPUs and CPUs.
https://nanominer.org
636 stars 348 forks source link

v3.8.5 (Windows): certificate expired message (evrprog@zergpool) #404

Open UselessGuru opened 10 months ago

UselessGuru commented 10 months ago

NanoMiner-v3.8.5\nanominer.exe -algo Evrprogpow -pool1 evrprogpow.eu.mine.zergpool.com:13002 -wallet 1GPSq8txFnyrYdXL8t6S94mYdF8cGqVQJF -rigName '********************************' -rigPassword c=BTC,mc=EVR,ID=**************,pl=0 -devices 2 -mport 0 -webPort 4006 -checkForUpdates false -noLog true -watchdog false

                               _

() __ | ' \ / | '_ \ / _ \| '_ | | ' \ / _ \ '| | | | | (| | | | | () | | | | | | | | | | / | || ||_,|| ||_/|| || |||| ||_|_|

Version 3.8.5-windows 2023-Nov-13 08:20:52: Started web interface on port 4006 without a password. 2023-Nov-13 08:20:52: NVIDIA driver version: 546.01 (12.3) Detected 5 devices GPU 0 PCI 01:00.0, Platform: OpenCL, Name: Radeon RX 580 Series (Ellesmere), 8192 MB available GPU 1 PCI 09:00.0, Platform: OpenCL, Name: AMD Radeon RX 5700 XT (gfx1010), 8176 MB available GPU 2 PCI 0b:00.0, Platform: CUDA, Name: NVIDIA GeForce GTX 1660 SUPER, 6143 MB available GPU 3 PCI 0c:00.0, Platform: CUDA, Name: NVIDIA GeForce GT 1030, 2047 MB available GPU 4 PCI 10:00.0, Platform: CUDA, Name: NVIDIA GeForce GTX 750 Ti, 2047 MB available -----------------Evrprogpow:---------------- Currency: Evrcoin Wallet: 1GPSq8txFnyrYdXL8t6S94mYdF8cGqVQJF Rig name: 1GPSq8txFnyrYdXL8t6S94mYdF8cGqVQJF Email was not set. Rig password: c=BTC,mc=EVR,ID=Blackbox,pl=0 Hashrate threshold to restart miner is not set Number of rejected shares per hour to restart miner is not set Added pool: evrprogpow.eu.mine.zergpool.com:13002 Auto pool sorting is disabled Devices: 2 -------------Common parameters:------------- Log path: ./logs/ Log is not written to file GPU watchdog is disabled Never calling reboot.bat (always restarting the miner in case of errors). 2023-Nov-13 08:20:52: Setting up algorithm: Evrprogpow 2023-Nov-13 08:20:53: Connecting to pools... 2023/11/13 08:20:53 The host evrprogpow.eu.mine.zergpool.com has an expired certificate. Trying to use unsecure connection. 2023/11/13 08:20:53 Failed to verify SSL certificate against the host evrprogpow.eu.mine.zergpool.com. Trying to use unsecure connection. 2023/11/13 08:20:53 Failed to verify SSL certificate against the host evrprogpow.eu.mine.zergpool.com. Trying to use unsecure connection. 2023-Nov-13 08:20:54: Connected to pool: evrprogpow.eu.mine.zergpool.com:13002 | IP: 141.95.55.97

Other algorithms @ zergpool (I just re-tested verushash) are working fine.

Also other miners work fine with evrprog@zergpool, e.g. miniZ:

MiniZ-v2.2c\miniZ.exe --amd --pers=EVRMORE-PROGPOW --dag-fix --url=ssl://***********************@evrprogpow.eu.mine.zergpool.com:13002 --pass=c=BTC,mc=EVR,ID=****************,pl=0 --jobtimeout=900 --retries=99 --retrydelay=1 --stat-int=10 --nohttpheaders --latency --all-shares --extra --tempunits=C --show-pers --fee-time=60 --telemetry 4004 -cd 00
************ miniZ v2.2c ************
miniZ: Excluding GPU#1 RX 5700 XT
Number of OpenCL[gfx1010:xnack-] devices found: 2
Algo:           EQ[ProgPow] [smart-pers]
Pool#0:         user[******************************]
                server[evrprogpow.eu.mine.zergpool.com] port[13002] ssl[yes] pers[EVRMORE-PROGPOW]
Telemetry:      [http://localhost:4004]
Temp. limit:    [90 C]
[INFO   ] Mining fee set to 1.00%
miniZ<ProgPow>[80:0:00.0: 8192]: Selecting GPU#0[0] RX 580
[INFO   ] GPU[00]: Generating DAG #45 [3431+21=3453MB]
[INFO   ] GPU[00]: Generated DAG in 11.83 s
[ 0d 0h 0m26s] S:  1/0/0 0>RX 580 ` 100% [43 C/42%]* 10.80(10.80)MH/s  87( 87.5)W clk=1087MHz mclk=2100MHz MH/W=0.123 [evrprogpow.eu.mine.zergpool.com,EVRMORE-PROGPOW]- 63ms (100.0%) (0.0%)
[ 0d 0h 0m30s] S:  1/0/0 0>RX 580 ` 100% [43 C/42%]  10.11(10.11)MH/s  87( 87.5)W clk=1087MHz mclk=2100MHz MH/W=0.116 [evrprogpow.eu.mine.zergpool.com,EVRMORE-PROGPOW]- 63ms (100.0%) (0.0%)

PinPin (Zergpool) says 'we have on ceritificate for all ports, so must be all then with invalid' -> this message is incorrect. Pool certificate is NOT expired.

FibreFoX commented 10 months ago

@UselessGuru There is nothing wrong, just the certificate is not valid anymore (which already is printed in your logs).

You can check the used TLS certificate via:

openssl s_client -connect evrprogpow.eu.mine.zergpool.com:13002

(you can install OpenSSL on Windows via Chocolatey using choco install openssl)

Results into this for me:

CONNECTED(000001B8)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = zergpool.com
verify error:num=10:certificate has expired
notAfter=Oct 14 07:21:01 2023 GMT
verify return:1
depth=0 CN = zergpool.com
notAfter=Oct 14 07:21:01 2023 GMT
verify return:1
---
Certificate chain
 0 s:CN = zergpool.com
   i:C = US, O = Let's Encrypt, CN = R3
   a:PKEY: rsaEncryption, 4096 (bit); sigalg: RSA-SHA256
   v:NotBefore: Jul 16 07:21:02 2023 GMT; NotAfter: Oct 14 07:21:01 2023 GMT
 1 s:C = US, O = Let's Encrypt, CN = R3
   i:C = US, O = Internet Security Research Group, CN = ISRG Root X1
   a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
   v:NotBefore: Sep  4 00:00:00 2020 GMT; NotAfter: Sep 15 16:00:00 2025 GMT
 2 s:C = US, O = Internet Security Research Group, CN = ISRG Root X1
   i:O = Digital Signature Trust Co., CN = DST Root CA X3
   a:PKEY: rsaEncryption, 4096 (bit); sigalg: RSA-SHA256
   v:NotBefore: Jan 20 19:14:03 2021 GMT; NotAfter: Sep 30 18:14:03 2024 GMT
---

Looks like other miners just ignore the validity-time ( notAfter=Oct 14 07:21:01 2023 GMT). Other ports might have a different TLS cert, you should inform the providers.