Displaying 1 result from an estimated 1 matches for "our_privatekey".
Did you mean:
org_privatekey
2006 Jun 29
0
Problem getting encrypted submit buttons working with the paypal gem and rails 1.1.2
...nt.", which is ... unhelpful.
I generated a key and public certificate with the following ssl
commands:
openssl genrsa -out business_key.pem 1024
openssl req -new -key business_key.pem -x509 -days 3650 -out
business_cert.pem
I load the keys with the following code in my controller
@our_privatekey = File::read("#{RAILS_ROOT}/config/
business_key.pem")
@our_pubcert = File::read("#{RAILS_ROOT}/config/business_cert.pem")
and confirmed via logger.info that I''m loading the correct data from
the files.
I use them in my form view like so:
<%= paypal_setup...