Fix TLS certificate validation
Fix TLS certificate validation

- Fixes certificate error on macOS
- Disallows valid certificates with non-matching fingerprint

codilime/veles,codilime/veles,codilime/veles