Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL issue


TheComputerGuy

Recommended Posts

  • 1 month later...

Well, it does take a bit more than that.

 

First, you have to consult with your host to see how SSL certificates are to be installed, if it can be done at all. Each host service varies a bit in how this is done.

 

Then you have to determine what the form of your HTTPS URL is. If you have indeed purchased and installed your own certificate, then the change Nimmit suggested is what comes next. If you are using "shared SSL", you will have to ask your host what the proper format is.

Link to comment
Share on other sites

Looks as if you have turned off SSL on this site, so there's nothing to look at.

 

At one time in the past my host used the ~username syntax for SSL and I never got it to work properly with osC. I've seen others manage it, though...

 

Does your host require a separate folder for "secure" files?

Link to comment
Share on other sites

At one time in the past my host used the ~username syntax for SSL and I never got it to work properly with osC.

I set one up last week - I put the /~sitename/ in the DIR_WS_HTTPS_CATALOG path rather than the HTTPS_SERVER - the same with the HTTPS_COOKIE_DOMAIN and HTTPS_COOKIE_PATH - worked just fine :)

 

I look at it this way - something like /~sitename/ is not truly a part of a 'domain'

 

 

Matti

Link to comment
Share on other sites

I got it to work! It was all in the config!!

Thanks Johnson and Stevel!

 

Now I have another slight problem. It will not allow me to add just credit card payments. I want people to just send me a credit card payment so I can swipe their cards on my machine at my phyiscal store. How do I enable that?

Link to comment
Share on other sites

How does it "not allow" you? Enable the credit card module in admin - that's what you want. I suggest you also set the option for sending split credit card number e-mails.

Link to comment
Share on other sites

In the modules admin panel, "edit" the credit card module. One of the fields you can set is an e-mail address for "split card information". Fill this in with your e-mail address. Then, when a customer places an order, you will get an e-mail with the order number and middle 8 digits of the card number. The rest of the number and other info will be stored in the database. This way, not all the card info is in one place and this provides some protection against data theft.

 

Do be sure to secure your admin panel with .htaccess.

Link to comment
Share on other sites

Ok...I have a similar problem with a slight twist....any help would qwell my insanity...i am attempting to use the shared ssl from my host wich is demonstrated below in the code, but when i do the images are not present on the secure page...test is ok, but no stylesheet or images are appearing...i have done all different tweaks to the config to no avail so maybe someone else has encountered this issue....here is my present code:

define('HTTP_SERVER', 'http://redlinevegas.com');
define('HTTPS_SERVER', 'https://www.ssl119.securednshost.com/~redlinev');
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://redlinevegas.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www.ssl119.securednshost.com/~redlinev');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/~redlinev/store/');
define('DIR_WS_IMAGES', '/store/images/');
define('DIR_WS_ICONS', '/store/icons/');
 define('DIR_WS_INCLUDES', 'includes/');

 

when i click on an image i get these properties:

https://www.ssl119.securednshost.com/store/.../oscommerce.gif

 

when i tweak it to https://www.ssl119.securednshost.com/~redli.../oscommerce.gif

the image is visible....

 

ANY SUGGESTIONS???? :)

 

thanks

mark

Link to comment
Share on other sites

Thanks steve for the reply but your suggestion didn't do the trick to get the image path correct....

here is the code i changed it to....

define('HTTP_SERVER', 'http://redlinevegas.com');
define('HTTPS_SERVER', 'https://www.ssl119.securednshost.com');
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://redlinevegas.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www.ssl119.securednshost.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/~redlinev/store/');
define('DIR_WS_IMAGES', '/store/images/');
define('DIR_WS_ICONS', '/store/icons/');
define('DIR_WS_INCLUDES', 'includes/');

for some reason any secure page has the image path without the "/~redlinev/"

 

i have to lead it to my images directory, but i do not know where in the config file...

 

thanks

 

mark

Link to comment
Share on other sites

I'm confused - it looks as if you made exactly the change I suggested.

 

I also note that the COOKIE_DOMAIN defines are wrong. These should read:

define('HTTP_COOKIE_DOMAIN', 'redlinevegas.com');
define('HTTPS_COOKIE_DOMAIN', 'securednshost.com');

Link to comment
Share on other sites

GOT THE LITTLE BOOGER!!!!

 

I made the changes you suggested , but it didn't get my images so i changed a line to this:

define('DIR_WS_IMAGES', '/~redlinev/store/images/');

 

It didn't make any sense but it works....magic i guess...

 

thanks for the help!!! :)

 

mark

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...