I'm developing a small app which communicates with a backend on my server.
In order to make sure that the app does indeed communicate with my server and not to someone else, I'm trying to implement a check on the fingerprint of the ssl certificate of the server.
Now with TFPHttpClient I can pretty easily access the server and send https requests, but I get no info about the cert itself. It even accepts self signed certs.
Is there a way to check the certificate of the server?