Add support for using TLS (HTTPS)
nttravn opened this issue · 8 comments
Hello,
I wanna setup https for all connections. So how to config it?
Thanks,
Could you expand on this? How is that done using NSURLSession?
Hello,
My server is applying https for all requests from app. So I must implement https for it.
Thanks,
I'm using this with a server that uses HTTPS and I don't have problems. Could you explain what exactly your problem is?
I use this:
self.networking = Networking(baseURL: "https://api.myapp.com")
I'm sure I can find a way to add better support for this if you could share more details :)
Maybe something related to authentication challenges?
Hi 3lvis,
My server did implement TLS for HTTPS. I will apply a cer file into my project app and configure any request from app to server side for using HTTPS.
I did implement this with Alamofire:
How to config path to cer file when we use:
self.networking` = Networking(baseURL: "https://api.myapp.com")
Thanks 3lvis :)
@nttravn Thanks for that! Right now we don't have support for that but I see how it could be useful. I'll try to add it when I got some more time, meanwhile feel free to implement it yourself, sounds like a nice programming excessive to learn more about NSURLSession.
Thanks 3lvis :).
Have a nice day.