From: Adam Kennedy <akennedy@ni...> - 2004-10-25 20:08:45
Is there a way to have the SSL key for webmin generate from a script on the
command line? Somewhere I have two machines with conflicting SSL keys (Ghosted
the servers). I'd rather not have to login to webmin on all the boxes and
regenerate the SSL key.
Northern Indiana ESC
Adam Kennedy - akennedy@...
Linux Specialist / Network Administrator
Phone: (574) 254-0111 x113
Toll Free: 800-326-5642
Fax: (574) 254-0148
On Tue, 2004-10-26 at 06:08, Adam Kennedy wrote:
> Is there a way to have the SSL key for webmin generate from a script on the
> command line? Somewhere I have two machines with conflicting SSL keys (Ghosted
> the servers). I'd rather not have to login to webmin on all the boxes and
> regenerate the SSL key.
The command that Webmin uses in it's setup.sh script to generate an
initial key is something like :
openssl req -newkey rsa:512 -x509 -nodes -out cert.pem -keyout key.pem
-days 1825 <keydetails
cat key.pem cert.pem >/etc/webmin/miniserv.pem
/etc/webmin/stop ; /etc/webmin/start
The keydetails file needs to contain 7 lines, specifically the country
name, state name, city name, organization name, department, webserver
name and email address. In the simplest case, it can just contain :
Webmin Webserver on $yourhostname
There is a third party module listed on the webmin site to manage an
NTPd server. Unfortunately the website isn't reachable. By any chance
does anyone have this module they could send to me?