Bitcoin Forum
December 17, 2017, 04:26:31 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: ssl help!  (Read 609 times)
cnbtcnews
Jr. Member
*
Offline Offline

Activity: 54



View Profile
January 22, 2013, 02:45:29 PM
 #1

what does it meaning?

Client setup

Once the server is accepting https connections, to be secure you should make sure the client is actually connecting to the bitcoin server and not an attacker trying to hijack the connection.
If you can, you should copy the server.cert certificate chain file to the client machine and use it to validate the OpenSSL connection. For example, in php you would call stream_context_create() with the 'verify_peer' and 'ca_file' options and then call stream_context_set_default().
If you can't validate using the server certificate, you should connect to the server using its IP address instead of its host name.


I want to connet bitcoind througt ssl with PHP page. How can I do?
1513527991
Hero Member
*
Offline Offline

Posts: 1513527991

View Profile Personal Message (Offline)

Ignore
1513527991
Reply with quote  #2

1513527991
Report to moderator
1513527991
Hero Member
*
Offline Offline

Posts: 1513527991

View Profile Personal Message (Offline)

Ignore
1513527991
Reply with quote  #2

1513527991
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513527991
Hero Member
*
Offline Offline

Posts: 1513527991

View Profile Personal Message (Offline)

Ignore
1513527991
Reply with quote  #2

1513527991
Report to moderator
1513527991
Hero Member
*
Offline Offline

Posts: 1513527991

View Profile Personal Message (Offline)

Ignore
1513527991
Reply with quote  #2

1513527991
Report to moderator
onpdm
Newbie
*
Offline Offline

Activity: 26


View Profile
January 23, 2013, 08:51:44 PM
 #2

I set up a Bitcoind Server 2 weeks ago and switched to SSL connection, but I didn't need any configuration of client.

Just make the configuration with the OpenSSL on your server described in wiki and connect via PHPrpc with https. If you change your PHPrpc back to http, connection will be refused.

Hope this is correct anyway... but it works.
BitcoinSuite
Newbie
*
Offline Offline

Activity: 25


View Profile WWW
January 30, 2013, 05:25:22 PM
 #3

I set up a Bitcoind Server 2 weeks ago and switched to SSL connection, but I didn't need any configuration of client.

You should, the instructions above mention copying the cert so it is validated with the one on YOUR server.

kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
January 31, 2013, 06:14:53 PM
 #4

Yes, make sure that you set the client up to validate the certificate.  If you skip this step, you might as well not be using SSL at all.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
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!