Enable HTTPS on Jenkins

Jenkins uses HTTP by default. You can enable HTTPS by performing a couple of steps. You need to acquire an SSL certificate and corresponding key for a domain that is under your control, and tell Jenkins that it needs to use these resources. Jenkins needs a password store to be able to use your SSL […]

Enable HTTPS on Gitlab

The Gitlab self-hosted application uses HTTP by default. You can enable HTTPS by performing a couple of steps. You need to acquire an SSL certificate and corresponding key for a domain that is under your control, and tell Gitlab that it needs to use these resources. Create a directory which will hold the certificate and […]

Disabling default security on CentOS

Everybody wants their stuff to be secure, until they actually try to use it. That’s the reason for this tidbit about disabling the default security on CentOS. SELinux is enabled by default on CentOS. To disable it, we need to edit /etc/selinux/config: SELINUX=disabled We need to reboot the machine for this to take effect. The […]

Packet Filter (PF)

Packet Filter (PF) is OpenBSD’s system for filtering TCP/IP traffic and doing Network Address Translation. PF is also capable of normalizing and conditioning TCP/IP traffic and providing bandwidth control and packet prioritization. To enable PF, we have to edit /etc/rc.conf. pf=YES To be able to do NAT, we have to edit /etc/sysctl.conf as well. net.inet.ip.forwarding=1 […]