更新时间:2024-06-13 GMT+08:00
分享

no such file or directory......./ssl/dummy.pem

问题现象

配置同步失败,日志详细信息提示如下:

"no such file or directory......./ssl/dummy.pem"

解决方法

登录SLB实例主机,执行命令su os用户切换业务账号,然后执行以下命令:

openssl req -new -newkey rsa:2048 -days 3650 -sha256 -nodes -x509 \-subj '/CN=dummy' \-keyout /opt/huawei/openresty/nginx/conf/ssl/dummy.key \-out /opt/huawei/openresty/nginx/conf/ssl/dummy.pem

相关文档