I would like to capture TLS handshakes coming from Android. I was able to install a certificate using this instruction, then I started a server:
openssl s_server -key my_site.key -cert my_site.crt -msg
and I set a proxy in the Android Emulator:
but if I browse to any pages on the Android device, I get this result:
and this result in OpenSSL:
<<< ??? [length 0005] 43 4f 4e 4e 45 ERROR 24500:error:1408F09B:SSL routines:ssl3_get_record:https proxy request:../ openssl-1.1.1l/ssl/record/ssl3_record.c:325: shutting down SSL CONNECTION CLOSED
What am I doing wrong?