I am running FC12.
In order to activate SSL support, I installed SSLeay perl module. When in Webmin I then click 'yes' in Enable SSL if available? and choose save, I get the following error:
"Failed to save SSL options : The SSL private key file /etc/webmin/miniserv.pem does not exist or does not contain a PEM format key"
The file /etc/webmin/miniserv.pem does exist and looks fine.
The installation is new, and I haven't changed any other SSL options in Webmin.
I'm frustrated, cause I have done this before (on earlier FC dists) and never had problems.
Any help will be greatly appreciated ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-03-11
I take it you installed the perl module post installing webmin. Uninstall webmin and then reinstall.
rpm -e webmin
yum install webmin
after install it should give you the secure address to login
I have the same setup as elzuber, and the same problem. I tried to uninstall and reinstall but I still no luck. I've even tried creating a new .pem file. I'm using Webmin vers 1.51 and I downloaded the SSLeay module from the Webmin site. Any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-03-26
what distrobution of linux are you using? it sounds like you may be using wrong perl module for your distrobution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using Fedora 12 (32 bit). All my rpms were downloaded from the Fedora repos, with the exception of Webmin, which was downloaded from the Webmin website I've using perl version 5.10.0 release 87.fc12, and perl-net-SSLeay version 1.35 release 7.fc12. I tested the system using perl -e 'use Net::SSLeay' and got no output (so I assume that the SSL support for Webmin is properly installed. What next?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-03-26
do a:
rpm -qi webmin
is it the noarch rpm that you installed. i just checked mine and it is a source rpm. i originally created a repo file and used yum to install. repo info:
use editor create file name
put file into the repos folder at /etc/yum.repos.d/
i would still rpm -e per-Net-SSLeay and rpm -e (the version of webmin you installed)
then reinstall perl module via yum install perl-Net-SSLeay
then reinstall webmin via yum install webmin <- will work now that you have repo file
or on webmins website below where you can download rpm click on development versions
then on right click on the 1st option on the right (Latest development version RPM etc…)
the download the webmin-1.1510-2.src.rpm and try it.
the version that is working for me is webmin-1.1510-1.src.rpm via yum using the repo.
it looks like from what you wrote that you downloaded the noarch rpm. i have not tried that one.
i'm on Fedora 12 x86_64 and the src rpm is working fine. Good Luck PS- in haste, no time for grammar.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hansmjovig, thank-you for taking the time to assist me.
Prior to my first post, I had already created the webmin.repo entry to download the rpm (which is, incidentally, a noarch version).
I had also done an rpm -e perl-Net-SSLeay and rpm -e webmin.xx.xx (as you suggested) and then reinstalled both with yum. Still no luck. I did download the source rpm as well, but after I expanded it, I wasn't sure what to do with it (where to put what).
Anyways, the noarch version is supposed to work correctly. It shouldn't be this hard to get the SSL functioning. I'm not really very familiar with Perl and I wouldn't know where to begin troubleshooting through all the layers of code. Is there a test I can run to validate the perl-net-SSLeay module? Maybe Jamie Cameron will take pity on me and offer some sage advice.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-03-28
Just want to let you know I tried the noarch and they both work fine for me on 64 bit version of Fedora 12. The problem may lie elswhere. Have you tried setting up a virtual machine with the same media you setup your machine to see if you have a similar problem? I use Sun's Virtualbox a lot and it's helpful in many situations. I test things before I move to my physical machines or problem solve on the virtual machine, instead of making problems worse on the physical machine. I've seen Jamie Cameron returns e-mails. This forum is really dreadful. Wish webmin had a better forum with stickies, wikis, categorization by distros etc., etc… Good Luck!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't believe it's my openSSL install that is causing the problem … I can connect to the apache server using ssl. And sadly, I cannot run any virtualization platforms because I don't have any machines with hardware VM cpus. You're correct - testing on a vm platform is the way to go. That's my next project. Thanks again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-04-01
Mr. Ed, try this if you're still around.
in etc/webmin/miniserv.conf change thes settings to:
ssl=1
ssl_redirect=1
then restart webmin. give that a try.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there !
Wow hansmjovig ! That was great work. I was exactly going through mister_ed's predicament but the final step you suggested was the master stroke. By manually updating the .conf did it for me. Come to think of it, the trouble was for webmin not being able to update the miniserv.conf file (for some weird reason…). It is sunny outside now :-)
Thank you and Good Luck to you mister_ed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am running FC12.
In order to activate SSL support, I installed SSLeay perl module. When in Webmin I then click 'yes' in Enable SSL if available? and choose save, I get the following error:
"Failed to save SSL options : The SSL private key file /etc/webmin/miniserv.pem does not exist or does not contain a PEM format key"
The file /etc/webmin/miniserv.pem does exist and looks fine.
The installation is new, and I haven't changed any other SSL options in Webmin.
I'm frustrated, cause I have done this before (on earlier FC dists) and never had problems.
Any help will be greatly appreciated ;-)
I take it you installed the perl module post installing webmin. Uninstall webmin and then reinstall.
rpm -e webmin
yum install webmin
after install it should give you the secure address to login
https://localhost.com:10000
localhost.com = your local ip address (e.g. 192.168.1.120)
Thanks hansmjovig,
I had been through that process, but for some reason a new uninstall and fresh install did the trick!? Up and running ;-)
I have the same setup as elzuber, and the same problem. I tried to uninstall and reinstall but I still no luck. I've even tried creating a new .pem file. I'm using Webmin vers 1.51 and I downloaded the SSLeay module from the Webmin site. Any suggestions?
what distrobution of linux are you using? it sounds like you may be using wrong perl module for your distrobution.
I'm using Fedora 12 (32 bit). All my rpms were downloaded from the Fedora repos, with the exception of Webmin, which was downloaded from the Webmin website I've using perl version 5.10.0 release 87.fc12, and perl-net-SSLeay version 1.35 release 7.fc12. I tested the system using perl -e 'use Net::SSLeay' and got no output (so I assume that the SSL support for Webmin is properly installed. What next?
do a:
rpm -qi webmin
is it the noarch rpm that you installed. i just checked mine and it is a source rpm. i originally created a repo file and used yum to install. repo info:
use editor create file name
webmin.repo
then save the following info. in the file
name=Webmin Distribution Neutral
baseurl=http://download.webmin.com/download/yum
enabled=1
put file into the repos folder at /etc/yum.repos.d/
i would still rpm -e per-Net-SSLeay and rpm -e (the version of webmin you installed)
then reinstall perl module via yum install perl-Net-SSLeay
then reinstall webmin via yum install webmin <- will work now that you have repo file
or on webmins website below where you can download rpm click on development versions
then on right click on the 1st option on the right (Latest development version RPM etc…)
the download the webmin-1.1510-2.src.rpm and try it.
the version that is working for me is webmin-1.1510-1.src.rpm via yum using the repo.
it looks like from what you wrote that you downloaded the noarch rpm. i have not tried that one.
i'm on Fedora 12 x86_64 and the src rpm is working fine. Good Luck PS- in haste, no time for grammar.
hansmjovig, thank-you for taking the time to assist me.
Prior to my first post, I had already created the webmin.repo entry to download the rpm (which is, incidentally, a noarch version).
I had also done an rpm -e perl-Net-SSLeay and rpm -e webmin.xx.xx (as you suggested) and then reinstalled both with yum. Still no luck. I did download the source rpm as well, but after I expanded it, I wasn't sure what to do with it (where to put what).
Anyways, the noarch version is supposed to work correctly. It shouldn't be this hard to get the SSL functioning. I'm not really very familiar with Perl and I wouldn't know where to begin troubleshooting through all the layers of code. Is there a test I can run to validate the perl-net-SSLeay module? Maybe Jamie Cameron will take pity on me and offer some sage advice.
Just want to let you know I tried the noarch and they both work fine for me on 64 bit version of Fedora 12. The problem may lie elswhere. Have you tried setting up a virtual machine with the same media you setup your machine to see if you have a similar problem? I use Sun's Virtualbox a lot and it's helpful in many situations. I test things before I move to my physical machines or problem solve on the virtual machine, instead of making problems worse on the physical machine. I've seen Jamie Cameron returns e-mails. This forum is really dreadful. Wish webmin had a better forum with stickies, wikis, categorization by distros etc., etc… Good Luck!
I don't believe it's my openSSL install that is causing the problem … I can connect to the apache server using ssl. And sadly, I cannot run any virtualization platforms because I don't have any machines with hardware VM cpus. You're correct - testing on a vm platform is the way to go. That's my next project. Thanks again.
Mr. Ed, try this if you're still around.
in etc/webmin/miniserv.conf change thes settings to:
ssl=1
ssl_redirect=1
then restart webmin. give that a try.
Hi there !
Wow hansmjovig ! That was great work. I was exactly going through mister_ed's predicament but the final step you suggested was the master stroke. By manually updating the .conf did it for me. Come to think of it, the trouble was for webmin not being able to update the miniserv.conf file (for some weird reason…). It is sunny outside now :-)
Thank you and Good Luck to you mister_ed.