Created
June 15, 2018 14:20
-
-
Save chmac/78a2dd2bd346026f55fa1bae4f885ae3 to your computer and use it in GitHub Desktop.
Fix Mono No certificates found error on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# The error was: | |
# No certificates found, you can install some with one of these commands: | |
# cert-sync /etc/ssl/certs/ca-certificates.crt #for Debian based systems | |
# cert-sync /etc/pki/tls/certs/ca-bundle.crt #for RedHat derivatives | |
# Read more: http://www.mono-project.com/docs/about-mono/releases/3.12.0/#cert-sync | |
# From here: http://www.mono-project.com/docs/about-mono/releases/4.8.0/#tls-12-support | |
# The fix was: | |
curl -L -o /tmp/cacert.pem https://curl.haxx.se/ca/cacert.pem | |
cert-sync --user /tmp/cacert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you !