logoalt Hacker News

thought_alarm • yesterday at 1:28 PM • 1 reply • view on HN

Delete /etc/ssl/cert.pem and replace it with the one from MacPorts.

    # /usr/bin/curl https://dv-g3b-aaa-noct-emudhra.we-have-a-problem.com/
    Your client successfully connected to the site. That's bad!
    
    # sudo mv /etc/ssl/cert.pem /tmp/
    
    # sudo ln -s /opt/local/libexec/openssl3/etc/openssl/cert.pem /etc/ssl/cert.pem
    
    # /usr/bin/curl https://dv-g3b-aaa-noct-emudhra.we-have-a-problem.com/
    curl: (60) SSL certificate problem: unable to get local issuer certificate
    More details here: https://curl.se/docs/sslcerts.html

Replies

paaloeye • yesterday at 1:29 PM

What? Who's still using MacPorts?

➕ show 4 replies