hosts_daemon/ssl.txt
2025-03-06 15:31:07 +01:00

6 lines
266 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"