[REST API] Certificate Validation for Secured Servers