For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
# Ask for the user password | |
# Script only works if sudo caches the password for a few minutes | |
sudo true | |
## | |
## https://docs.docker.com/install/linux/docker-ce/ubuntu | |
## | |
# Install packages to allow apt to use a repository over HTTPS: | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common |
#!/bin/sh | |
service rsyslog stop | |
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf | |
service rsyslog start |