Comment on Fresh 1.1 – Automatic JSX, plugins, DevTools, and moreComments−robofanatic4yI just ran this and got a bad cert error. How should I fix it?deno run -A -r https://fresh.deno.dev my-projectSending fatal alert BadCertificate error: error sending request for url (https://fresh.deno.dev/): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer−lucacasonato4yAre you behind a corporate firewall? Can you set `DENO_TLS_CA_STORE=system` and try again?−verdverm4yIs deno using a custom cert store by default?---https://deno.com/blog/v1.13#use-system-certificate-store-for...−lucacasonato4yIt uses the Mozilla certificate store by default.−robofanatic4yyes and thanks so much. that did the trick!
Comments
I just ran this and got a bad cert error. How should I fix it?
deno run -A -r https://fresh.deno.dev my-project
Sending fatal alert BadCertificate error: error sending request for url (https://fresh.deno.dev/): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
Are you behind a corporate firewall? Can you set `DENO_TLS_CA_STORE=system` and try again?
Is deno using a custom cert store by default?
---
https://deno.com/blog/v1.13#use-system-certificate-store-for...
It uses the Mozilla certificate store by default.
yes and thanks so much. that did the trick!