openssl req -x509 -newkey rsa:2048 -keyout /etc/webmin/miniserv.pem -out /etc/webmin/miniserv.pem -days 365 -nodes -subj "/C=GB/ST=England/L=London/O=EU/CN=www.mywebsite.com"
openssl x509 -x509toreq -in /etc/webmin/miniserv.pem -signkey /etc/webmin/miniserv.pem >> /etc/webmin/miniserv.pem
/etc/init.d/webmin restart
No comments:
Post a Comment