The Random Thoughts of a Geek heading for Banbury
The Random Thoughts of a Geek heading for Banbury

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: `
    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 at as a start point…
  2. Install Lets 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 “/etc/letsencrypt/live/` + 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
    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 comment

Your email address will not be published.