Folks,
I am pretty new to the idea of using proxy servers.
I have a billing application installed in a Windows 2003 server. I am trying to integrate a third party API (Payway API) to process the credit card transactions initiated by the billing application. For the Payway API to work, the billing application is supposed to use a digital certificate provided by Payway while initiating the credit card transactions. Unfortunately, the billing application that I have doesn't support the usage of a digital certificate. To work around this problem, I was suggested to use a reverse proxy with SSL support between the billing application and Payway.
So, the configuration is to look like:
BILLING APPLICATION <=> REVERSE PROXY (with digital certificate) <=> PAYWAY
Please let me know if NGINX can work for me.
I tried installing NGINX in the windows server where the billing application is installed and I have configured NGINX to listen to 444 port (as 443 port is used by my billing application). The billing application has been configured to initiate the credit card transactions by connecting to https://ccapi.client.qvalent.com:444
Due to some reason, the setup doesn't seem to work. I am not sure if I have configured NGINX properly either. What I need is:
1. NGINX must be monitoring for the transactions initiated by the billing application to https://ccapi.client.qvalent.com:444....
2. If there is a transaction initiated, then it must use the specified digital certificate and proxy the transaction
3. Once the transaction is completed at Payway and when NGINX gets the resulting status, it must pass it on to the billing application.
I have used the following NGINX configuration:
#user nobody;
worker_processes 1;
error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
server {
listen 444;
server_name ccapi.client.qvalent.com;
ssl on;
ssl_certificate ccapi.pem;
ssl_certificate_key ccapi.pem;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on;
#location / {
# root html;
# index index.html index.htm;
#}
}
}
Please help me to work out a solution.
Thanks,
KB.
Edited 3 time(s). Last edit at 03/17/2011 10:24AM by skb_ebay.