Page 1 of 1

secure transaction with ssl

Posted: Tue Mar 02, 2004 8:27 am
by maldar
Hi All,
I want to develop an Online Shopping Cart and know that must use SSL
for secure transactions.
I have a script in my project called "checkout.php" that by it I can recieve
user information .I use a link to call this script such this:
"https://myservername.mydomain/mypath/checkout.php"
but everywhen I click it I get this error:
"The Page Cannot be Displayed" or this
"Action Canceled"
I am sure that the path is correct because when use "http://myservername.mydomain/mypath/checkout.php"
have no problem but seurity is lost.

where is the wrong?
If I must set any else configuration or change link syntax in my scripts?

Please help me to solve this problem. any sugesstion will be welcome
Thanks

curl is enabled and mod_ssl is one of loaded modules(mod_ssl 2.8.16,open_ssl 0.9.6b)
and php version is:4.3.3

Posted: Tue Mar 02, 2004 5:36 pm
by ckuipers
Did you create your certificate and key?

Assuming you're using Apache, did you update your configuration file? It needs the location of the two above. You will need to create a virtual host for this with the correct port allocation. Usually this is 443.

Hope this helps.

Posted: Wed Mar 03, 2004 12:30 am
by maldar
Thanks to ckuipers but I'm newbie in this
Are this configuration must be on my host/server?
may anyone help me to solve this problem?I need more information
I read manual but did not found any useful tip to solve this?
any resource may be useful and will be welcome

Posted: Wed Mar 03, 2004 3:58 am
by ckuipers
Ok, from the top.

Did you create a certificate for your domain?

If so, have you update your apache config file to reflect this:

<VirtualHost 10.12.35.42:443>
ServerName http://www.ck-server.net
DocumentRoot c:\WebPages\WWWRoot\server_info
SSLEngine On
SSLCertificateFile conf/ssl/ck-server.cert
SSLCertificateKeyFile conf/ssl/ck-server.key
</VirtualHost>

As you can see you need both a certificate and a key in the ssl folder.