Trusted Certificate installation Causes Universal http redirect to https??
  • I am using Airtime version 2.5.1 on Ubuntu 12.04 Server.

    After installing Airtime ---- and working as expected
    I COULD access http URLs for Icecast and Monit free of redirect ports 8000 and 2812

    I installed trusted Certificates, copied them to the proper locations /etc/ssl/...


    sudo nano /etc/apache2/sites-available/airtime-vhost.conf

    I removed the 2 snakeoil SSL entries... then added the following lines...

          SSLCertificateFile /etc/ssl/certs/domain_name.crt
          SSLCertificateKeyFile /etc/ssl/private/domain_name.key
          SSLCACertificateFile /etc/ssl/certs/domain_name_root_bundle.crt

    Saved changes and restarted apache and then later the entire server...

    Tested by browsing to the AirTime page which worked just fine.  Now rather than self-signed warning, cert looked good with no flags in Chrome.

    However, now when going to the Monit page and the IceCast server pages, they will pause and then automatically forward to https which was not setup for those apps and then throws an ERR_CONNECTION_CLOSED.

    iptables -L -n
    Shows nothing setup

    As a workaround, I installed the certificate for Monit and then enabled a secure port within IceCast so I can at least access the webpage.

    Please help...
  • 1 Comment sorted by
  • Hey friend... it's a really bad idea to run Airtime and Icecast on the same machine...