Skip to content

Commit ca077c2

Browse files
authored
Update NGINX certificate file extension
1 parent aa9fcab commit ca077c2

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

content/waf/install/docker.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -982,14 +982,14 @@ RUN wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.amaz
982982
RUN wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/app-protect-amazonlinux2023.repo
983983

984984
# Install F5 WAF for NGINX:
985-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
985+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
986986
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
987987
dnf -y install app-protect \
988988
&& dnf clean all \
989989
&& rm -rf /var/cache/yum
990990

991991
# Only use if you want to install and use the IP intelligence feature:
992-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
992+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
993993
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
994994
dnf -y install app-protect-ip-intelligence
995995

@@ -1039,12 +1039,12 @@ RUN printf "deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg]
10391039
RUN wget -P /etc/apt/apt.conf.d https://cs.nginx.com/static/files/90pkgs-nginx
10401040

10411041
# Update the repository and install the most recent version of the F5 WAF for NGINX package (which includes NGINX Plus):
1042-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1042+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
10431043
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
10441044
apt-get update && apt-get install -y app-protect
10451045

10461046
# Only use if you want to install and use the IP intelligence feature:
1047-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1047+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
10481048
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
10491049
apt-get install -y app-protect-ip-intelligence
10501050

@@ -1083,14 +1083,14 @@ RUN dnf config-manager --set-enabled ol8_codeready_builder \
10831083
&& dnf clean all
10841084

10851085
# Install F5 WAF for NGINX:
1086-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1086+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
10871087
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
10881088
dnf -y install app-protect \
10891089
&& dnf clean all \
10901090
&& rm -rf /var/cache/dnf
10911091

10921092
# Only use if you want to install and use the IP intelligence feature:
1093-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1093+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
10941094
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
10951095
dnf install -y app-protect-ip-intelligence
10961096

@@ -1126,14 +1126,14 @@ RUN wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.repo
11261126
&& dnf clean all
11271127

11281128
# Install F5 WAF for NGINX:
1129-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1129+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
11301130
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
11311131
dnf install --enablerepo=codeready-builder-for-rhel-8-x86_64-rpms -y app-protect \
11321132
&& dnf clean all \
11331133
&& rm -rf /var/cache/dnf
11341134

11351135
# Only use if you want to install and use the IP intelligence feature:
1136-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1136+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
11371137
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
11381138
dnf install -y app-protect-ip-intelligence
11391139

@@ -1168,14 +1168,14 @@ RUN dnf config-manager --set-enabled crb \
11681168
&& dnf clean all
11691169

11701170
# Install F5 WAF for NGINX:
1171-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1171+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
11721172
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
11731173
dnf install -y app-protect \
11741174
&& dnf clean all \
11751175
&& rm -rf /var/cache/dnf
11761176

11771177
# Only use if you want to install and use the IP intelligence feature:
1178-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1178+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
11791179
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
11801180
dnf install -y app-protect-ip-intelligence
11811181

@@ -1210,14 +1210,14 @@ RUN dnf config-manager --set-enabled crb \
12101210
&& dnf clean all
12111211

12121212
# Install F5 WAF for NGINX:
1213-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1213+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
12141214
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
12151215
dnf install -y app-protect \
12161216
&& dnf clean all \
12171217
&& rm -rf /var/cache/dnf
12181218

12191219
# Only use if you want to install and use the IP intelligence feature:
1220-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1220+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
12211221
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
12221222
dnf install -y app-protect-ip-intelligence
12231223

@@ -1267,12 +1267,12 @@ RUN printf "deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg]
12671267
RUN wget -P /etc/apt/apt.conf.d https://cs.nginx.com/static/files/90pkgs-nginx
12681268

12691269
# Update the repository and install the most recent version of the F5 WAF for NGINX package (which includes NGINX Plus):
1270-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1270+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
12711271
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
12721272
apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y app-protect
12731273

12741274
# Only use if you want to install and use the IP intelligence feature:
1275-
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.cert,mode=0644 \
1275+
RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
12761276
--mount=type=secret,id=nginx-key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
12771277
apt-get install -y app-protect-ip-intelligence
12781278

0 commit comments

Comments
 (0)