Self-Signed SSL Certificate Trust from iOS App -
i building app retrieves data server. server can installed elsewhere (i have built server) , after setting correct host in app go.
now problem. trying make things secure possible, , 1 of aspects using ssl. using self-signed certificates on server side, can't accepted ios app. @ first got warning certificate not trustworthy pc running server, after found answer [1], got "https" being accepted browser (and fiddler), turns green when calling server url, working fine, pc server running.
when try call url external device, again message certificate not trustworthy (which understand because signed certificate myself, here looking way baypass that), , inside app cannot establish connection.
so, can set self-signed certificate "trustworthy" external devices? (expecting every customer buy own certificate not option.)
or, there apple-approved way accept certificate inside ios app? know can accepted changing in private api of nsurlrequest
(if interested can explain that), have been reading in case app going rejected. here looking "legal" way of accepting self-signed certificate.
[1] how create self-signed certificate domain name development?
- edit ssl.conf , comment #sslproxyverify 3 lines
- restart httpd_device
this disable ssl cert check can use self signed cert testing
Comments
Post a Comment