server:
turris-cagen new_ca password_agent gen_ca gen_server shulyaka.org.ru
turris-cagen switch password_agent gen_client denis
turris-cagen-status password_agent
copy /etc/lighttpd/conf.d/password_agent.conf copy /www/cgi-bin/password_agent.sh copy /etc/config/password_agent copy /etc/init.d/password_agent fix /etc/ssl/ca/password_agent/01.pem
chmod +x /www/cgi-bin/password_agent.sh
chmod +x /etc/init.d/password_agent
/etc/init.d/password_agent enable
/etc/init.d/lighttpd restart
client: copy /etc/systemd/system/[email protected] copy /usr/lib/dracut/modules.d/60network_password_agent/module-setup.sh
sudo scp shulyaka.org.ru:/etc/ssl/ca/password_agent/02.crt /etc/pki/tls/certs/network_password_agent.crt
sudo scp shulyaka.org.ru:/etc/ssl/ca/password_agent/02.key /etc/pki/tls/private/network_password_agent.key
sudo scp shulyaka.org.ru:/etc/ssl/ca/password_agent/ca.crt /etc/pki/ca-trust/source/anchors/ca.crt
sudo update-ca-trust
sudo systemctl enable [email protected]:1443.service
sudo dracut -v -f