I'm running Mezzanine and Cartridge under SSL over at jnkbows.com.

Make sure you've correctly generated the certificate and key through your 
SSL provider.

In your settings.py, make sure you enable SSL Redirect Middleware:

mezzanine.core.middleware.SSLRedirectMiddleware

Also, check your ssl prefixes in settings as well:
SSL_FORCE_URL_PREFIXES


Are you using nginx?  You'll need to point to your certificate and key. 
 Check your settings in deploy/nginx.conf.

server {
    listen 80;
    listen 443 default ssl;
    server_name %(live_host)s;
    client_max_body_size 10M;
    keepalive_timeout    15;

    ssl on;
    ssl_certificate /path/to/cert.crt;
    ssl_certificate_key /path/to/key/ssl.key;



Once you get to that point, login to your admin panel and go to settings. 
 Under SSL, turn on Enabled SSL.

That should get you started.  If you're only setting SSL in Mezzanine's 
admin, that will not work by itself, you'll need to do the ground work 
mentioned above as well.

On Thursday, July 31, 2014 9:00:06 PM UTC-4, Duc Dang wrote:
>
> Hi everyone,
>
> I enable SSL support in Mezzanine in Admin page using SSL_ENABLED=True, 
> but all the access to my page are still not redirected to https://. I 
> expect that /admin pages will be via https:// but looks like it is not.
>
> Is there any other configuration that I missed?
>
> Regards,
> Duc Dang.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to