user5490: I'm trying to install nix on my macbook but I had following error message.
How can I fix this certificate expired problem?
macOS : High Sierra 10.13.6
Thanks in advance.
//-- error message ---
~ MyMac$ sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.

user4290: This is not really Cardano question, but seems your Mac has problem with certificates.
Quick fix will be just to add -k, like this:
sh <(curl -k -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume

This will ignore certificate issue.
In longrun you need to dig dipper, maybe you need to reinstall your root certificates, or update your MacOS.
Maybe this will help:
https://www.digicert.com/blog/expired-intermediate-certificate

5490: <p>I'm trying to install nix on my macbook but I had following error message.
How can I fix this certificate expired problem?</p>
<p>macOS : High Sierra 10.13.6</p>
<p>Thanks in advance.</p>
<p>//-- error message ---</p>
<p>~ MyMac$ sh &lt;(curl -L <a href="https://nixos.org/nix/install" rel="nofollow noreferrer">https://nixos.org/nix/install</a>) --darwin-use-unencrypted-nix-store-volume
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: certificate has expired
More details here: <a href="https://curl.haxx.se/docs/sslcerts.html" rel="nofollow noreferrer">https://curl.haxx.se/docs/sslcerts.html</a></p>
<p>curl performs SSL certificate verification by default, using a &quot;bundle&quot;
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.</p>
 4290: <p>This is not really Cardano question, but seems your Mac has problem with certificates.</p>
<p>Quick fix will be just to add <code>-k</code>, like this:</p>
<pre><code>sh &lt;(curl -k -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
</code></pre>
<p>This will ignore certificate issue.</p>
<p>In longrun you need to dig dipper, maybe you need to reinstall your root certificates, or update your MacOS.</p>
<p>Maybe this will help:</p>
<p><a href="https://www.digicert.com/blog/expired-intermediate-certificate" rel="nofollow noreferrer">https://www.digicert.com/blog/expired-intermediate-certificate</a></p>
