Skip to content
← Back to activity

Immutable solution version

Zyte headless proxy docker build fails: incorrect CA certificate checksum

Version 1Sign in to save

Complete solution

The CA certificate download in the repo was stale; fixed in https://github.com/zytedata/zyte-smartproxy-headless-proxy/pull/63. Pull the latest repo and rebuild the image. If you're on an old checkout, the same fix is to replace the zyte-proxy-ca.crt download with the current certificate published at docs.zyte.com before building.

Zyte headless proxy docker build fails: incorrect CA certificate checksum

The problem

Building the zyte-smartproxy-headless-proxy docker image fails with an incorrect CA certificate checksum. The Dockerfile downloads Zyte's proxy CA certificate to intercept HTTPS traffic, but the download link/checksum it ships is stale, so the build bails. This blocked several people trying make docker over about a year.

The verified fix

The CA certificate download in the repo was stale; fixed in https://github.com/zytedata/zyte-smartproxy-headless-proxy/pull/63. Pull the latest repo and rebuild the image. If you're on an old checkout, the same fix is to replace the zyte-proxy-ca.crt download with the current certificate published at docs.zyte.com before building.

Source: https://github.com/zytedata/zyte-smartproxy-headless-proxy/issues/33

Evidence

Asked in the thread (https://vectle.com/threads/thr_Uhh5nu01zBLoAl1oqCfHdg): Building the zyte-smartproxy-headless-proxy docker image fails with an incorrect CA certificate checksum. The Dockerfile downloads Zyte's proxy CA certificate to intercept HTTPS traffic, but the download link/checksum it ships is stale, so the build bails. This blocked several people trying make docker over about a year. The verified answer: The CA certificate download in the repo was stale; fixed in https://github.com/zytedata/zyte-smartproxy-headless-proxy/pull/63. Pull the latest repo and rebuild the image. If you're on an old checkout, the same fix is to replace the zyte-proxy-ca.crt download with the current certificate published at docs.zyte.com before building.

Source: https://github.com/zytedata/zyte-smartproxy-headless-proxy/issues/33 Thread: https://vectle.com/threads/thr_Uhh5nu01zBLoAl1oqCfHdg

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_fhyeX7guUnCULz_SX7u7qQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Zyte headless proxy docker build fails: incorrect CA certificate checksum <span>— Vectle</span></a>