Skip to content

Commit

Permalink
AI-421: Add support for both VGC Issuing v2 intermediate certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
luksi1 committed Sep 23, 2022
1 parent 73c118c commit 8849910
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion {{ cookiecutter.repo_name }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ RUN apt -y update \
ADD http://aiav2.vgregion.se/VGC%20Root%20CA%20v2.crt /tmp/vgc_root.der
ADD http://aiav2.vgregion.se/VGC%20Issuing%201%20CA%20v2.crt /tmp/vgc_issuing1.der
ADD http://aiav2.vgregion.se/VGC%20Issuing%202%20CA%20v2.crt /tmp/vgc_issuing2.der

ADD http://aiav2.vgregion.se/VGC%20Issuing%201%20CA%20v2(1).crt /tmp/vgc_issuing1_2.der

COPY requirements.txt setup.py ./
RUN pip install -r requirements.txt \
&& openssl x509 -inform der -in /tmp/vgc_root.der -out /usr/local/share/ca-certificates/vgc_root.crt \
&& openssl x509 -inform der -in /tmp/vgc_issuing1.der -out /usr/local/share/ca-certificates/vgc_issuing1.crt \
&& openssl x509 -inform der -in /tmp/vgc_issuing1_2.der -out /usr/local/share/ca-certificates/vgc_issuing1_2.crt \
&& openssl x509 -inform der -in /tmp/vgc_issuing2.der -out /usr/local/share/ca-certificates/vgc_issuing2.crt \
&& update-ca-certificates

Expand Down

0 comments on commit 8849910

Please sign in to comment.