generated from nginx/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 121
Labels
🔥 p2Priority 2: Impacts production; non-emergencyPriority 2: Impacts production; non-emergencybugSomething isn't workingSomething isn't workingcommunityIssues or pull requests started by community membersIssues or pull requests started by community membersdocumentationImprovements or additions to documentationImprovements or additions to documentationproduct/wafIssues related to F5 WAF for NGINXIssues related to F5 WAF for NGINX
Description
Hello,
I tried today to run the instructions to build the docker image containing NAP, and I kept having the build failing with the following error:
Could not load client certificate (/etc/ssl/nginx/nginx-repo.crt, SslCert option) or key (/etc/ssl/nginx/nginx-repo.key, SslKey option): Error while reading file.After troubleshooting this, it seems that the file downloaded from https://cs.nginx.com/static/files/90pkgs-nginx, references a client certificate placed in /etc/ssl/nginx/nginx-repo.crt.
However, for example as you can see there:
documentation/content/waf/install/docker.md
Line 1042 in c9005eb
| RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \ |
The documentation references the mounted secret's target as /etc/ssl/nginx/nginx-repo.cert, note the ".cert" vs. ".crt".
Changing this solved the issue.
Metadata
Metadata
Assignees
Labels
🔥 p2Priority 2: Impacts production; non-emergencyPriority 2: Impacts production; non-emergencybugSomething isn't workingSomething isn't workingcommunityIssues or pull requests started by community membersIssues or pull requests started by community membersdocumentationImprovements or additions to documentationImprovements or additions to documentationproduct/wafIssues related to F5 WAF for NGINXIssues related to F5 WAF for NGINX