Author

Topic: OpenSSL (https) JSON-RPC connections (Read 3067 times)

full member
Activity: 126
Merit: 100
May 24, 2011, 02:28:40 PM
#6
Well, I have managed to compile the latest source on Windows XP SP3 with ssl support just fine by editing makefile.mingw:

line 28:
Code:
 -l db_cxx \
 -l eay32
to
Code:
 -l db_cxx \
 -l ssl \
 -l eay32

and line 33:
Code:
DEFS=-DWIN32 -D__WXMSW__ -D_WINDOWS -DNOPCH
to
Code:
DEFS=-DWIN32 -D__WXMSW__ -D_WINDOWS -DNOPCH -DUSE_SSL

and then following the instructions here: http://forum.bitcoin.org/index.php?topic=5851.
member
Activity: 70
Merit: 10
April 22, 2011, 09:26:42 PM
#5
I hate to dredge this up after 6 months, but I'm trying to set this up right now...on my Windows 7 box. Sad Has any progress been made that a summary noob such as myself might be able to make use of? The wiki has some of the pieces, but I'm stumped on this one. Thanks, guys.

Edit: No other pertinent threads on the topic doesn't bode well for my noobness, either. Tongue
legendary
Activity: 1652
Merit: 2216
Chief Scientist
October 11, 2010, 07:29:24 PM
#4
What are the issues?

FWIW, one can download mingw32-openssl from fedora, thereby obtaining portable (across Win32) binaries without all the work.
I don't know what the issues are-- I do Mac/Linux these days (I don't do Windows).  Does the precompiled fedora mingw32-openssl support ECSDA signatures?  Can you give it a try and let us know if it works?  (just add -DUSE_SSL to the Makefile and link with whatever libssl is called under mingw32)
legendary
Activity: 1596
Merit: 1091
October 11, 2010, 07:16:09 PM
#3
SSL support is enabled at compile time with the USE_SSL #define, and is not enabled in the Windows makefiles because I'm told there are... issues... compiling full OpenSSL libraries on Windows (core bitcoin uses the openssl libcrypto library, this change requires the full libssl library).

What are the issues?

FWIW, one can download mingw32-openssl from fedora, thereby obtaining portable (across Win32) binaries without all the work.
legendary
Activity: 1658
Merit: 1001
October 11, 2010, 04:03:22 PM
#2
Nice.
legendary
Activity: 1652
Merit: 2216
Chief Scientist
October 11, 2010, 02:56:00 PM
#1
SVN rev 166 (bitcoin version 0.3.13.4) implements secure incoming SSL JSON-RPC connections to bitcoind or bitcoin -server on Linux and OSX.

I've created a wiki page with detailed instructions on how to configure bitcoin.conf for SSL JSON-RPC connections.

SSL support is enabled at compile time with the USE_SSL #define, and is not enabled in the Windows makefiles because I'm told there are... issues... compiling full OpenSSL libraries on Windows (core bitcoin uses the openssl libcrypto library, this change requires the full libssl library).
Jump to: