We are building a customer community and I'm having trouble with the home page. Currently I'm using a VisualForce page with an iframe to display a welcome page that our marketing team built in HubSpot. It displays in Chrome and IE but throws warnings that it's not secure. Is there a way to display that page in the customer community without the warnings?

Or, when a customer logs into the community, could they be redirected to the HubSpot page and then links from that page take them back into the customer community?

Or is there a better/easier way? If possible I'd like to avoid recreating the whole page over again...

  • 1
    Is your HubSpot page using http or https? What is the exact error you are getting? Is it "This page contains both secure and insecure items"?
    – BarCotter
    Oct 15, 2014 at 16:14
  • HubSpot page uses http. Yes, the error in IE is that at first it's only displaying secure items but you can click for all. In Chrome, I clicked the shield at the right of the URL bar and it then displayed all data but left a red line through the https part of the URL.
    – Mark
    Oct 15, 2014 at 16:29

1 Answer 1


Your VisualForce page is using https:// (SSL) and it is trying to use a non-SSL http://address in the iFrame then you will get an error complaining that "This page contains both secure and nonsecure items".

It is possible to turn off that error via the browser but it would mean all users having to change their browser settings. The correct solution is to implement SSL on the server that hosts the HubSpot page so that your iFrame changes from:

<iframe src="http://www.blah.com">


<iframe src="https://www.blah.com">
  • Forgive my lack of knowledge. I really appreciate your help! Is it difficult to implement SSL on the site? Can it be done for just one page or would it have to be done for all?
    – Mark
    Oct 15, 2014 at 16:44
  • It would depend on the server that its running on. It could already be setup, try changing http to https in your iframe to see if it is. Here are the details for setting it up on Tomcat for an example of what is involved.
    – BarCotter
    Oct 15, 2014 at 17:42
  • 1
    Apparently HubSpot does not support SSL over HTTPS. Thank you helping to eliminate that option. Any other ideas?
    – Mark
    Oct 15, 2014 at 18:13
  • I don't have any other ideas I'm afraid.
    – BarCotter
    Oct 16, 2014 at 8:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .