SokeriHiiri
SokeriHiiri4mo ago

import { Eta } from "https://deno.land/x/eta@v3.0.3/src/index.ts" results in error

Error message: "error trying to connect: invalid peer certificate: NotValidYet." Is there a problem with the SSL certificate?
6 Replies
Leokuma
Leokuma4mo ago
Wild guess: is the date in your machine set correctly?
SokeriHiiri
SokeriHiiri4mo ago
Thanks but I checked and it is.
Leokuma
Leokuma4mo ago
I'm able to import that here without any problems. Maybe your Deno installation is using a client certificate?
SokeriHiiri
SokeriHiiri4mo ago
Good to know. I'll continue testing.
Leokuma
Leokuma4mo ago
You can try deno run --unsafely-ignore-certificate-errors main.ts. It's unsafe though
SokeriHiiri
SokeriHiiri4mo ago
I'm still puzzled. I can only import Eta with command line option --unsafely-ignore-certificate-errors. But I can import Hono etc, without any problems. Well, IDK but I just needed to go to https://deno.land/x/eta@v3.1.0/src/index.ts with the browser and now eta is imported without probs. If someone can explain, I'm all ears/eyes. 😆