/    Sign up×
Community /Pin to ProfileBookmark

When a 128 bit SSL secured page is called within Iframe, I get an error.

Hi all,

My website is working with an Iframe in its middle and every link which is being clicked on the page is refreshing the content within that Iframe. I like this feature because instead that the whole page loads itself, just the information in the middle changes. This works great for every link around my Iframe.

So but I have experienced a problem after giving the decision to integrate a digital certificate to my website and let some of my transaction pages within that Iframe to work with 128 bit SSL.

After obtaining my digital certificate from Verisign, I have installed it and let my [B]address.asp[/B] and [B]card.asp[/B] pages to work with SSL by changing its file security settings (require 128 bit encryption).
While testing the site, after my shopping cart I have clicked the address information link which brings me to the secured page [B](address.asp)[/B] I get the error:


————————————————–

The page must be viewed over a secure channel

Please try the following:

Try again by typing https:// at the beginning of the address you are attempting to reach.

HTTP 403.4 – Forbidden: SSL required

Internet Information Services
—————————————————

So, how to overcome this issue? I used Iframes since I do not want all the content of my main page to load from the beginning every time a link is clicked on the page. On the other hand, I have to make sure that my pages protected with ssl can also bee seen within that Iframe.

Any advise about this?

Regards.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@ShampieMar 03.2008 — I don't think this is an Javascript error or problem.

Anyways, perhaps you are not allow to have two secured login by same user over SSL?

You might wanna try to use AJAX and display it within a <div> rather than a iframe.

Happy hunting!
Copy linkTweet thisAlerts:
@foreigner737authorMar 03.2008 — I have solved the problem by changing the links (hrefs) as

https://localhost/address.asp and

https://localhost/card.asp. in the html links on other pages.

so noe the code within my transaction javascript looks like this:

document.order.action="[B]https:[/B]//localhost/card.asp";

document.order.submit();

[B]instead [/B]

document.order.action="card.asp";

document.order.submit();

Ans it works

Then after loading the page again I receive the following message:

"Information you exchange with this site cannot be viewed or changed by others. Hovewer, there is a problem with the sites security certificate.

1) The security certificate was issued by a company you have not choosen to thrust.

and two other reasons.

do you want to proceed?

After clicking on yes, the pages do begin to load with ssl.

But after loading the last page (the credit card paege) and finishing the transaction, none of the links around my Iframe do function and it gives

the error message:

Permission denied.

Note: all of the .asp pages are within the same web directory. Including the ones which are ssl protected. So none of the links with ssl are linked outside the domain.

So is there a workaround to overcome this issue?

Anoter thng: I do not get the yellow lock icon under the explorer status bar. Any ideas?

Thanks to all responding with advises.
×

Success!

Help @foreigner737 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...