Author Topic: Problem generating SSL cert due to date format issues  (Read 5531 times)

janb

  • Newbie
  • *
  • Posts: 3
    • View Profile
Problem generating SSL cert due to date format issues
« on: June 09, 2016, 12:43:54 PM »
The FreeSentral install script throws this...
Trying to generate SSL certificate
date: ongeldige datum: ‘do jun  9 18:38:11 UTC 2016’
date: ongeldige datum: ‘ma jun  7 15:06:12 UTC 2021’
Problem seems to be the local date format.
Any idea how this can be resolved?
For now I can only access the management console from the local machine.

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: Problem generating SSL cert due to date format issues
« Reply #1 on: June 10, 2016, 02:11:08 AM »
You can fix the install script by updating the command in install.sh

or you can disable the https redirect.
You can comment this part in index.php:
if(!isset($_SERVER["HTTPS"]) || $_SERVER["HTTPS"]!="on") {
    $server = $_SERVER["HTTP_HOST"];
    if($server != "localhost" && $server != "127.0.0.1")
        header ("Location: https://".$server.$_SERVER["PHP_SELF"]);
}

Also, take note that FreeSentral is no longer maintained. For all features to work you have to use it with yate versions between 3.0 and 4.3. The majority of the features still work, but not all.