文档首页/ 应用平台 AppStage/ 常见问题/ 运行时引擎负载均衡/ SLB部署失败相关问题/ cannot access /opt/huawei/openresty/nginx/conf/ssl/sample/resty-auto-ssl-fallback.pem.Permission denined
更新时间:2024-06-13 GMT+08:00
分享

cannot access /opt/huawei/openresty/nginx/conf/ssl/sample/resty-auto-ssl-fallback.pem.Permission denined

问题现象

SLB部署失败,日志详细信息提示如下:

"cannot access /opt/huawei/openresty/nginx/conf/ssl/sample/resty-auto-ssl-fallback.pem. Permission denined"

"cannot access /opt/huawei/openresty/nginx/conf/ssl/sample/resty-auto-ssl-fallback.key. Permission denined"

解决方法

登录SLB实例主机,执行以下命令,将证书移动到ssl下且ssl目录下不要配置子目录,删除sample目录。

mv /opt/huawei/openresty/nginx/conf/ssl/sample/* /opt/huawei/openresty/nginx/conf/ssl/
rm -r /opt/huawei/openresty/nginx/conf/ssl/sample

相关文档