文档首页/应用平台 AppStage/常见问题/运维中心负载均衡/SLB部署失败相关问题/cannot access /opt/huawei/openresty/nginx/conf/ssl/sample/resty-auto-ssl-fallback.pem.Permission denied
更新时间:2025-04-14 GMT+08:00
cannot access /opt/huawei/openresty/nginx/conf/ssl/sample/resty-auto-ssl-fallback.pem.Permission denied
问题现象
SLB部署失败,日志详细信息提示如下:
"cannot access /opt/huawei/openresty/nginx/conf/ssl/sample/resty-auto-ssl-fallback.pem. Permission denied"
"cannot access /opt/huawei/openresty/nginx/conf/ssl/sample/resty-auto-ssl-fallback.key. Permission denied"
解决方法
登录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
父主题:SLB部署失败相关问题

