Nextcloud登录界面输入用户名和密码后报内部故障

查询~/nextcloud/data/nextcloud.log,找到日志报出如下错误

"Something is wrong with your openssl setup: error:02001002:system library:fopen:No such file or directory, error:2006D080:BIO routines:BIO_new_file:no such file, error:0E064002:configuration file routines:CONF_load:system lib, error:02001002:system library:fopen:No such file or directory, error:2006D080:BIO routines:BIO_new_file:no such file, error:0E064002:configuration file routines:CONF_load:system lib",

 

**解决:**在~/nextcloud/config/config.php中添加如下代码:

'openssl' =>  array (
    'digest_alg' => 'sha512',
    'private_key_bits' => 2048,
    'config' => '/etc/ssl/openssl.cnf',
),

 

参照链接:https://github.com/nextcloud/server/issues/16378

posted @ 2023-06-18 15:02  极速热度  阅读(369)  评论(0)    收藏  举报