Author

Topic: PHP jsonRPCClient Connect to blockchain.info over SSL? (Read 1131 times)

hero member
Activity: 644
Merit: 523
Passionate about Crypto
Even too old question but I'm also interesting how to connect  PHP jsonRPCClient to blockchain via SSL coz can't find info.
Anyoune please?

Regards.
newbie
Activity: 13
Merit: 0
So their API says to use the -rpcssl, how do we use that with the PHP jsonRPCclient here http://jsonrpcphp.org. I can't see how to connect via port 443

I've tried like so:
Code:
$b = new jsonRPCClient('http://USER:PASSWORD@http://blockchain.info:443')

$b = new jsonRPCClient('https://USER:PASSWORD@https://blockchain.info:80')

$b = new jsonRPCClient('https://USER:PASSWORD@https://blockchain.info:443')

$b = new jsonRPCClient('https://USER:PASSWORD@https://blockchain.info')


I just keep getting Unable to connect to https://blockchain.info


Edit: I can however connect like so
Code:
$b = new jsonRPCClient('http://USER:PASSWORD@http://blockchain.info')

But it's not encrypted is it?


Jump to: