hosts_daemon/ssl.txt
Mateusz Gruszczyński fa73c9ea6d first commit
2025-03-06 15:07:51 +01:00

6 lines
265 B
Plaintext

sudo mkdir -p /opt/hosts_daemon/ssl
sudo openssl req -x509 -nodes -days 3650-newkey rsa:2048 \
-keyout /opt/hosts_daemon/ssl/hosts_daemon.key \
-out /opt/hosts_daemon/ssl/hosts_daemon.crt \
-subj "/C=PL/ST=WLKP/L=POZ/O=linuxiarz.pl/OU=hostsDaemon/CN=0.0.0.0"