Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Verbosity in boost asio using ssl

Is there a way to make ssl handshake more visible to me using boost asio? I am getting an error: "asio.ssl error". I just want more verbosity, because this message means almost nothing to me.

like image 924
coelhudo Avatar asked Oct 18 '25 13:10

coelhudo


1 Answers

I found that boost.asio with ssl use openssl.

I just need to recompile the libssl with debug flags to make ssl handshake process more verbose. I can do this just reconfiguring with './config -DKSSL_DEBUG'.

In the boost documentation I found no way to control the verbosity level.

like image 132
coelhudo Avatar answered Oct 20 '25 03:10

coelhudo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!