Klimenty
BadCertificate error using deno 1.25.4
Hello, I am facing an error in my deno + node js app. I cannot figure out how why it is happening. The error is too vague for me. I'm simply trying to install the dependencies.
My environment (using Ubuntu 22.04.4 LTS):
kkaravaev@kkaravaev1:~$ node -v
v16.20.2
kkaravaev@kkaravaev1:~$ deno --version
deno 1.25.4 (release, x86_64-unknown-linux-gnu)
v8 10.7.193.3
typescript 4.7.4
kkaravaev@kkaravaev1:~$ npm -v
8.19.4
kkaravaev@kkaravaev1:~$
Complete error message:
Sending fatal alert BadCertificate
Sending fatal alert BadCertificate
error: error sending request for url (https://deno.land/x/cliffy@v0.20.1/command/mod.ts): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
at file:///home/kkaravaev/2222.kpmi-invest-legacy-web/node_modules/eftr-tools/_cli/_deps/cliffy/cliffy.ts:2:15
npm ERR! code 1
npm ERR! path /home/kkaravaev/2222.kpmi-invest-legacy-web
npm ERR! command failed
npm ERR! command sh -c -- ./ci_post_install.sh && patch-package
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kkaravaev/.npm/_logs/2024-06-24T13_57_52_382Z-debug-0.lo
7 replies