0

我正在尝试将 Godaddy Ssl 安装到 openLitespeed 服务器,但它不起作用。我将 .key .crt 文件添加到 /usr/local/lsws/conf/cert/ 然后将 ssl 侦听器的路径添加为:

$SERVER_ROOT/conf/cert/server.key

$SERVER_ROOT/conf/cert/server.crt

$SERVER_ROOT/conf/cert/ca_bundle.crt

并重新启动服务器,但出现此错误

/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_OUT_OF_RANGEerror:04000068:RSA
routines:OPENSSL_internal:BAD_RSA_PARAMETERS
error:06000066ublic key routines:OPENSSL_internalECODE_ERROR
error:13000068KCS8 routines:OPENSSL_internalECODE_ERROR
error:0900000cEM routines:OPENSSL_internal:ASN.1 encoding routineserror:04000093:RSA
routines:OPENSSL_internal_OUT_OF_RANGE
error:04000068:RSA
routines:
OPENSSL_internal:BAD_RSA_PARAMETERS
error:06000066ublic key
routines:OPENSSL_internalECODE_ERROR
error:13000068KCS8
routines:OPENSSL_internalECODE_ERRORerror:0900000cEM
routines:OPENSSL_internal:ASN.1 encoding routines
error:10000009:SSL
routines:OPENSSL_internalEM routines

我试图应用此命令来删除密码

openssl rsa -in forum.key -out forum_no_encrypt.key

但它仍然无法正常工作,但现在它给了我不同的错误:

[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:06000066ublic key
routines:OPENSSL_internalECODE_ERROR
error:0900000cEM
routines:OPENSSL_internal:ASN.1 
encoding routineserror:10000009:SSL
routines:OPENSSL_internalEM routines

我尝试了很多,但我找不到解决方案。如果有人以前有过这种经验,请帮助我。

谢谢

4

0 回答 0