Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
00:55 thowe left, thowe joined, thowe left, thowe joined 00:56 thowe left 11:11 sena_kun joined
lizmat could someone explain to me why this code dies for me on Mojave? 16:08
use Cro::HTTP::Client; await Cro::HTTP::Client.new.get("updown.io/api/nodes/ipv4"
Server certificate verification failed: certificate has expired 16:09
Am trying to establish whether this is a local issue and how to fix it
sena_kun lizmat, you need to explicitly set :%ca for `get`, as the site uses ssl. 16:14
say you pass `ca => { ca-file => '/etc/ssl/certs/ca-certificates.crt'` or I'm not sure what's the path for certificates on OSX. 16:16
stackoverflow.com/questions/246751...s-mac-os-x <- it feels bad for OSX 16:17
lizmat sena_kun++ 16:18
I actually found the fix (for me) in stackoverflow.com/questions/621031...5#69413675 16:32
deleting the "DST Root CA X3" certificate was enough 16:33
in /etc/ssl/cert.pem
*phew* 16:34
19:07 sena_kun left