我正在尝试将 Godaddy Ssl 安装到 openLitespeed 服务器,但它不起作用。我将 .key .crt 文件添加到 /usr/local/lsws/conf/cert/,然后将路径添加到 ssl 侦听器,如下所示:
$SERVER_ROOT/conf/cert/服务器.key $SERVER_ROOT/conf/cert/服务器.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
我尝试了很多方法,但还是找不到解决方案。如果有人有过这种经历,请帮助我。
谢谢