Original post

Hello I’m trying to use league of legend api in .

r/golang - how to use insecure option or ssl in golang?

and here’s my code.

r/golang - how to use insecure option or ssl in golang?

of coure it causes an error.

so I downloaded riotgames.pem file (is it root certificate right?) but I don’t know how to use it when I request.

and my other question is how to set insecure option when I try to request in golang?

I studied how ssl works today but I couldn’t find to use the .pem file..