Bitcoin Forum
May 09, 2024, 08:31:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ssl help!  (Read 695 times)
cnbtcnews (OP)
Newbie
*
Offline Offline

Activity: 54
Merit: 0



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?
1715243463
Hero Member
*
Offline Offline

Posts: 1715243463

View Profile Personal Message (Offline)

Ignore
1715243463
Reply with quote  #2

1715243463
Report to moderator
1715243463
Hero Member
*
Offline Offline

Posts: 1715243463

View Profile Personal Message (Offline)

Ignore
1715243463
Reply with quote  #2

1715243463
Report to moderator
1715243463
Hero Member
*
Offline Offline

Posts: 1715243463

View Profile Personal Message (Offline)

Ignore
1715243463
Reply with quote  #2

1715243463
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715243463
Hero Member
*
Offline Offline

Posts: 1715243463

View Profile Personal Message (Offline)

Ignore
1715243463
Reply with quote  #2

1715243463
Report to moderator
1715243463
Hero Member
*
Offline Offline

Posts: 1715243463

View Profile Personal Message (Offline)

Ignore
1715243463
Reply with quote  #2

1715243463
Report to moderator
onpdm
Newbie
*
Offline Offline

Activity: 26
Merit: 0


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
Merit: 0


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
Merit: 1025



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.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
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!