Peer's certificate issuer has been marked as not trusted by the user

rstudioconnect

#1

Publishing document from rstudio server pro to rstudio conneect throws following error

Preparing to deploy document...Error in function (type, msg, asError = TRUE)  : 
  Peer's certificate issuer has been marked as not trusted by the user.
Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Timing stopped at: 0.102 0.07 0.186
Execution halted

at first i thought this is ssl certificate issue,
but when i ran the command

openssl s_client -connect rstudio-connect-server

it gave

  Start Time: 1513979696
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)

any ideas how to resolve this issue

Thanks


#2

I’m having the same issue, If it makes you feel any better. I don’t run into the issue when connecting to R Connect Directly.


#3

Just out of curiosity, are you using self-signed certs? I’m not familiar with whether the openssl command would have made mention of that.


#4

resolved issue by adding cacert.pem file in

/home/user/R/x86_64-pc-linux-gnu-library/3.X/rsconnect/cert/cacert.pem

for each user.


#6

Hi Cole, we are not using self signed certificate