Skip to content

Invalid root certificates cause Deno to panic #24137

@Pii-USD

Description

@Pii-USD

Version: Deno 1.37.2

Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: windows x86_64
Version: 1.37.2
Args: ["C:\Program Files\RStudio\resources\app\bin\quarto\bin\tools\x86_64\deno", "run", "--unstable", "--no-config", "--cached-only", "--allow-read", "--allow-write", "--allow-run", "--allow-env", "--allow-net", "--allow-ffi", "--importmap", "C:\Program Files\RStudio\resources\app\bin\quarto\bin\vendor\import_map.json", "C:\Program Files\RStudio\resources\app\bin\quarto\bin\quarto.js", "install", "tinytex"]

thread 'main' panicked at cli\args\mod.rs:525:14:
Failed to add platform cert to root cert store: InvalidCertificate(BadEncoding)
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctlyclirelated to cli/ dirtlsIssues related to TLS implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions