Author

Topic: EasyBitcoin-PHP SSL Error (Read 916 times)

newbie
Activity: 2
Merit: 0
April 03, 2014, 01:00:43 PM
#3
thank you, I found the problem
"SSL certificate problem: self signed certificate"
full member
Activity: 307
Merit: 102
April 02, 2014, 04:47:19 PM
#2
Check the output of $bitcoin->error to see why the call failed. When an error occurs your call will return false and the error message is placed in $bitcoin->error.

Example code:
Code:
var_dump($bitcoin->error);
newbie
Activity: 2
Merit: 0
April 02, 2014, 11:04:08 AM
#1
Hi, after a adding mutiple server I added SSL to my Bitcoin instanz. When I use the jsonRPCClient.php it work fine but my software based now on easybitcoin -.- and when I try to use ssl there I get no output.

Code:
$bitcoin = new Bitcoin('username','password','localhost','8332','https');
$bitcoin->setSSL();
$bitcoin->getinfo();

https://github.com/aceat64/EasyBitcoin-PHP
Jump to: