You are using phpFox version earlier than 4.6.0? Please refer instruction for this article here.
Warning
title
Warning!!
You MUST have a security certificate (SSL) installed on your server before setting this! If you do not have a certificate first, these settings will break your site.
These instructions ARE NOT applicable to those using AWS service. In this case, you can just enable SSL on AWS Load Balance instance and keep SSL/HTTPS-related settings of phpFox disabled.