Bitcoin Forum
May 23, 2024, 11:12:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / SSL RPC with bitcoind on: July 07, 2014, 07:54:15 AM
I want to enable SSL on windows.So I download a shining light openssl binary,and then I create server.pem and server.cert using the following commands:

openssl genrsa -out server.pem 2048 openssl req -new -x509 -nodes -sha1 -days 3650 -key server.pem > server.cert

and then I start bitcoin-qt with bat: bitcoin-qt.exe -testnet -datadir=G:\BitcoinData-Testnet -conf=bitcoin.conf -server -rpcuser=usr -rpcpassword=pwd -rpcport=18332 -rpcallowip=* -rpcssl -rpcsslcertificatechainfile=server.cert -rpcsslprivatekeyfile=server.pem -txindex -lang=en_US

then I try to test SSL by executing commands: openssl s_client -connect localhost:18332

the response is: E:\apps\Bitcoin>openssl s_client -connect localhost:18332 Loading 'screen' into random state - done CONNECTED(000001C4) 9032:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:.\ssl\s23_lib

.c:177:

no peer certificate available

No client certificate CA names sent

SSL handshake has read 0 bytes and written 319 bytes

New, (NONE), Cipher is (NONE) Secure Renegotiation IS NOT supported Compression: NONE

Expansion: NONE


E:\apps\Bitcoin>openssl genrsa -out server.pem 2048 Loading 'screen' into random state - done Generating RSA private key, 2048 bit long modulus ....................+++ ...........................................+++ unable to write 'random state' e is 65537 (0x10001)
can somebody help me ? is server.pem produced correctly?
2  Local / 中文 (Chinese) / Re: P2POOL矿池详细教程 on: June 11, 2014, 06:27:31 AM
我想分析下P2Pool的源码,看看它是怎么实现P2P和多币种支持的。但是我本身是java开发,对python不是很熟悉;而且P2Pool也没有提供任何的文档,所以比较棘手。想问下您有什么好的建议或者这方面的资料.多谢!
3  Bitcoin / Mining software (miners) / Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy on: June 09, 2014, 02:12:02 AM
Hi,Luke. are there any api docs about Eloipool?  Grin
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!