Skip to content

Commit 1faef7d

Browse files
add intermediate certificate missing in dados.gov.br's chain
1 parent 64205ce commit 1faef7d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,5 @@ RUN pip install --no-cache-dir --user 'apache-airflow[jdbc,microsoft.mssql,samba
8181
&& pip install --no-cache-dir --user 'apache-airflow-providers-docker'==2.1.0 \
8282
&& if [ -n "${PYTHON_DEPS}" ]; then pip install ${PYTHON_DEPS}; fi \
8383
&& mkdir /opt/airflow/export-data
84+
RUN while [[ "$(curl -s -o /tmp/thawte.pem -w ''%{http_code}'' https://ssltools.digicert.com/chainTester/webservice/validatecerts/certificate?certKey=issuer.intermediate.cert.98&fileName=Thawte%20RSA%20CA%202018&fileExtension=txt)" != "200" ]]; do sleep 1; done
85+
RUN cat /tmp/thawte.pem >> /home/airflow/.local/lib/python3.7/site-packages/certifi/cacert.pem

0 commit comments

Comments
 (0)