3 ms·
I just ran this and got a bad cert error. How should I fix it? deno run -A -r https://fresh.deno.dev https://fresh.deno.dev my-project Sending fatal alert Bad
by robofanatic 4y ago
I just ran this and got a bad cert error. How should I fix it?
deno run -A -r https://fresh.deno.dev https://fresh.deno.dev my-project
Sending fatal alert BadCertificate
error: error sending request for url (https://fresh.deno.dev/ https://fresh.deno.dev/): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
- lucacasonato 4y agoAre you behind a corporate firewall? Can you set `DENO_TLS_CA_STORE=system` and try again?
- verdverm 4y agoIs deno using a custom cert store by default? --- https://deno.com/blog/v1.13#use-system-certificate-store-for-tls https://deno.com/blog/v1.13#use-system-certificate-store-for...
- lucacasonato 4y agoIt uses the Mozilla certificate store by default.
- robofanatic 4y agoyes and thanks so much. that did the trick!