Erroneous "All packages are up to date" behind enterprise self-signed cert

When behind a corporate firewall with self signed certificate and download.file.method == "libcurl", connection to CRAN mirror fails:

Warning: unable to access index for repository
  cannot open URL ''

This is tied to R's changes to libcurl and is resolved in 4.2.2 (I believe).

THE ISSUE: However, under R 4.2.1 and with a failure to connect securely to a CRAN mirror, RStudio IDE's "Packages pane > Update" reports "All packages are up to date".

When unable to connect to CRAN, RStudio should not report everything being up to date.

> devtools::session_info()
─ Session info ──────────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.2.1 (2022-06-23 ucrt)
 os       Windows 10 x64 (build 22000)
 system   x86_64, mingw32
 ui       RStudio
 language (EN)
 collate  English_United States.utf8
 ctype    English_United States.utf8
 tz       America/New_York
 date     2022-11-15
 rstudio  2022.12.0-preview+326 Elsbeth Geranium (desktop)
 pandoc   2.19.2 @ C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/ (via rmarkdown)

Or it may be just a temporary connectivity problem. Check in https and try again if reachable.