Jump to content

Issues after switching to https


renta

Recommended Posts

Hello.

We've got some issue with Revive Adserver after switching to SSL connection. Our Revive is installed on subdomain (https://ox.example.com). It's used on our main site (https://www.example.com).

What have I done.

1) Generated SSL serteficates and make SSL-connection for main site and Revive.
2) Changed all the invocation codes in templates (we use Javascript Tags and Asyncronous JS tags). There, I've changed <noscript>...</noscript> part - changed http to https.
3) Changed all the settings in the config:
requireSSL=1
sslPort=443
ssl=1
Setting deliverySSL and imagesSSL in [webpath] section.
protocol=https
4) Clear the cache in /var/cache/.
5) Restarted nginx and apache.

Now all the banners are showing on the main site (with https), admin interface is also works well.

Issues:

- In the Console folder of the Developer Tools there are such a warning for each banner zone:
"Mixed Content: The page at 'https://www.example.com/' was loaded over HTTPS, but requested an insecure image 'http://ox.example.com/www/delivery/lg.php?bannerid=15&campaignid=1&zoneid=7&loc=https%3A%2F%2Fwww.example.com%2F&cb=g3d4d8ac72'. This content should also be served over HTTPS."


- In the admin interface of banner zones, at the Invocation code tab I also see "http" in the links (Javascript Tag and iFrame Tag).

<iframe id='a1878197' name='a1878197' src='http://ox.example.com/www/delivery/afr.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no' width='1200' height='90'><a href='http://ox.example.com/www/delivery/ck.php?n=a1878197&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ox.example.com/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a1878197' border='0' alt='' /></a></iframe>


How could I fix them? Thanks for your attention.

PS: I read this topic http://forum.revive-adserver.com/topic/322-serving-ads-over-https-fails/, but could not find the answer. Our Revive version - 3.2.2

Link to comment
Share on other sites

  • 7 months later...

You've got "http" in your tags.

If I were you I'd try to replace all the "http://" with "//" so your new tag would look like:

<iframe id='a1878197' name='a1878197' src='//ox.example.com/www/delivery/afr.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no' width='1200' height='90'><a href='//ox.example.com/www/delivery/ck.php?n=a1878197&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='//ox.example.com/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a1878197' border='0' alt='' /></a></iframe>

See if that throws an error in the console.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...