Bitcoin Forum
May 10, 2024, 11:13:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: OpenSSL ciphers and App Engine  (Read 2683 times)
Gavin Andresen (OP)
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
October 22, 2010, 04:06:08 PM
 #1

I spent way too many hours yesterday trying to figure out why my Google App Engine code couldn't urlfetch from my -rpcssl bitcoin process, so I'm posting this to hopefully save somebody else from the frustration.

I made Bitcoin's HTTPS-JSON-RPC code fussy about what openssl ciphers it supports on purpose; by default, it doesn't accept SSLV1 connections or older, weaker ciphers or hashing algorithms (like single-DES and MD5).

Surprisingly, Google's App Engine urlfetch service currently ONLY supports RC4/DES/MD5/SHA, so, by default, App Engine can't talk via https to Bitcoin.  The workaround is easy (use the -rpcsslciphers= option to override the ciphers bitcoin will accept), and I'll document this on the rpcssl wiki page.

And hopefully Google will get with the program and support better encryption...

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

Posts: 1715339593

View Profile Personal Message (Offline)

Ignore
1715339593
Reply with quote  #2

1715339593
Report to moderator
1715339593
Hero Member
*
Offline Offline

Posts: 1715339593

View Profile Personal Message (Offline)

Ignore
1715339593
Reply with quote  #2

1715339593
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715339593
Hero Member
*
Offline Offline

Posts: 1715339593

View Profile Personal Message (Offline)

Ignore
1715339593
Reply with quote  #2

1715339593
Report to moderator
1715339593
Hero Member
*
Offline Offline

Posts: 1715339593

View Profile Personal Message (Offline)

Ignore
1715339593
Reply with quote  #2

1715339593
Report to moderator
1715339593
Hero Member
*
Offline Offline

Posts: 1715339593

View Profile Personal Message (Offline)

Ignore
1715339593
Reply with quote  #2

1715339593
Report to moderator
ByteCoin
Sr. Member
****
expert
Offline Offline

Activity: 416
Merit: 277


View Profile
October 28, 2010, 03:23:37 PM
 #2

Thanks for that. You might feel that you're mailing this stuff into a void but I have taken note for my own project and I appreciate not having to work it out for myself.

ByteCoin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!