'Getting this error while installing DFX on my mac "curl: (60) SSL certificate problem: certificate has expired"

this is what i wrote to install it DFX_VERSION=0.9.3 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"

I have node 16.14.0 installed but whenever i try this curl command or anyother curl command from other websites it shows that the certificate has expiredI am getting the following error



Solution 1:[1]

This error occurs when we use curl which bundles with linux tools. solution to this is uninstall it and install it (curl) again using “sudo apt install” linux command.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sandun