ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to secure pages via SSL??

September 05, 2012 7:26pm

Subscribe [1]
  • #1 / Sep 05, 2012 7:26pm

    Steve Fairhurst

    168 posts

    Hi guys,

    How do I go about securing particular pages with SSL?

    I have the certificate installed on the server, I’m running the latest EE version along with MSM. It is not the main app install I need to secure but a satellite site. I’ve tried Force SSL but this causes too many errors, Chris has offered a work around but it involves pointing the CP and theme URL’s of the main install to https. Which is not good as there is no SSL on that domain and there is a third non secure domain on the install.

    Could really do with some help on this one.

    Cheers
    Steve

  • #2 / Sep 06, 2012 7:47am

    Steve Fairhurst

    168 posts

    I’ve just tried the HTTS Support extension too but still no joy, however this did secure the Admin CP.

    Also read the Go Feisty blog about securing EE but I’m getting no joy with this either, are all my woes simply down to MSM??

  • #3 / Sep 06, 2012 11:37am

    Steve Fairhurst

    168 posts

    Update…

    I have managed to get certain areas of the site under SSL by following this, but again I have hit a snag the little padlock does not display. This is caused by non-secure items on the page.

    I have been through the code and made all the paths relative but its still seeing all images as non-secure items as well as the CSS files.
    Been using this handy little service.

    Any pointers on this would be great I need the site secure tonight.

    Steve

  • #4 / Sep 06, 2012 3:12pm

    Steve Fairhurst

    168 posts

    I have made sure the vhost_ssl.conf is configured for both domains.

    Just cannot get the correct areas secure, please help.

  • #5 / Sep 07, 2012 1:29pm

    Dan Decker

    7338 posts

    Hi Steve,

    I’m going to do waht I can to help. I have some suggestions, but SSL is not something we can directly support.

    Use .htaccess to force SSL if you want it on both the front end and Control Panel.

    If you need just the Control Panel, you can have .htaccess force SSL on admin.php and set:

    index.php and admin.php site 2
    $system_path = '../system';
    /*---------------------------*/
    $assign_to_config['site_name']  = 'msm_test';
    $assign_to_config['cp_url'] = 'https://msm.dev/admin.php';
    $assign_to_config['site_url'] = 'http://msm.dev';
    
    --- admin ---
    $system_path = '../system';
    /*---------------------------*/
    $assign_to_config['site_name']  = 'msm_test';
    $assign_to_config['cp_url'] = 'https://msm.dev/admin.php';

    That should help!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases