Web Hosting Talk







View Full Version : cpanel SSL (2083/2087) not working


motl
05-16-2004, 09:17 PM
I woke up this morning and found that cPanel somehow broke itself.... cpanel and WHM are no longer working with SSL.

cPanel is also not listening on those ports....

motl@internet [~]# netstat -an | grep 208
tcp 0 0 0.0.0.0:2082 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2086 0.0.0.0:* LISTEN


I have tried updating cpanel.... no help there. I can't find anything on the cpanel forums either.

Thanks <3

sprintserve
05-16-2004, 10:49 PM
Did you try restarting Cpanel ?

motl
05-16-2004, 11:21 PM
Originally posted by sprintserve
Did you try restarting Cpanel ?

Yes... many times :P

I think somehow openssl got mucked up.... I had to remove a few older libraries for openssh to install. I tried reinstalling the cpanel openssl rpm.... I guess I could do it from source and see if cPanel likes that.

sprintserve
05-16-2004, 11:25 PM
Does other SSL pages work ?

motl
05-17-2004, 12:21 AM
Originally posted by sprintserve
Does other SSL pages work ?

none of my clients have any SSL pages or certs.... myself included :P

i'll probably try to set up a test site with SSL enabled sometime tonight... that's a good idea

motl
05-17-2004, 01:10 AM
/var/log/messages after i restart cpanel contains:

May 16 23:58:55 startstunnel: /usr/bin/stunnel-4.04local: error while loading shared libraries: libssl.so.2: cannot open shared object file: No such file or directory


it's looking in /usr/lib.... so lets make a symlink there:

root@monkey [/usr/lib]# ls -al libssl*
-rw-r--r-- 1 root root 258504 May 16 23:52 libssl.a
lrwxr-xr-x 1 root root 26 May 7 03:08 libssl.so -> ../../lib/libssl.so.0.9.7a*
-r-xr-xr-x 1 root root 215617 Mar 21 01:23 libssl.so.0.9.7*
lrwxr-xr-x 1 root root 9 May 17 00:05 libssl.so.2 -> libssl.so*


restart, now it's complaining about libcrypto.so.2 so let's create anoter symlink and restart cpanel.

May 17 00:07:58 monkey stunnel[7592]: stunnel 4.04 on i686-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.7a Feb 19 2003
May 17 00:07:58 monkey stunnel[7592]: FD_SETSIZE=1024, file ulimit=4096 -> 500 clients allowed
May 17 00:07:58 monkey cpanel: startstunnel startup succeeded


viola!

:D

....and now it works