Error 107 SSL Connection With Perl Segmentation Faults...

It just started today, we didn’t do anything to the server, I went to check on everything and wham, ssl error. I did change the config and now forcing non-ssl connections and was able to confirm that openSSL is still working, SSLeay (perl) is still working…

“perl[6678]: segfault at 00000000000003b0 rip 000000370b8a2cf0 rsp 00007fff56edc428 error 4”

So, that error is given, and if you try the non-ssl http://:10000 you get redirected… Webmin is set to force SSL and SSL is enabled. When this started and we say the segfault under dmesg, we replaced the ram, CPU, and even disabled the pagefile. This error is most definately coming from either perl or webmin.

Webmin Ver (latest as of 7/20/2012
Perl pkg: perl-5.8.8-38.el5.x86_64

Howdy,

Hmm, that’s an unusual error… are you seeing any errors in /var/webmin/miniserv.error?

-Eric

Hi Eric,

Here is what we have after restart:

Webmin Errorlog:
[21/Jul/2012:09:09:30 -0400] miniserv.pl started
[21/Jul/2012:09:09:30 -0400] Using MD5 module Digest::MD5
[21/Jul/2012:09:09:30 -0400] PAM authentication enabled
[21/Jul/2012:09:09:32 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:32 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:32 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:33 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:33 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:33 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:33 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:33 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:33 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:34 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:34 -0400] [71.77.xxx.xxx] Bad Request
[21/Jul/2012:09:09:34 -0400] [71.77.xxx.xxx] Bad Request

After forcing SSL mode:

Use of uninitialized value in string eq at ./webmin-lib.pl line 1712. restarting miniserv [21/Jul/2012:09:38:43 -0400] Restarting Pre-loaded virtual-server/virtual-server-lib-funcs.pl in virtual_server Pre-loaded virtual-server/feature-unix.pl in virtual_server Pre-loaded virtual-server/feature-dir.pl in virtual_server Pre-loaded virtual-server/feature-dns.pl in virtual_server Pre-loaded virtual-server/feature-mail.pl in virtual_server Pre-loaded virtual-server/feature-web.pl in virtual_server Pre-loaded virtual-server/feature-webalizer.pl in virtual_server Pre-loaded virtual-server/feature-ssl.pl in virtual_server Pre-loaded virtual-server/feature-logrotate.pl in virtual_server Pre-loaded virtual-server/feature-mysql.pl in virtual_server Pre-loaded virtual-server/feature-postgres.pl in virtual_server Pre-loaded virtual-server/feature-ftp.pl in virtual_server Pre-loaded virtual-server/feature-spam.pl in virtual_server Pre-loaded virtual-server/feature-virus.pl in virtual_server Pre-loaded virtual-server/feature-webmin.pl in virtual_server Pre-loaded virtual-server/feature-virt.pl in virtual_server Pre-loaded virtual-server/feature-virt6.pl in virtual_server Pre-loaded WebminCore [21/Jul/2012:09:38:45 -0400] miniserv.pl started [21/Jul/2012:09:38:45 -0400] Using MD5 module Digest::MD5 [21/Jul/2012:09:38:45 -0400] PAM authentication enabled Failed to initialize SSL connection Failed to initialize SSL connection

I just noticed this error when in SSL Configuration of webmin over non-ssl:

Use of uninitialized value in string eq at ./webmin-lib.pl line 1712.

Issue resolved on source-forge issue # 3546735. Webmin doesn’t seem to be compatible with intermediary certificates.