How to decrypt HTTPS packet in golang

hello with golang I can get http packets using gopacket, I have a certificate I want to obtain https packets, but I can’t decrypt the package ?

2 Likes

It’s the purpose of HTTPS to not allow decrypting packets.

3 Likes

Cengiz, you better learn first how private-public key encryption works: https://en.wikipedia.org/wiki/Public-key_cryptography

And then look at this example:

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.