From Fedora Project Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 405: | Line 405: | ||
# cd /tmp | # cd /tmp | ||
# openssl req -x509 -days 36500 -newkey rsa:2048 -keyout KEY -keyform PEM -nodes -out CERT -outform PEM -subj /CN=localhost | # openssl req -x509 -days 36500 -newkey rsa:2048 -keyout KEY -keyform PEM -nodes -out CERT -outform PEM -subj /CN=localhost | ||
# cat CERT | # cat KEY CERT >/etc/cockpit/ws-certs.d/~self-signed.cert | ||
# rm CERT | # rm KEY CERT | ||
# systemctl restart cockpit | # systemctl restart cockpit | ||
</pre> | </pre> |