Skip to content

Quarto publish connect BadCertificate #3363

@TheisFerre

Description

@TheisFerre

Bug description

I am trying to publish quarto-content to a server hosting RStudio Connect. When i run quarto publish connect inst/quarto.qmd --token $API_KEY --server $CONNECT_SERVER i get the following error :

ERROR: TypeError: error sending request for url (<CONNECT_SERVER>/__api__/v1/content): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer

However, when I instead do a curl to the same url (curl -H "Authorization: Key $API_KEY" ${CONNECT_SERVER}/__api__/v1/content), I get a valid response with all the contents listings from my RStudio Connect server.

I have checked my certificates from where I run the quarto publish command and I do have a valid certificate for the server running RStudio Connect. Additionally, I am able to use rsconnect-python, to deploy a .qmd file using manifest.

Any idea why Quarto is unable to communicate with my server running RStudio Connect?

VERSIONS:

  • Quarto: version 1.1.251
  • OS: Red Hat Enterprise Linux Server version 7.9.
  • RStudio Connect: v2022.09.0

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions