Troubleshooting certificate errors when accessing pins

TLS
SSL
pins
Connect
Published

November 10, 2025

Abstract

Troubleshoot errors when Shiny apps running on Connect are trying to access pins.

Details on configuring TLS certifificates for each Posit professional product are available at the links below:

Description

A common issue when using pins is when the user can successfully push pins to a Connect server and call the pins. However, Shiny apps that are trying to access the pin are failing.

The error reads like:

Console output
"Error in value[[3L]](cond) : Peer's Certificate issuer is not recognized."

Solution

A potential solution is to add the certificate that the Connect server is using to the trusted store on the Connect server itself, given that it’s a local request.

If that doesn’t work or if it isn’t an option, then you can approach this issue from your R code. Execute the following setting before using the pins package:

Console output
httr::set_config(config(ssl_verifypeer = FALSE, ssl_verifyhost = FALSE))

If you’re still having issues, you can reach out to Support by opening a ticket.