RE: SSL on Windows Server 2003

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a better understanding of the SSL process, however, I still have
an issue communicating with the VeriSign Payflow Pro gateway.

Am I correct in the fact that I need to tell OpenSSL what certificate to
use when sending payment requests to VeriSign?

If so, what is the proper way to do this?

Below is the command being used by X-Cart shopping cart software via the
exec() function:
C:\OpenSSL\bin\openssl.exe s_client -connect
test-payflow.verisign.com:443 < C:\path\to\xct15.tmp
2>C:\path\to\xct16.tmp

I keep getting the message "no client certificate CA names sent"

Do I need to somehow associate the payflow certificate <hash>.0 with
this?

Thanks in advance for your help and time.

Ken Vandegrift
kvandegrift@xxxxxxxxxx
Web Administrator
Sharis Mgmt. Corp

-----Original Message-----
From: Frank M. Kromann [mailto:frank@xxxxxxxxxxxx] 
Sent: Wednesday, February 07, 2007 9:09 AM
To: Vandegrift, Ken
Cc: php-windows@xxxxxxxxxxxxx
Subject: Re:  SSL on Windows Server 2003



> Good Day To All,
>  
> System Config:
> Windows Server 2003
> PHP 5.2
>  
> I'm hoping someone can help give me a high level understanding between

> the differences between an SSL certificate installed on my webserver
and
> an SSL module (e.g. OpenSSL) installed on my web server.
>  
> 1. My current understanding is that the SSL certificate installed on 
> my webserver will encrypt data coming from and going to a client web 
> browser if the protocol is HTTPS.  So, if on a checkout form at my web

> store the url begins with https, then credit card info, etc. will be 
> encrypted and considered safe from sniffers, etc.  Is this correct?

Correct, or at least more safe than non encrypted connections.

>  
> 2. I become fuzzy then for the need or proper use of an SSL module 
> (let's just go with OpenSSL).  Specifically, my current webstore has 
> VeriSign's Payflow Pro API installed on the webserver, and I have 
> written a class that sends payment requests to VeriSign by using the 
> Payflow Pro as a COM object.  However, this is very slow (taking 30 
> seconds per transaction).  Recently my company purchased X-Cart
Shopping
> cart software and I am trying to get this configured to use our 
> Payflow Pro account using XMLPay.  However, I keep getting an error 
> that no SSL module could be located for secure transactions. So, why 
> do I need an SSL module if I am submitting transaction data to an
HTTPS url?

In this case php becomes the client and it needs to know how to encrypt
data send to the gateway (the server) and how to decrypt the data
comming back. This is where OpenSSL comes into play. If you can load the
extension called php_openssl.dll, it requires libeay32.dll and
ssleay32.dll you should be able to communicate with SSL encryptions. You
might want to take a look at the cURL extension as well. It'll do all
the encryption and decryption for you on each request.

- Frank

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux