Install acme.sh for use of Lets Encrypt and ISPConfig DNS API – update certificates

How to install acme.sh for use of Lets Encrypt and ISPConfig (dns) API. Then change certificates for services 1. Install Acme.sh curl https://get.acme.sh | sh 2. Update acme.sh home, certhome and account email acme.sh --upgrade --home /usr/local/acme.sh --certhome /etc/acme.sh --accountemail "email@domain.tld" 3. Create a remote user in ISPConfig 3.1 Login to ISPConfig panel, go to […]

Lees verder

Ubuntu APT-GET Update hash sum mismatch

Ik loop er af en toe tegen aan dat de apt-get update een error geeft: Hash sum mismatch De oplossing die dan vaak werkt is: sudo rm -rf /var/lib/apt/lists/partial sudo apt-get update -o Acquire::CompressionTypes::Order::=gz

Lees verder

Windows 10 bash, no tty present

Fix: echo ‘yourpasswordhere’ | sudo -S dpkg –configure -a For example: echo ‘Maldk2365m1’ | sudo -S dpkg –configure -a

Lees verder

Check /etc/named.conf for recursion restrictions

The top of your named.conf should look something like: include “/etc/namedb/rndc.key”; controls { inet 127.0.0.1 allow { localhost; } keys { “rndc-key”; }; }; acl “trusted” { 127.0.0.1; }; options { pid-file “/var/run/named/named.pid”; directory “/etc/namedb”; dump-file “/var/dump/named_dump.db”; statistics-file “/var/stats/named.stats”; version “BIND”; allow-recursion { trusted; }; allow-notify { trusted; }; allow-transfer { trusted; }; forwarders { […]

Lees verder

Specifieke CSF/LFD Firewall regels

Op deze link heb ik een aantal handige CSF command line opties gevonden. Ook staat er een goeie uitleg over CSF regels voor specifiek verkeer, ipv “quick allow ip”.   Table of Contents CSF Installation csf principle csf command line tips Block an IP from the server Remove an IP from the blocklist Allow an […]

Lees verder