https://bugs.winehq.org/show_bug.cgi?id=56028
--- Comment #7 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to dariooliviero09 from comment #6)
# curl: (60) SSL certificate problem: certificate has expired
Hello,
This is probably this issue: https://apple.stackexchange.com/questions/393481/homebrew-cask-download-fail...
You may try the solution from the accepted answer:
HOMEBREW_FORCE_BREWED_CURL=1 brew install --cask --no-quarantine wine-staging
If that still fails with a certificate error, you'll have to install a custom cURL first:
--- copied from stackexchange --- edit or create ~/.curlrc file and add "--insecure" to it then: $ HOMEBREW_CURLRC=1 brew install curl delete ~/.curlrc file or remove the "--insecure" from it $ [HOMEBREW_FORCE_BREWED_CURL=1 if needed] brew install whatever --- end ---
Which can be adapted in this case like this:
echo '--insecure' >>~/.curlrc HOMEBREW_CURLRC=1 brew install curl sed -i '' -e '$ d' ~/.curlrc HOMEBREW_FORCE_BREWED_CURL=1 brew install --cask --no-quarantine wine-staging
Regards.