Help - Search - Members - Calendar
Full Version: HOW-TO: Webmin+SSL for RAQ4
The Planet Forums > System Administration > HOWTOs
OwNeR
Hi RS Users

here is a How To for users who want to install
Webmin with using SSL on Cobalt servers. The
problem is mainly that you need to add a perl
module ( Net::SSLeay ) which need some files
which are not installed by default on new RaQ4i.

I am not sure whether it works on other cobalt
servers like raq3 - i installed it on RaQ4i and its
working fine for me ...

Check the openssl version and make sure that
your version not older is as this here ..

[root]# openssl
OpenSSL> version
OpenSSL 0.9.6b [engine] 9 Jul 2001
OpenSSL> quit
[root lib]#

OK sufficiently talked lets go ...

Get the needed files:

Download Webmin from http://www.webmin.com
and Install it ( for questions how to install webmin
read the details on webmin.com its very simple ).

After the webmin installation is done - login on your
cobalt server with ssh/telnet as root and get



missing_files.zip - I linked it to this Posting -
just a NOTE about that file ... There are 2 tar files
in it - i zip it because there is only the way to Attach
1 file here on a posting. Why this files? The Answer
is simple - for the installation are this files needed.
Without them the installation will fail . If you dont
want to use my files - then you need to compile
and install openssl and headers self to take the
missing files out your self. Its your choice to use my
files or compile and install openssl on a other box
and use that files then - you decide icon_smile.gif


missing_libs.tar.gz: untar it to /usr/lib/

openssl_headers.tar.gz: must be put in /usr/include/openssl
cd /usr/include/
mkdir openssl
chmod 755 openssl
cd /usr/include/openssl <-- untar openssl_headers.tar.gz in this folder

If wemin is installed and you have put the files to the right place
then do as root install Net::SSLeay with the following command

ANSWER ALL QUESTIONS WITH >> NO << CPAN WILL INSTALL
AND CONFIGURE IT CORRECT SELF !!!

perl -MCPAN -e "install Net::SSLeay"

If all is done right you should see this ...

Writing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/.packlist
Appending installation info to /usr/lib/perl5/5.00503/i386-linux/perllocal.pod
/usr/bin/make install -- OK

Now you can enable ssl in your wemin configuration ...

Make sure that you install this here with your own risk - it works
fine for me but i cant warranty that all will work fine in the future!

Last NOTE: If you need Installation help i can do it for a
small donation icon_wink.gif Make sure you dont give out
Shell/Admin Access to unknown persons! Live long and prosper icon_biggrin.gif
raqtweak.com
Good post.

However, the attachment thing freaks me out.

1) I have never done it this way
2) I did it with one OFFICIAL released Net:SSLeay
3) Those files come from an unverified source. I'd rather have a file from a trusted source, such as the real CPAN site....

Just my $0.02

But thanks for the HOW TO.
OwNeR
Net:SSLeay isnt in my zip file - users do still download
it from cpan - so its the OFFICIAL one ...

If you make your work really good u know that on
cobalt servers have not stored any src - so i just included
the "missing" files from openssl welche are needed to
compile it successfully. The file wasnt incloded cause it
was to big (file size) but no problem if somene need it
he can download it HERE
raqtweak.com
What I am trying to say is, your zip file might contain ANYTHING. We use only CPAN verified modules, not some third party ZIP files...
Get my point? For all we know (not saying that is so, but it IS possible) it might be a trojan or rootkit you have on there!!!

Furthermore, I have NEVER EVER seen anyone install it like this... That is why I had doubts... Since all this stuff is not required... The Net::SSLeay installation from CPAN and webmin RPM should be enough! Don't tell me that aint so cause damn have I installed that on so many RAQs like that...

See, why do I get so "freaky" about this? I just got done doing ANOTHER hacked server... This happens SO often that it makes me want to cry... Most of the time due to rootkits...
OwNeR
Hello again to all RS-Users,

First of all i wrote a couple times that in my
howto NOBODY use an changed Net::SSLeay "version"
from me. perl -MCPAN -e "install Net::SSLeay use an
official version downloaded from cpan.

In my tar ball are just the missing files from
openssl which are needed for compile. Of cause
everyone can compile openssl self and transfer
their own files then to the RaQ Box (and dont use
my files).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.