when using blockchain.info for the bitcoin server, is the server username the same as wallet identifier?

CommentFileSizeAuthor
#8 Untitled-5.jpg114.68 KBed523

Comments

jmagunia’s picture

That's what I use; I was able to successfully save the settings without any error messages.

ed523’s picture

How do you find out blockchain's ssl certificate path?
edit: nm, don't need if it's http

ed523’s picture

still not working though, says Unable to communicate with the Bitcoin server, check configuration or Bitcoin server status.

ed523’s picture

Probably because ports 443 and 8332 are for https and I need the certificate file path for that? So yeah, back to that last question...

jmagunia’s picture

If your server has an SSL certificate for your domain you can use that. I'm not sure you can generate your own. Disabling two factor authentication worked for me. You may also want to check your servers firewall to make sure ports 443 and 80 are open.

ed523’s picture

It's not actually my server, it's blockchain.info's server

jmagunia’s picture

I'm not sure I understand what you're trying to say. If you can elaborate, it would be helpful.

ed523’s picture

StatusFileSize
new114.68 KB

I don't know the path to blockchains certificate. I was trying to use blockchain for the bitcoin server like this guy said https://dgtlmoon.com/how_configuring_drupals_ubercart_bitcoin_payment_mo...

jmagunia’s picture

Actually the path to the certificate file is local to your computer (that's what I use). If you are using Linux, try looking in /etc/ssl for a pre-generated certificate named "snake-oil.crt" If not you can generate your own SSL certificate with this command:

openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr

Then include that path in the Bitcoin form like in the image.

ed523’s picture

Local to the server my website's on you mean? That one is linux, are those shell commands? So even though I'm not hosting the bitcoin daemon myself, I use a local ssl cert and not blockchain.info's?

jmagunia’s picture

Yes, the CRT file is located on your webserver even if you're not hosting your own Bitcoin server. You don't use Blockchain.info's ( I suspect Blockchain would not want share theirs anyway.)

Those are indeed shell commands. You can use something like Terminal or Putty if you are using windows to SSH in.

A pre-generated certificate may already exist on your webserver in the directory I mentioned.

ed523’s picture

OK I was a bit confused about having to have a certificate on the server my site is on if it wasn't where the btc deamon was located.

I got my shared hosting company to put ssl on my domain and they also gave me the path to the certificate although from looking at it I think it's actually on globalsign's server. The "certificate unreadable use an absolute path" error message went away but now I'm back to "Unable to communicate with the Bitcoin server, check configuration or Bitcoin server status." Just to reiterate my original question, if I'm actually using blockchain.info to host the bitcoin deamon as opposed to my shared host, would the blockchain wallet identifier aka thing that looks something like 4de5b523-d209-42f0-90bf-33f03093fc6c that blockchain gives you when you get a wallet go in the Server username (User name for your Bitcoin server's JSON-RPC-HTTP interface) field?

jmagunia’s picture

Yes, the wallet identifier given to you by Blockchain.info is the username for the UC_Bitcoin. The example you gave is similar to the wallet identifier I am using. It's the same identifier you use to login to Blockchain.info.

The error message you are receiving may be due to a Blockchain.info configuration. On my Blockchain account there is an IP Restrictions tab under 'Account Settings'. You will also have to enable API access for you Blockchain account on the same page and whitelist IP addresses that will be accessing your Bitcoin account. You may also want to try turning off TFA if it is enabled.

ed523’s picture

Great, I didn't know about those steps, thanks. So check to enable api access, whitelist the servers' IP in the IP restrictions tab of account settings. I'm not sure what TFA is however.

jmagunia’s picture

TFA is two factor authentication. I stumbled around for an hour two wondering why I was getting the 'cannot connect to server' message until I disabled it. Yeah try those settings and see if you can save the form.

ed523’s picture

Yeah It still says it's misconfigured, but at least I know they're talking about the wallet settings. I'll look around in there some more. Thanks for your help.

dgtlmoon’s picture

Status: Active » Fixed

yes correct, the username is the wallet ID

Please try the latest 1.35 version, there is specifically support for Blockchain.info (note the extra composer_manager steps located at the project info page)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.