I try configure SSL access to webmin, but Webmin shiw error message
Failed to save SSL options : The SSL private key file /etc/webmin/webmin.pem does not exist or does not contain a PEM format key
I created certificate by webmin tool.
In file system file exist.
/etc/webmin/webmin.pem
-rw-r----- 1 root root 3172 Окт 6 10:38 /etc/webmin/webmin.pem
How I can fix this bug?
Is that file in PEM format? It needs to be formatted like :
-----BEGIN CERTIFICATE-----
certificate stuff here
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
Key stuff here
-----END RSA PRIVATE KEY-----