Can we use OpenLiteSpeed from github repository with CyberPanel?

Hi everyone, i would like to know if we can use OpenLiteSpeed with CyberPanel compiling the ols from the GitHub repository. I asking this cause i create a local environment to test it.

I would like to know if some of you have done this and if you do can you give us a feedback?.

In my tests the problem that i have face is the ssl connections that shows me this error: SSL_ERROR_NO_CYPHER_OVERLAP.

I can’t work with ssl connections in my local environment so i installed the ols from the source v1.5 RC04 in my production VPS but it shows me the same error, it looks like the ols and ssl connections have not understanding the ciphers.

I don’t know if @usmannasir has make this kind of test. But i wold like his opinion on this and his recommendations and thanks for everything you have done so far with this wonderful tool.

Hello !

Yes you can use compiled OpenLiteSpeed. First backup your old binary.

cp /usr/local/lsws/bin/openlitespeed /usr/local/lsws/bin/openlitespeedback

Then compile OpenLiteSpeed at some secondary location:


yum install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel udns-devel git gcc gcc-c++ make autoconf glibc rcs cmake golang libtool libmaxminddb  -y
https://openlitespeed.org/packages/openlitespeed-1.5.0rc4.tgz
tar xzvf openlitespeed-1.5.0rc4.tgz
cd openlitespeed-*
git clone https://boringssl.googlesource.com/boringssl
cd boringssl
mkdir build
cd build
cmake ..
make
cd ../..
./configure --prefix=/usr/local/lswscompiled
make
make install
cp /usr/local/lswscompiled/bin/openlitespeed /usr/local/lsws/compiled/bin/
systemctl daemon-reload
systemctl restart lsws

This will install OpenLiteSpeed and move new binary to location from where CyberPanel reads. To restore old binary you can do:

cp /usr/local/lsws/bin/openlitespeedback /usr/local/lsws/bin/openlitespeed

This way you can have as many OpenLiteSpeed installations, just make sure to use a different path for installation.

I can compiled ols but problem is the ssl connections, that walways shows me the error in SSL_ERROR_NO_CYPHER_OVERLAP the browser.

I can compiled ols but problem is the ssl connections, that walways shows me the error in SSL_ERROR_NO_CYPHER_OVERLAP the browser.

Mention the steps that lead you to this error.

I can compiled ols but problem is the ssl connections, that walways shows me the error in SSL_ERROR_NO_CYPHER_OVERLAP the browser.

Mention the steps that lead you to this error.

It is simple i just install as normal the cyberpanel in my local enviroment, after that, run the openlitespeed installation with the git hub source, the http connections works, but https shows me the error mention above. I will try to do it again with the link that you provide me and i will let you know.

I can compiled ols but problem is the ssl connections, that walways shows me the error in SSL_ERROR_NO_CYPHER_OVERLAP the browser.

Mention the steps that lead you to this error.

It is simple i just install as normal the cyberpanel in my local enviroment, after that, run the openlitespeed installation with the git hub source, the http connections works, but https shows me the error mention above. I will try to do it again with the link that you provide me and i will let you know.

How did you solve this?

Look at this guide: 1.4.37 SSL issue — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

For download, you can use current latest version such as https://openlitespeed.org/packages/openlitespeed-1.4.38.tgz