Skip to content

'quarto publish confluence' throws 'Failed to add platform cert to root cert store' #7292

@harrylojames

Description

@harrylojames

Bug description

quarto publish confluence confluence-demo.qmd

============================================================
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.33.4
Args: ["C:\\Users\\hj6\\scoop\\apps\\quarto-prerelease\\current\\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:\\Users\\hj6\\scoop\\apps\\quarto-prerelease\\current\\bin\\vendor\\import_map.json", "C:\\Users\\hj6\\scoop\\apps\\quarto-prerelease\\current\\bin\\quarto.js", "publish", "confluence", "confluence-demo.qmd"]

thread 'main' panicked at 'Failed to add platform cert to root cert store: InvalidCertificate(BadEncoding)', cli\args\mod.rs:497:14
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

denoland/deno#20709

As suggested in the above issue I can reproduce this bug when not connected to a corporate vpn. I was also able to reproduce this on another computer.

Steps to reproduce

Create a file confluence-demo.qmd with the following.

---
title: Confluence Demo
format: confluence-html
---

## Overview

Managing Confluence content with Quarto allows you to author content in Markdown, manage that content with your usual version control tools like Git and GitHub, and leverage Quarto’s tools for including computational output.

Publish to a confluence space -
quarto publish confluence confluence-demo.qmd

Expected behavior

Publishing with Quarto version 1.3.450 works without errors.

Note, if I set DENO_TLS_CA_STORE to exclusively system rather than including mozilla I see the same error on this version.

Actual behavior

Publishing with Quarto version 1.4.429 throws the following error.

This error happens regardless of the setting of DENO_TLS_CA_STORE.

Your environment

Windows 11

Quarto check output

Quarto 1.4.429
[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.8: OK
      Dart Sass version 1.55.0: OK
      Deno version 1.33.4: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.4.429
      Path: C:\Users\hj6\scoop\apps\quarto-prerelease\current\bin
      CodePage: 1252

[>] Checking tools....................OK
      TinyTeX: v2023.03.21
      Chromium: (not installed)

[>] Checking LaTeX....................OK
      Using: TinyTex
      Path: C:\Users\hj6\AppData\Roaming\TinyTeX\bin\windows\
      Version: 2023

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK
      Version: 3.9.4
      Path: C:/Users/hj6/AppData/Local/Programs/Python/Python39/python.exe
      Jupyter: 5.0.0

[>] Checking Jupyter engine render....OK

(-) Checking R installation...........R scripting front-end version 4.1.3 (2022-03-10)
[>] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdenoIssues related to denopublishing-confluenceConfluence publishing of documents and projectstriaged-toIssues that were not self-assigned, signals that an issue was assigned to someone.upstreamBug is in upstream librarywindows

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions