Unable to install a package from github

I have previously installed the package below on a RStudio WorkBench (RedHat 7) server, but recently migrated to a RedHat 8 and the installation throws the error below showing a SSL certificate issue. How can I solve this error?

devtools::install_github("AscentiumCapital/Ascentium")
Error: Failed to install 'unknown package' from GitHub:
SSL certificate problem: self signed certificate in certificate chain

As this repo is private, did you fully configure your Github account in RStudio? Are you able to push to your own Github from RStudio?

The issue is not only for my private package but for any package from github. For example:

remotes::install_github("davidADSP/xgboostExplainer")
Error: Failed to install 'unknown package' from GitHub:
SSL certificate problem: self signed certificate in certificate chain

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.