Broker Setup: Difference between revisions

From Bittylicious
Jump to navigation Jump to search
Line 33: Line 33:
===Windows Instructions===
===Windows Instructions===


# Download Openssl from [[http://gnuwin32.sourceforge.net/packages/openssl.htm]]. Select the first option ''Complete package, except sources''
# Download Openssl from [http://gnuwin32.sourceforge.net/packages/openssl.htm]. Select the first option ''Complete package, except sources''
# Run the downloaded file and install ''openssl-'''(version)'''-setup.exe''
# Run the downloaded file and install ''openssl-'''(version)'''-setup.exe''
# Run ''cmd.exe'' from the Start/Run menu and navigate to the open ssl bin directory (others may be different), e.g. type ''cd C:\Program Files (x86)\GnuWin32\bin''
# Run ''cmd.exe'' from the Start/Run menu and navigate to the open ssl bin directory (others may be different), e.g. type ''cd C:\Program Files (x86)\GnuWin32\bin''

Revision as of 21:18, 13 August 2013

SSL keys

Offers

Bank Details

Here, you are required to enter all information required in order for a buyer to pay you. The position field corresponds to the position in which this will be displayed, from low to high.

Example information would be

Position Heading Information
10 Sort code 123456
20 Account number 72498324
30 Account name Mr. J Bloggs
40 Bank name Halifax

Software

Download some software that can call OpenSSL. For Linux, this is often available by installing the openssl package. For Windows, something like the toolkit at Sourceforge will help.

Linux/Mac Instructions

  1. Run openssl genrsa 4096 > private.key and keep this key private
  2. Also run openssl rsa -pubout < private.key > public.key and send us public.key via email to admin@bittylicious.com.

Windows Instructions

  1. Download Openssl from [1]. Select the first option Complete package, except sources
  2. Run the downloaded file and install openssl-(version)-setup.exe
  3. Run cmd.exe from the Start/Run menu and navigate to the open ssl bin directory (others may be different), e.g. type cd C:\Program Files (x86)\GnuWin32\bin
  4. Run the following command to create private.key: openssl genrsa 4096 > private.key
  5. Run the follwoing command to create public.key: openssl rsa -pubout < private.key > public.key
  6. The files are placed in the C:\Program Files (x86)\GnuWin32\bin directory so you can retrieve them with Windows Explorer.

Signing trades

In order to accept any trades, whether automatically or manually, you need to sign a message using your private key. The reason for this is that no Bitcoins can be sent without you explicitly authorising them. Even if the main Bittylicious server gets compromised, the service that sends the Bitcoins will refuse to send them unless a message is signed using your private key.

The software uses PHP so please install the latest version. For Windows, you will also need to make a few changes in order to be able to run PHP via the command line. The exact command line arguments to run are provided on the page for each trade.

Click here to download the software: Media:Sign.zip.