Welcome Guest. Sign in or Signup

7 Answers

SSL

Asked by: Mike Cherichetti 554 views User Questions

We need the AdvertPRO server to answer requests on both ports 80 and 443. What do I change to support this?

7 Answers



  1. on Sep 27, 2005

    First, make sure you have at least version 1.0 build #8947 as older versions do not support HTTPS/SSL.

    If you’re running Tomcat behind Apache with mod_jk or mod_jk2, you only need to configure Apache for HTTPS/SSL:

    http://httpd.apache.org/docs/2.0/ssl/

    Running Tomcat standalone with HTTPS/SSL is also possible:

    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html

    Note that I’ve assumed you are using Apache 2.0 or Apache Tomcat 5.0, so you may need to consult older versions of the docs if you’re running older versions of either of those.

    Also, no configuration changes need to be made to AdvertPRO. It will automatically detect whether HTTPS is enabled. Well, it will so long as you are using port 443 or 8443 for HTTPS. In other words, do not use any odd port numbers because they will not work.

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



  2. on Sep 27, 2005

    Mike,

    Is there a way that when you add a media (banner), that advertpro could have two Image URL fields, one normal, and the other a HTTPS field?

    It would be great if Advertpro would detect if the request was a HTTPS request, and deliver the second URL as opposed to the normal HTTP unsecure image file.

    We have a SSL certificate on the advertpro server, as well as the image server — but since advertpro only has one url field, it grabs that; and then the user gets the browser warning “This page contains both secure and nonsecure items.”, “Do you want to display the nonsecure items?”

    Thanks,
    Jared

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



  3. on Sep 28, 2005

    AdvertPRO will change the URL to https:// when serving the ad if it is invoked over HTTPS. It will only do that for files that it’s serving though. So, you’ll have to upload the files through AdvertPRO for that to work.

    Also, make sure that you check the “Secure” option when you generate code with the code wizard for placement into HTTPS/SSL pages.

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



  4. on Sep 28, 2005

    Mike, would it be possible to add a known SSL server list, so that when HTTPS: requests come to AdvertPRO it would change the HTTP to HTTPS when it sees a server that is on the list? We’ve got enough traffic that it made sense to move the ad images to a seperate server.

    Thanks,
    Jared

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



  5. on Sep 28, 2005

    We could add a known SSL server list. I guess that could potentially allow re-writing of third party ad codes too if they support HTTPS. It would take some time for us to get this implemented though. Our focus right now is 100% locked into finishing up version 2.0 with full support for clustering.

    Speaking of clustering, we’ve actually supported running just the file server in AdvertPRO on a different machine or multiple machines behind a load balancer for a while. It’s not been publicized very well though because we never took the cluster module out of beta since it is only partially complete (no ad server clustering yet). Do you think it’s an option to run the AdvertPRO file server on your image server and move the files back into AdvertPRO? I’ll have to dig up the instructions to set it up, but it’s pretty easy to do. Uploading all of your files into AdvertPRO and changing your media to use them will probably be a decent bit of work though.

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



  6. on Sep 28, 2005

    Mike,

    We actually had a consultant that had the Classic version of AdvertPRO running on multiple machines; the one machine acted as the db host and answered requests, and then the two other machines just used an NFS to run off of and answer requests.. we used a cisco local director to send them traffic. It worked okay; but not nearly as good as the current single machine with the new AdvertPRO does that we use today.

    Anyways… our ad image machine is running Windows 2003 server; so I’m guessing clustering it wouldn’t be an option since it’s not running debian.

    Thanks,
    Jared

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



  7. on Sep 28, 2005

    Yeah, AdvertPRO Classic was able to be load balanced using MySQL as a synchronization point. AdvertPRO Advanced has a high speed in-memory database embedded into it that contains heavily accessed data from MySQL. This makes it impossible to use the MySQL for reliable synchronization because changes to the in-memory database are often not written to MySQL in real-time.

    Anyway, it’s not a problem that your image machine is running Windows 2003. That’s one of our supported platforms. AdvertPRO Advanced is supported on Linux, Mac OS X, Solaris, Windows 2000/2003, and Unix.

    0 Votes Thumb up 0 Votes Thumb down 0 Votes