DelphiFAQ Home Search:

Certificate problem with Payflow pro e-commerce solution

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

"The certificate chain did not validate, no local certificate found"

Question:

I installed Payflow Pro on a new machine which we will be using for e-commerce. I have an installation on a development machine already and just moved the relevant perl scripts to the new box.
Payflow pro was installed (copied files to /usr/local/verisign and the binary to /usr/sbin )
and the digital certificate is installed as well. The apache web server has mod_ssl installed and everything is nice.

But when we make a test purchase, payflow pro complains
"The certificate chain did not validate, no local certificate found"

Answer:

Look at your script from where you call the payflow binary. In the case of perl you will have a statement like this:

$ENV{PFPRO_CERT_PATH} .= "/var/www/cgi-bin/certs";


This adds the specified directory to your environment variable PFPRO_CERT_PATH.
  1. make sure that this folder actually exists.
  2. the code shown above - which is how the sample script provided by Verisign looks like - appends the folder to the existing path. In one case that existing path was not empty. There should be : between entries or the path should simply be assigned by

    $ENV{PFPRO_CERT_PATH} = "/var/www/cgi-bin/certs";

    (replace .= with =)



Comments:

 

 

Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option.
 
It seems that you are
from Washington, US .

Info/ Feedback on this

Show city and country
Show country only
Hide my location
Leave your comment here:
Please type in the code:
photo Add a picture:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity. The owner of this web site reserves the right to delete such material.