diff options
author | Philipp Keck <git@philippkeck.de> | 2016-12-14 17:55:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-14 17:55:07 +0100 |
commit | 65d45bcad8766b335f50979a285e36d3e00cdc21 (patch) | |
tree | 82cd95ae811a51531873409344be5978cf77b7b3 /README.md | |
parent | b310e594cdb48f3bb1214739ba9179e6ab2e071b (diff) | |
download | rust-openssl-65d45bcad8766b335f50979a285e36d3e00cdc21.zip |
Explain how to install trusted root certificates
The slproweb.com OpenSSL distribution does not contain root certificates, so they need to be downloaded and installed manually to avoid certificate warnings when making requests.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -73,6 +73,18 @@ installation via an environment variable: set OPENSSL_DIR=C:\OpenSSL-Win64 ``` +Note that this OpenSSL distribution does not ship with any root certificates. +So to make requests to servers on the internet, you have to install them +manually. Download the [cacert.pem file from here], copy it somewhere safe +(`C:\OpenSSL-Win64\certs` is a good place) and point the `SSL_CERT_FILE` +environment variable there: + +``` +set SSL_CERT_FILE=C:\OpenSSL-Win64\certs\cacert.pem +``` + +[cacert.pem file from here]: https://curl.haxx.se/docs/caextract.html + After that, you're just a `cargo build` away! ### Windows GNU (MinGW) |