-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS app with HTTPS server - Will Apple reject the in appstore approval? #190
Comments
Anyone have the answer for this. |
did anyone get the answer for this ?? |
Yes. The sample app which uses the above method to set up HTTP server in the mobile side got approved in the appstore review process. |
just curious to know if other device on other network can communicate with ios app with https server ?? |
YES
But you will need to accept the certificate if self signed.
… On Jan 17, 2019, at 11:36 AM, asinghxav ***@***.***> wrote:
just curious to know if other device on other network can communicate with ios app with https server ??
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#190 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAYN1acxOk7zMPLphFueLrJYcRM_VwTUks5vEKaXgaJpZM4R_cEx>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to create an HTTPS server using https://github.com/robbiehanson/CocoaHTTPServer/tree/master/Samples/iPhoneHTTPServer
I faced the certificate issue while setting up HTTP'S' in iOS and I have resolved as below but I want to know it will not be rejected in the Appstore.
Created an SSL certificate using keychain access
That is successfully added in the keychain
I explicitly marked that certificate as trusted one fro this account so I can see the plus symbol on that certificate
I exported this certificate from keychain and named as TestCertificate.p12 and included in the app’s bundle
I have made the changes in the code as below to mentioned this as secured server
Changed the method to provide the certificate
**/
Changed this method to provide the certificate for the secured connection which is available in the app’s bundle named “TestCertificate”
When the HTTPS server is started the certificate will be used as below
> Does Apple reject the app which runs an HTTPS server inside of the application?
> If Apple doesn’t reject then can I use the COCOAHTTPServer library
> In the above implementation, Whether the SSL certificate enough for production?
> If not, then can I use any development/ Appstore certificate created from member centre?
The text was updated successfully, but these errors were encountered: