403 Forbidden when using SSL in magento admin

Discussion in 'Installation/Configuration' started by experience, Nov 6, 2013.

  1. experience

    experience New Member

    When i enable SSL for my magento admin and goto the login page no CSS or layout files are loaded

    Normal
    [​IMG]

    SSL Enabled
    [​IMG]


    When i try to login i receive a 403 forbidden error and cant access the login page again. I notice that SSL URL changes to a non secure URL which is why i presume i receive the 403

    If i manually add https to the non secure URL the layout is broken and non of the links work

    [​IMG]

    However the front side of the website has no issue over SSL

    In my error.log

    grep client1 /etc/group
    grep web1 /etc/passwd
    ls -la /var/www/clients/client1/web1

    O/S Ubuntu 12.04

    I chowned the SSL ownership from root root to web1 client 1 which hasnt done anything

    No other logs show what could be causing this

    Could it be a redirect issue when trying to login on a SSL address which is being redirected to a non secure URL and if so any idea where to look for this?
     
    Last edited: Nov 6, 2013
  2. experience

    experience New Member

    Overlooked the obvious

    There are 2 secure URL entries in the core_config_data magento database

    The 2nd one was pointing to the non secure address - changed it to https and i now have a secure admin
     

Share This Page