I have created one app with connectapi r package and its working locally with SERVER and KEY. I deployed same app on RS connect server and added the environment variables. But app is unable to fetch the data with connect api for deployed application.
When I deployed the app on RS Connect , I can see the following:
Warning: Error in curl::curl_fetch_memory: Peer certification cannot be authenticated with given CA certificates: [example.server.com] SSL certificate problem: self signed certificate in certificate chain
This above error is from RS connect deployed application log.
If I run the same app with environment variable locally the app is working. I am able to connect to RS connect server and fetch the data locally on R Studio. I am facing the issues while deploying the same app on RS connect same server.
Any suggestions?