1 | initial version |
Back in the day I found a solution that worked for me. Hooking the OpenSSL library calls to extract the preshared keys. I used this code: https://git.lekensteyn.nl/peter/wireshark-notes/tree/src/sslkeylog.c
If I remember correctly, I altered it so it would send the data out of my device (I was also doing embedded linux) over TCP instead of a file. I'm not sure if I still have a copy of the source code.
I believe it can work both in the client and the server side. Let me know if you need more detail.
Hope it helps
2 | No.2 Revision |
Back in the day I found a solution that worked for me. Hooking the OpenSSL library calls to extract the preshared keys. I used this code: https://git.lekensteyn.nl/peter/wireshark-notes/tree/src/sslkeylog.c
If I remember correctly, I altered it so it would send the data out of my device (I was also doing embedded linux) over TCP instead of a file. I'm not sure if I still have a copy of the source code.
I believe it can work both in the client and the server side. Let me know if you need more detail.
Hope it helps