a client send data to a server over a ssl-encrypted connection. i want to know which certificates are used. (server want a client-certificate)
to got the server certificate with:
openssl s_client -connect 192.168.254.208:40004 </dev/null 2>/dev/null | openssl x509 -outform PEM > cert.pem
but how to get the client-cert?
ist this possible with openssl s_server?
or can I use a simple python ssl-socket? (i have access to the certificates and keys from the server.) I only want to know which certificate the client sends.