ERR_TLS_CERT_ALTNAME_INVALID fastly compilation error for iOS release build

254 Views Asked by At

I have a React Native app, I ejected from Expo, and I now have a Bare Workflow. When I try to compile an iOS Release build I have the following error:

Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: assets. is not in the cert's altnames: DNS:fastly.net, DNS:www.fastly.net
Before making a release build, make sure you have run 'expo publish' at least once. Learn more. (​https://expo.fyi/release-builds-with-expo-updates​)

Do you have any idea why fastly is here and how to fix this? I tried following this npm bugfix, but it does not work.

0

There are 0 best solutions below