search for: our_pubcert

Displaying 1 result from an estimated 1 matches for "our_pubcert".

2006 Jun 29
0
Problem getting encrypted submit buttons working with the paypal gem and rails 1.1.2
...ollowing 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 @invoice_id, Money.us_dollar(@pp_amount_owed), @paypal_to, :business_key => @ou...