1 reply [Last post]
rickyw's picture
Offline
Joined: 02/02/2009
Juice: 51
Was this information Helpful?

Hi,
I'm pretty much a novice with Drupal, Ubercart and web development in general, but I am decent around computers.

I have a site getting ready to go live and I'm close to purchasing an SSL certificate.

I read a thread on this forum regarding SSL (http://www.ubercart.org/forum/support/1850/ssl_which_paths_do_you_protect) and I still had some questions.

This probably isn't an Ubercart question exactly, but I figure that I should follow what fellow users consider "best practices".

I was going to buy a regular non-wildcard cert to cover my http://www.store.com domain. I realize that it will not cover the http://store.com domain, so do I need to set up some sort of Redirect to ensure the secure pages will work properly? (like modify .htaccess or something?)

Also, will I run into any problems with "this page contains both secure and unsecure items" type errors if secure pages look for pictures on other parts of the site?

tekad's picture
Offline
Joined: 10/21/2008
Juice: 160
Re: SSL set up for ubercart

Yes, you can use .htaccess to ensure that any store.com visits to your site are redirected to www.store.com (If this is not handled by the SSL module already anyway.)

The only way that your images or other content will cause the "This page contains" error would be if you actually hand coded the full http:// URLs into your HTML somewhere. Drupal/Ubercart created links both use relative paths, like src="/files/images/pic.jpg"