Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

eCommerce Tycoon


You are currently viewing our eCommerce Tycoon as a guest. Please register to participate.
Login



Reply
Will this SSL trick work?
Old 01-04-2009, 02:38 AM Will this SSL trick work?
Novice Talker

Posts: 9
Name: Andew Sellers
Trades: 0
I have some order forms and an affiliate program on my site which need to be on secured pages (Secured Socket Layer). We have a godaddy account and have a secured certificate.

The SSL works great except when there is a link on one of the secured pages that leads to an unsecured page (i.e. on a secured orderform page, a link leading back to our unsecured site homepage). Of course, I'm trying to set it up this way because I want our orderform pages to be secured, but I don't want the rest of our site to be secured.

When there is a secured page, and there is link on this page leading to an unsecured page, when a visitor first arrives on the secured page, the browser gives a nasty message saying the page is only partially encrypted. Of course, this is not good.

So I set out to find a way to link from my orderform back to unsecured pages on my site without getting this nasty error.

By accident, I discovered a weird technique. If the link coming from the orderform goes to a secured page, but this secured page simply has a redirect in it leading to a unsecured page, this seems to prevent the nasty message and allows linking from secured to unsecured pages.

So a visitor arrives at the orderpage, wants to return to homepage, clicks link, is taken to secured page that has simple redirect to the unsecured homepage, and then user arrives on homepage (which is not secure).

Is this technique OK? Will it work on all the browsers? Can it create any problems? Is there another, more correct way I should be doing this? Thanks for any suggestions -

Last edited by dsellers; 01-04-2009 at 03:05 AM..
dsellers is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-04-2009, 03:49 AM Re: Will this SSL trick work?
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
You should post the URL. Usually when you get a message that a page contains unsecured items it's because your image URLs on that page are not secured, so changing those will resolve the issue. I'm not aware of any instance where an outbound link from a secured page to a non-secured page has caused that error message.

Now, if you have a form on a secured page, but it submits to a non-secured page, that will rightfully trigger a message as well, but it's a different message than the one you cited.

Hope that helps.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 01-04-2009, 04:14 AM Re: Will this SSL trick work?
Novice Talker

Posts: 9
Name: Andew Sellers
Trades: 0
Thanks for the reply. All the the images are set up with paths (no urls).

For example: <img src="/images/picture1.gif" width="125" height="34"/>

That's wild what you are saying. I've tested it over and over (with certificates from different hosting companies) and it always seems as if there is any link that is http instead of https, it triggers that nasty encrypt message. I'll keep playing around with it but let me know if you have any other suggestions. Thanks for the help.

Andrew
dsellers is offline
Reply With Quote
View Public Profile
 
Old 01-04-2009, 04:16 AM Re: Will this SSL trick work?
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Then we're back to my first thing: Post the URL. Then we can see for ourselves and that helps a ton in resolving the problem.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 01-04-2009, 07:00 AM Re: Will this SSL trick work?
Novice Talker

Posts: 9
Name: Andew Sellers
Trades: 0
I've actually been getting mixed results with this. I have the link going to non-secure pages using the redirects as I mentioned, but even with this now, I'm still getting the unencrypted error.

Last edited by dsellers; 01-04-2009 at 04:41 PM..
dsellers is offline
Reply With Quote
View Public Profile
 
Old 01-04-2009, 08:59 AM Re: Will this SSL trick work?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
HTML Code:
<tr>
<td width="25%" bgcolor="#E6EDFD">&nbsp;Website Address</td>
<td width="25%" bgcolor="#E6EDFD">&nbsp;<input type="text" name="url" size="30" value="http://" style="width:150px;" tabindex="7"></td>
<td width="50%" bgcolor="#E6EDFD" colspan="2"></td>
</tr>
input value for the "Website Address" gets my vote.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-04-2009, 04:39 PM Re: Will this SSL trick work?
Novice Talker

Posts: 9
Name: Andew Sellers
Trades: 0
chrishirst - yea, in this affiliate program there are unsecured urls all the way through it. I think I will just take the SSL off and keep it unsecured. Otherwise, users will keep getting the unencrypted message. We'll just take the request for a social security number out so it won't be such a big deal to sign up.

So, it does seem as if any unsecured urls on a secured page will trigger the nasty unencrypted message? Do you suggest the workaround with the redirects (which I mentioned before) as a solution to this?
dsellers is offline
Reply With Quote
View Public Profile
 
Old 01-04-2009, 04:48 PM Re: Will this SSL trick work?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It's not an unsecured URI though, just the protocol as the default value.
Why not just leave off the "http://" default value and let the server add it on submission? Or insert the value with javascript once the the page has loaded?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Will this SSL trick work?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26948 seconds with 12 queries