I have this two files (certificate.pem and private_key.pem) which provided me by the API that I use. I need to use this files to sign my http request in Swift project.
I'm able to do it with Postman. I added certificate.pem as CRT file and private_key.pem as KEY file in Add Client Certificate tab of Postman. And when I send PUT request with headers and parameters on Postman, I'm getting success message from the web server.
But when I tried all of these things in Xcode with Swift3 and Alamofire, I'm always getting error message. Could you help me how to pin this PEM files to http request please?