Bitcoin Forum

Other => Beginners & Help => Topic started by: NTICompass on January 02, 2012, 02:23:27 AM



Title: bitcoin compiled without full openssl libraries
Post by: NTICompass on January 02, 2012, 02:23:27 AM
I downloaded Bitcoin 0.5.1 for Linux from bitcoin.org.  My server was running an older version (not sure which one).  When I ran bitcoind, and tried to connect to RPC via SSL I got this:

Code:
EXCEPTION: St13runtime_error
-rpcssl=1, but bitcoin compiled without full openssl libraries.
bitcoin in ThreadRPCServer()

terminate called after throwing an instance of 'std::runtime_error'
  what():  -rpcssl=1, but bitcoin compiled without full openssl libraries.
Aborted

The older version of Bitcoin I had worked, I followed the guide to enable SSL here: https://en.bitcoin.it/wiki/Enabling_SSL_on_original_client_daemon

Why doesn't SSL work on Bitcoin 0.5.1.

NOTE:
OS: Debian Squeeze 32-bit


Title: Re: bitcoin compiled without full openssl libraries
Post by: deepceleron on January 12, 2012, 06:00:17 AM
Wallet encryption?

Bitcoin didn't use encryption before this, only hashing functions.

Edit: never mind, "read post before replying" will be my new mantra.


Title: Re: bitcoin compiled without full openssl libraries
Post by: NTICompass on January 12, 2012, 02:13:18 PM
Wallet encryption?

Bitcoin didn't use encryption before this, only hashing functions.

Edit: never mind, "read post before replying" will be my new mantra.
Oh, sorry if I didn't explain it, but I was trying to enable JSON-RPC (using SSL).


Title: Re: bitcoin compiled without full openssl libraries
Post by: deepceleron on January 12, 2012, 03:20:29 PM
Here is the answer: Someone (BlueMatt) forgot to enable RPCSSL in gitian builds... (https://github.com/bitcoin/bitcoin/pull/687)

"luke-jr    * a225351 Re-enable RPCSSL in gitian builds.
19:38    luke-jr    ^ is this a bugfix?
19:38    BlueMatt    yea
19:38    gmaxwell    luke-jr: I think so it wasn't intentionally turned off, and people using it have complained."

It has already been noted and fixed, but you'll need to wait for a 0.5.2 or 0.6.0 binary for the fix. Alternately you can compile Bitcoin 0.5.1 yourself (https://bitcointalk.org/index.php?topic=42198.0) after making just the changes to the source that are in commit a225351 (https://github.com/TheBlueMatt/bitcoin/commit/a22535144c9a50a6348944134879651f769a8028).


Title: Re: bitcoin compiled without full openssl libraries
Post by: NTICompass on January 12, 2012, 03:28:23 PM
It has already been noted and fixed, but you'll need to wait for a 0.5.2 or 0.6.0 binary for the fix. Alternately you can compile Bitcoin 0.5.1 yourself (https://bitcointalk.org/index.php?topic=42198.0) after making just the changes to the source that are in commit a225351 (https://github.com/TheBlueMatt/bitcoin/commit/a22535144c9a50a6348944134879651f769a8028).

Cool, glad to know it's fixed.  I'll wait for a binary, I may try to compile if I get some time :-)