trezor / blockbook

:blue_book: Trezor address/account balance backend
https://trezor.io
GNU Affero General Public License v3.0
671 stars 654 forks source link

SSL certificate problem #1053

Open dev-dantealighieri opened 8 months ago

dev-dantealighieri commented 8 months ago

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

martinboehm commented 8 months ago

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.