Install Godday Ssl on Lightspeed

#1
Hello
I tried to install Godaddy Ssl to Litespeed server but it's not working.
I added .key .crt files to /usr/local/lsws/conf/cert/

then added the path to ssl listener as:
$SERVER_ROOT/conf/cert/server.key
$SERVER_ROOT/conf/cert/server.crt
$SERVER_ROOT/conf/cert/ca_bundle.crt

and restart the server but I got this error

[40299] [SSL:0x1dcdd50] Config SSL Context with Certificate File: /usr/local/lsws/conf/cert/server.crt and Key File:/usr/local/lsws/conf/cert/server.key get SSL error: error:04000093:RSA routines:OPENSSL_internal:D_OUT_OF_RANGEerror:04000068:RSA routines:OPENSSL_internal:BAD_RSA_PARAMETERSerror:06000066:public key routines:OPENSSL_internal:DECODE_ERRORerror:13000068:pKCS8 routines:OPENSSL_internal:DECODE_ERRORerror:0900000c:pEM routines:OPENSSL_internal:ASN.1 encoding routineserror:04000093:RSA routines:OPENSSL_internal:D_OUT_OF_RANGEerror:04000068:RSA routines:OPENSSL_internal:BAD_RSA_PARAMETERSerror:06000066:public key routines:OPENSSL_internal:DECODE_ERRORerror:13000068:pKCS8 routines:OPENSSL_internal:DECODE_ERRORerror:0900000c:pEM routines:OPENSSL_internal:ASN.1 encoding routineserror:10000009:SSL routines:OPENSSL_internal:pEM routines
I tried to apply this solution but
openssl rsa -in forum.key -out forum_no_encrypt.key
I got this error
[38915] [SSL:0x2486d60] Config SSL Context with Certificate File: /usr/local/lsws/conf/cert/server.crt and Key File:/usr/local/lsws/conf/cert/server.key get SSL error: error:06000066:public key routines:OPENSSL_internal:DECODE_ERRORerror:0900000c:pEM routines:OPENSSL_internal:ASN.1 encoding routineserror:10000009:SSL routines:OPENSSL_internal:pEM routines
any idea what should I do to solve this problem?

Thank you..
 
Last edited:

Pong

Administrator
Staff member
#2
Looks configuration ok, but not sure if you use the correct certificate or not. You can log a ticket with us and we can check.
 
#3
Looks configuration ok, but not sure if you use the correct certificate or not. You can log a ticket with us and we can check.
I used same files with Apache and Nginx on same server, they worked without any issues.

I used openlitespeed webserver can I open a ticket with you?
 
Top