Some help me to connect my rstudio with the shinyapps.io

I'm trying to connect my Rstudio account with the server ShinyApps.io, but every time I run the comand (in the console), with the token and secret (with the secret shown), the imput is :

rsconnect::setAccountInfo(name='berra-giacomo', token='BD64ED16C1045F1A121014EB242E76D1', secret='')

and I get the following message :

Error in function (type, msg, asError = TRUE) :
SSL certificate problem: unable to get local issuer certificate
Timing stopped at: 0.58 0.11 0.93

I've got the latest version of Rstudio 3.4.1, how can I do to solve this problem?

I’d appreciate any kind of answer.