Bitcoin Forum
September 27, 2016, 08:39:41 PM *
News: Due to DDoS attacks, there may be periodic downtime.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: OpenSSL (https) JSON-RPC connections  (Read 2664 times)
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
October 11, 2010, 06: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).

How often do you get the chance to work on a potentially world-changing project?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1475008781
Hero Member
*
Offline Offline

Posts: 1475008781

View Profile Personal Message (Offline)

Ignore
1475008781
Reply with quote  #2

1475008781
Report to moderator
BioMike
Legendary
*
Offline Offline

Activity: 1218


View Profile
October 11, 2010, 08:03:22 PM
 #2

Nice.
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
October 11, 2010, 11: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.

Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
October 11, 2010, 11: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)

How often do you get the chance to work on a potentially world-changing project?
slurch
Member
**
Offline Offline

Activity: 70



View Profile WWW
April 23, 2011, 01:26:42 AM
 #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

Donations accepted at: 1AXKzVc1tTmfC6VkWwBNSzKqThqhwsC5mY
For what, I have no idea...
unfinishe
Full Member
***
Offline Offline

Activity: 126



View Profile
May 24, 2011, 06: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.

Check out the results from my Bitcoin Survey Project!
https://bitcointalk.org/index.php?topic=88927.0
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!