Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
setting_up_paypal_ipn_in_oscmax_2.0 [2009/10/27 10:33]
127.0.0.1 external edit
setting_up_paypal_ipn_in_oscmax_2.0 [2011/12/21 19:07]
jrr [1. Creating Your Public Certificate and Private Key Using OpenSSL (OS-X)]
Line 62: Line 62:
 ---- ----
  
-==== 1. Creating Your Public Certificate and Private Key Using OpenSSL ====+==== 1. Creating Your Public Certificate and Private Key Using OpenSSL ​(PC) ====
  
 1.1 Download and install OpenSSL on your PC if it is not already installed: 1.1 Download and install OpenSSL on your PC if it is not already installed:
Line 70: Line 70:
 1.2 In WindowsXP, click on Start, then Run. Type in "​cmd"​ without the quotes to open the DOS prompt. 1.2 In WindowsXP, click on Start, then Run. Type in "​cmd"​ without the quotes to open the DOS prompt.
  
-1.3 Creating Your Private Key with OpenSSL +1.3 Creating Your Private Key with OpenSSL Using the openssl program and assuming it is installed in c:\openssl, enter the following command to create your private key. The command generates a 1024-bit RSA private key. The private key is stored in the file my-prvkey.pem :
-Using the openssl program and assuming it is installed in c:\openssl, enter the following command to create your private key. The command generates a 1024-bit RSA private key. The private key is stored in the file my-prvkey.pem :+
  
  ​c:​\openssl\bin\openssl genrsa -out my-prvkey.pem 1024  ​c:​\openssl\bin\openssl genrsa -out my-prvkey.pem 1024
Line 83: Line 82:
  
 ---- ----
 +
 +==== 1. Creating Your Public Certificate and Private Key Using OpenSSL (OS-X) ====
 +(added Dec 21, 2011 JRR)
 +
 +1.1 If using OSX 10.6.8 (only version I have tested) then you will need to sign in as admin to be able to run OpenSSL ("​login name", Password: "​whatever"​). Result should be the admin name as the Prompt. Should work with earlier versions of OS-X and may work with Lion (10.7)
 +
 +1.2 Test the version of OpenSSL by typing "​openssl version"​ - should come up with something like "​OpenSSL 0.9.8r 8 Feb 2011". You need to be in /usr/bin to do this. Start OpenSSL by typing "​openssl",​ you should see "​OpenSSL>"​ as the prompt.
 +
 +1.3 Creating Your Private Key with OpenSSL.
 +
 +Using the now running openssl program enter the following command to create your private key. The command generates a 1024-bit RSA private key. The private key is stored in the file my-prvkey.pem :
 +
 +genrsa -out my-prvkey.pem 1024
 +
 +1.4 Creating Your Public Certificate with OpenSSL.
 +
 +To create your certificate,​ enter the following OpenSSL command, which generates a public certificate in the file my-pubcert.pem :
 +
 +req -new -key my-prvkey.pem -x509 -days 365 -out my-pubcert.pem
 +
 +You will be asked several questions: Country, State, City, Company, Name, Unit (Division), Common Name (Your Name), Email Address ​
 +
 +1.5 Exit OpenSSL by typing "​exit"​ to return to the root user.
 +
 +The two files should be saved in the \bin folder where you ran openssl from - use the command "​ls"​ to list the directory - you should see files "​my-prvkey.pem"​ and my-pubcert.pem"​ files. If you can't find the files, use the Finder to locate the files. You'll need them in step 2.4.4.
 +
 +You should move the two files to your regular user file system as it is not wise to run OS X in admin mode for day-to-day stuff. Log in as admin and move the files from admin root directory to the user and directory you want them in. I'm sure there is a better way to move these files around between users...and welcome someone fixing this up!
  
 ==== 2. Creating a PayPal Account to work with your Live Store ==== ==== 2. Creating a PayPal Account to work with your Live Store ====
setting_up_paypal_ipn_in_oscmax_2.0.txt · Last modified: 2011/12/21 19:07 by jrr
You are here: startsetting_up_paypal_ipn_in_oscmax_2.0
Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0