I have used GCDWebServer for an http server on iOS. However, by the end of the year https will be required. Is there another web server library compatible with https for IOS? I have no idea what is involved with a change like this.
Asked
Active
Viewed 3,079 times
4
-
1Note that this requirement is for iOS apps connecting to HTTP servers, not iOS apps running their own servers to be accessed by other machines (unless of course that other machine is an iOS device itself). – Pol Jun 15 '16 at 15:17
-
1The other problem is that even if you were to run an HTTPS web server from your iOS device, you would have to use a self-signed certificate, and these will be rejected by default by NSURLConnection and friends from other iOS devices that attempt to connect to the server. – Pol Jun 15 '16 at 15:19
-
I have a web server on one iPad and multiple iPads connecting to the single iPad. Does this situation apply? – Aron Nelson Jun 16 '16 at 21:04
-
Yes, seems like it. – Pol Jun 17 '16 at 04:40
-
I just wrote to Apple. Will see. Bummer since tons of apps will be affected. – Aron Nelson Jun 17 '16 at 07:22
1 Answers
1
This library supports https - https://github.com/robbiehanson/CocoaHTTPServer Although its old but very reliable. Our company have been using it for over 4 years and currently we are in process of switching to 'https'.

Ashok
- 6,224
- 2
- 37
- 55
-
How about SSL certificate for HTTPS? For now I'm using self signed certificate, will apple rejects the app for using self signed certificate ? – Icoder Feb 08 '18 at 11:16