Contact Us

U.S: (+1) 888-876-8666

UK: +44 (0) 203-318-5364

Enable HTTPS support for the OnApp UI




  • Avatar
    Charles Demers

    This is invalid in OnApp 3.2.x. SSL is already enabled and everything is in /etc/httpd/conf.d/onapp.ssl, simply replace with your own certificate.

  • Avatar
    Aaron Faby

    The recommendation to force SSL will not work. When someone tries to access the CP server with a non-HTTPS URL, they will get a connection refused error in the browser. A better way to do this is to leave the port 80 virtual host in place and add the following lines in the virtual host block:

    RewriteEngine On

    RewriteCond %{HTTPS} off

    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

    You do not need to add this code to the port 443 virtual host since any request it handles will have SSL on already.

  • Avatar
    Dominik Nowacki

    This is really outdated. It should be noted that this is not for OnApp 3.2+!

Please sign in to leave a comment.