Is there some environment variable that works how SSLKEYLOGFILE works for NSS-reliant programs but which would apply to all outgoing TLS / SSL connections on a Linux server and not just ones that use NSS?
Specifically I want to do a tcpdump of the traffic from the exim daemon to all foreign hosts to try to debug an issue and I need to be able to decrypt it afterwards.
In case it’s helpful, running ldd /usr/sbin/exim
lists the following libraries (among others of course).
libssl.so.10
libcrypto.so.10