Setting up Sentora on Bytemark with SSL

sentora logo
  1. Spin up a new server on Bytemark’s BigV
  2. Install Ubuntu 14.04.
  3. I have changed the reverse DNS to
  4. Set up SSH Key login
  5. Visit and follow the instructions:  (this is done from the root user of your VPS in Bash).
    bash <(curl -L -Ss

    (you will need to double check the subdomain, and ipV4 address)

  6. update the DNS for your panel subdomain –
    • Our DNS is hosted with Cloudflare because it makes sense,
    • A record to njoror to the ipV4 and AAAA record for ipV6 this allows direct access to (don’t pass this domain via the CDN cloud), will also want the MX sorted some how.

Let’s Encript

  1. following the instructions on the forums as a start point…
  2. Install Let’s Encrypt:
    apt-get install git
    cd ~
    git clone
    cd letsencrypt
  3. now we have the Let’s Encrypt package installed we set it up on the panel address:
    ./letsencrypt-auto certonly --webroot -w /etc/sentora/panel/ -d
  4. you will be asked for an email address… Make sure that it is one that you will not loose access to!.
  5. The SSL certificates are located in
    • cert.pem
    • chain.pem
    • fullchain.pem
    • privkey.pem
  6. Activate SSL (if not yet active)
    a2enmod ssl
  7. Restart apache
    service apache2 restart
  8. Go to Sentora -> Admin -> Module Admin -> Apache Config
  9. Under Global Sentora Entry:
    Redirect Permanent /
    Listen 443
    <VirtualHost *:443>
        SSLEngine on
        SSLProtocol all -SSLv2 -SSLv3
        SSLCertificateFile /etc/letsencrypt/live/
        SSLCertificateKeyFile /etc/letsencrypt/live/
        SSLCertificateChainFile /etc/letsencrypt/live/
        DocumentRoot "/etc/sentora/panel/"
        ErrorLog "/var/sentora/logs/sentora-error.log"
        CustomLog "/var/sentora/logs/sentora-access.log" combined
        CustomLog "/var/sentora/logs/sentora-bandwidth.log" common
        AddType application/x-httpd-php .php
        <Directory "/etc/sentora/panel/">
            Options +FollowSymLinks -Indexes
            AllowOverride All
            Require all granted
  10. Restart apache:
    sudo service apache2 restart

Leave a Reply

%d bloggers like this: