SSL on iOS

When I try make HTTP Request on iOS I receive below error. Request URL is HTTPS and has self-signed SSL certificate. What am I doing wrong?


[2015.11.25-00.51.12:876][490]LogHttp:Warning: didFailWithError. Http request failed - An SSL error has occurred and a secure connection to the server cannot be made.