Skip to content

Commit

Permalink
Add DOD certs to base image for geoserver
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berry committed May 14, 2019
1 parent 3734051 commit 9212875
Show file tree
Hide file tree
Showing 5 changed files with 1,398 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ RUN set -ex \
&& rm -rf /var/lib/apt/lists/*

# Add CA cert for self signing
COPY ca.crt /usr/local/share/ca-certificates/
COPY cacerts/ca.crt /usr/local/share/ca-certificates/
COPY cacerts/Certificates_v5.3_DoD.pem.crt /usr/local/share/ca-certificates/
COPY cacerts/comodorsacertificationauthority.crt /usr/local/share/ca-certificates/
COPY cacerts/comodorsadomainvalidationsecureserverca.crt /usr/local/share/ca-certificates/
RUN set -ex \
&& update-ca-certificates \
&& keytool -import -v -trustcacerts -alias server-alias -file /usr/local/share/ca-certificates/ca.crt -keystore cacerts.jks -keypass changeit -storepass changeit -noprompt
Expand Down
Loading

0 comments on commit 9212875

Please sign in to comment.