Skip to content

Commit

Permalink
Merge pull request #2 from MapStory/cert_patch
Browse files Browse the repository at this point in the history
Add DOD certs to base image for geoserver
  • Loading branch information
Coop56 authored May 14, 2019
2 parents 3734051 + 9212875 commit 6304f20
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 6304f20

Please sign in to comment.