blockbook icon indicating copy to clipboard operation
blockbook copied to clipboard

SSL certificate problem

Open dev-dantealighieri opened this issue 11 months ago • 1 comments

hi, i installed the bitcoin indexer, it finished synching but i cannot send requests to it, heres the terminal output.

➜  build git:(master) curl https://localhost:9130
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

if i want to use ssl, what should i do? if i dont want to use it, how can i disable it? i removed certfile from service file but it didnt worked.

thanks, dante

dev-dantealighieri avatar Mar 21 '24 07:03 dev-dantealighieri

Blockbook is by default using self signed certificates, you have to run curl with -k option to accept them. To not use SSL at all, remove the -certfile from Blockbook flags.

martinboehm avatar Mar 21 '24 08:03 martinboehm