Posts on /usr/home/simon/ https://simoncor.net/post/ Recent content in Posts on /usr/home/simon/ Hugo -- gohugo.io en-us Tue, 20 Oct 2020 00:00:00 +0000 FreeBSD - Jail - Secure Jumphost https://simoncor.net/post/freebsd_jail_jumphost/ Tue, 20 Oct 2020 00:00:00 +0000 https://simoncor.net/post/freebsd_jail_jumphost/ The goal is to create a limited jail using rbash and securing it so it can only accept secure SSH sessions. It should only be used as an SSH jumphost to connect further. It should therefor not be possible to create, use or install other code in this limited environment. All commands are executed as root inside the jail, unless specified otherwise. FreeBSD jail Create a jail and connect to the console. Rundeck 3.3.1 - MySQL connection https://simoncor.net/post/rundeck_331_mysql/ Wed, 12 Aug 2020 00:00:00 +0000 https://simoncor.net/post/rundeck_331_mysql/ Rundeck 3.3.1 updated its ‘mysql-connector-java’ dependancy to version 8.0.21 which renamed the com.mysql.jdbc.Driver classname to com.mysql.cj.jdbc.Driver. Reconfigure Rundeck accordingly: /etc/rundeck/rundeck-config.properties ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&useSSL=false + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam ... - dataSource.driverClassName = com.mysql.jdbc.Driver + dataSource.driverClassName = com.mysql.cj.jdbc.Driver + dataSource.properties.autoReconnect = true + dataSource.properties.useSSL = false ...