Regenerating LetsEncrypt Certs

Easy way to update LetsEncrypt certs

stop letsencrypt


start letsencrypt


quit and verify

echo | openssl s_client -servername HostName -connect HostName:443 2>/dev/null | openssl x509 -noout -dates

Upgrading Centos from 7 to 8 with ZFS

yum install -y epel-release 
yum install -y yum-utils
yum install -y rpmconf
rpmconf -a
package-cleanup --leaves
package-cleanup --orphans
yum install -y dnf
dnf -y remove yum yum-metadata-parser
rm -Rf /etc/yum
dnf upgrade
dnf -y upgrade
dnf -y upgrade
dnf clean all
rpm -e zfs
rpm -e kmod-zfs
rpm -e `rpm -q kernel`
rpm -e --nodeps sysvinit-tools
dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync 
dnf -y install kernel-core
dnf -y groupupdate "Core" "Minimal Install"
cat /etc/redhat-release
yum install
yum -y update
yum -y install zfs
zpool upgrade -v
zpool scrub geekpool 

Your pool name instead of geekpool in the last command

random blocking Java database connections

So I came across a problem with a Java App not being able to open a connection to an Oracle Database.  It wasn’t a problem with Credentials or the SID but a failure to connect.  After a bit of digging I found that there wasn’t enough entropy in the system to get the required amount of bytes from /dev/random – the solution is to edit to use /dev/urandom instead: