As I understand to get the server certificate for a SSLClient request I can use set_server_certificate_verifier and use my own function but I must then redo all the server certificate validation that is normally done inside the lib.
Is there another way?