netcup + froxlor


Froxlor

Trigger cronjob

/usr/bin/php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug
# Possible jobs:
# "--backup" for start backup job
# "--letsencrypt"

FTP user

Is created automatically with the Froxlor user (same password).

WordPress update: check for correct ownership of the files copied to the directory. If you used “root”-FTP user to copy the files, you have to change the files/directories owner from root to the user:

chown 10001:10001 * -R
# customer directories
/var/customers/webs

Activate SSL + Let’s Encrypt

Activate mod_ssl for Apache:
a2enmod ssl
service apache2 restart
Create a private key and certificate:
# go to apache2 folder
cd /etc/apache2

# create private key and csr 
openssl req -new -newkey rsa:4096 -nodes -sha256 -out apache2.csr -keyout apache2.key

# create self-signed certificate
openssl x509 -req -days 365 -in apache2.csr -signkey apache2.key -out apache2.pem
Activate SSL and Let’s Encrypt in Froxlor:
  • Froxlor -> System -> Settings ->SSL settings (Activated: yes) -> Settings:
    • Enable SSL usage: yes
    • Enable Let’s Encrypt: yes
  • Froxlor -> System -> Configuration -> <Describution> -> Webserver (HTTP) -> Apache 2.4:
    • Create the acme.conf like described and restart Apache
Create a new IP with SSL port 443:
  • Froxlor -> Resources -> IPs and Ports -> Add IP/Port:
    • Port: 443
    • “Is this an SSL Port?”: yes
Activate SSL for Domain:
  • Go to settings of a Domain you want use SSL
    • “SSL IP address(es)”: activate the IP address with port 443
    • “Use Let’s Encrypt”: yes
    • “ServerAlias value for the domain”: “No alias”

Test SSL
https://www.ssllabs.com/ssltest/analyze.html

Relevant paths in Froxlor

SSL Keys: /etc/ssl/froxlor-custom/
Customer Data and Logs: /var/customers/
Virtual Hosts configurations: /etc/apache2/sites-enabled
Cron jobs: /etc/cron.daily

Leave a comment

Your email address will not be published.