HTTPS pages with map instances

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
9/6/2011 7:29:33 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

HTTPS pages with map instances

We're working on an employee intranet site. It will be available over the Internet, so we're forcing https for all pages of the site.

We're now seeing that in IE9, on pages that have a Bing or Google maps instance, we get the prompted warning "Only secure content is displayed." The universal recommended solution I found for this is to set "Display mixed content" to Enabled in the security tab of Internet Options. This solution would be acceptable for our implementation, since our internal sites are in the trusted zone, and we could push out the custom security setting to all of our workstations. However, even after making this change the browser still prompts. I also tried closing and reopening the browser, clearing cache, and I verified that our site is in the Trusted Sites (where I changed the security level), and that Protected Mode is off for this zone.

Anybody have any other ideas that might work? Is this somehow caused by the way the instances are accessing the map data?

Thanks,
Jamie

9/7/2011 7:26:05 AM
Gravatar
Total Posts 18439

Re: HTTPS pages with map instances

Hi Jamie,

The google map problem was reported recently and is fixed in the repository.

It seems the Bing Map we already use https for the script on secure pages but it still uses http for the css added apparently by the script. I'll have to investigate to see if we can control that somehow. From some quick research it looks like the missing piece is that we also need to add an extra query string param to the script when using ssl. I'll give that a try and see if it solves it.

Best,

Joe

9/7/2011 9:16:43 AM
Gravatar
Total Posts 18439

Re: HTTPS pages with map instances

Hi Jamie,

I think I've solved the problem with Bing.

For google maps I implemented it to use ssl on secure pages but when i make it a secure page it then says my api key is not valid. The current google maps feature is using their older v2 api, it would take a good deal of work to re-implement it using their newer v3 api but I will do that at some point.

Their FAQ says the v3 api works with ssl either with a free account or a premium account, but it says for v2 ssl only works with a premium account key. So to use the current google map feature with ssl would require a premium account, not sure what the pricing is on that.

I'll add an item in the project tracker to implement a new google map control using the v3 api. I'm not sure when I will get to it though, so if you'd like to take a stab at it please do.

Best,

Joe

 

9/7/2011 9:47:39 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: HTTPS pages with map instances

Thanks Joe! I'll let you know if I can find some time to work on changing Google map to the new API.

Jamie

You must sign in to post in the forums. This thread is closed to new posts.