aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-01-29 18:25:28 +0000
committerterminaldweller <thabogre@gmail.com>2023-01-29 18:25:28 +0000
commitc4c94bdecb3695e7690f2fc68aae6d39a3caa499 (patch)
tree28c1f3e3b596880bf1602dfc35f8265dd31fc46b
parentupdate (diff)
downloadicanhazallips-c4c94bdecb3695e7690f2fc68aae6d39a3caa499.tar.gz
icanhazallips-c4c94bdecb3695e7690f2fc68aae6d39a3caa499.zip
fixed the common name for the self-signed cert
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index fdd725a..917b592 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,7 +11,7 @@ RUN cd /icanhazallips && go build
FROM alpine:3.17 as certbuilder
RUN apk add openssl
WORKDIR /certs
-RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert
+RUN openssl req -nodes -new -x509 -subj="CN=icanhazallips.terminaldweller.com" -keyout server.key -out server.cert
FROM gcr.io/distroless/static-debian11
# FROM alpine:3.17