I can't open certain websites on my MacBook air. I say's this connection not private.

I can't open certain websites on my MacBook air. I say's this connection not private.

Posted on Sep 30, 2021 1:29 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Oct 1, 2021 12:37 PM

The issue is related to the DST Root X3 certificate has expired as of September 30. 2021. But there is a solution!


Two solutions:

  1. Update your Mac to the newest available OS (10.12 or later)
  2. Update the certificate in keychain.


The easiest way to do this is to transfer your System Root certificates from another Mac to which you have access that runs a more modern version of macOS.

  1. First find the more modern Mac with a working set of System Root certificates (i.e. that can access the problematic web sites)
  2. On that Mac, launch Keychain Access, select "System Roots", select all the certificates, select File->Export, and export them as rootcerts.pem file. This file will contain all the certificates concatenated.
  3. Copy the rootcerts.pem file to your antique mac
  4. Make the trustroot shell script below, e.g. by copying it into a file, then using chmod 755 trustroot
  5. Run sudo ./trustroot rootcerts.pem
#!/bin/bash
DIR=${TMPDIR}/trustroot.$$
mkdir -p ${DIR}
trap "rm -rf ${DIR}" EXIT
cat "$1" | (cd $DIR && split -p '-----BEGIN CERTIFICATE-----' - cert- )
for c in ${DIR}/cert-* ; do
   security -v add-trusted-cert -d -r trustRoot -k "/Library/Keychains/System.keychain" "$c"
done
rm -rf ${DIR}

What the script does is splits the .pem file into a number of certificates in the temporary directory concerned, then adds them as trustRoot certificates to the System key chain; they will then operate as trusted roots in addition to the certificates in the original "System Roots" keychain. In case you were wondering, you cannot add them to the System Roots keychain as that can only be updated by the operating system.

Note this copies over the first group of certificates ("Trusted Certificates" in the question), but not the second nor the third.


Source: https://apple.stackexchange.com/questions/422332/how-do-i-update-my-root-certificates-on-an-older-version-of-mac-os-e-g-el-capi

10 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Oct 1, 2021 12:37 PM in response to Joericci

The issue is related to the DST Root X3 certificate has expired as of September 30. 2021. But there is a solution!


Two solutions:

  1. Update your Mac to the newest available OS (10.12 or later)
  2. Update the certificate in keychain.


The easiest way to do this is to transfer your System Root certificates from another Mac to which you have access that runs a more modern version of macOS.

  1. First find the more modern Mac with a working set of System Root certificates (i.e. that can access the problematic web sites)
  2. On that Mac, launch Keychain Access, select "System Roots", select all the certificates, select File->Export, and export them as rootcerts.pem file. This file will contain all the certificates concatenated.
  3. Copy the rootcerts.pem file to your antique mac
  4. Make the trustroot shell script below, e.g. by copying it into a file, then using chmod 755 trustroot
  5. Run sudo ./trustroot rootcerts.pem
#!/bin/bash
DIR=${TMPDIR}/trustroot.$$
mkdir -p ${DIR}
trap "rm -rf ${DIR}" EXIT
cat "$1" | (cd $DIR && split -p '-----BEGIN CERTIFICATE-----' - cert- )
for c in ${DIR}/cert-* ; do
   security -v add-trusted-cert -d -r trustRoot -k "/Library/Keychains/System.keychain" "$c"
done
rm -rf ${DIR}

What the script does is splits the .pem file into a number of certificates in the temporary directory concerned, then adds them as trustRoot certificates to the System key chain; they will then operate as trusted roots in addition to the certificates in the original "System Roots" keychain. In case you were wondering, you cannot add them to the System Roots keychain as that can only be updated by the operating system.

Note this copies over the first group of certificates ("Trusted Certificates" in the question), but not the second nor the third.


Source: https://apple.stackexchange.com/questions/422332/how-do-i-update-my-root-certificates-on-an-older-version-of-mac-os-e-g-el-capi

Reply

Oct 10, 2021 12:55 PM in response to Joericci

In case anyone is still affected, Firefox works fine, or to fix in Safari:

  1. open your keychain and locate the certificate under System Roots > Certificates called "DST Root CA X3"
  2. double click and select Trust: When using this certificate: Always Trust
  3. Close and enter system password


then when you visit an affected website the certificate will update in the browser to the correct/newer one "ISRG Root X1".

Reply

Sep 30, 2021 4:48 PM in response to FoxFifth

“the IdentTrust DST Root CA X3 — was set to expire on September 30. After expiry, computers, devices and web clients — such as browsers — will no longer trust certificates that have been issued by this certificate authority.”


in https://techcrunch.com/2021/09/21/lets-encrypt-root-expiry/

Reply

Sep 30, 2021 7:47 PM in response to darkstar2002

darkstar2002 wrote:

I am also having problems with websites and facebook games... I have an older, 2009 iMac.... what can/should I do to fix this? There is nothing to update. Thanks.


These directions should get the certificate chain updated on a Mac running 10.11 or older:


https://mjtsai.com/blog/2021/09/24/some-web-sites-will-stop-working-with-el-capitan-and-older/#comment-3538503

Reply

Oct 10, 2021 1:48 PM in response to smnnms

smnnms wrote:

1. In case anyone is still affected, Firefox works fine…


Firefox has its own certificate store and will work with the newer root certificate. For Safari or any installed apps that might be making secure connections to a website or to some other network service using the Apple-provided certificates, not so much.

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I can't open certain websites on my MacBook air. I say's this connection not private.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.