Xcode Server CI builds fail to install with iOS 7.1 -
we have our xcode server set our ci build.
when trying download builds on device greeted 'cannot connect server.local' when visited on ssl.
when try download on http created 'cannot install application because certificate server.local not valid'
i believe the ssl validation ota downloads within ios 7.1 using self assigned certificate.
is bug or limitation of xcode server. need certificate not self assigned?
thanks
dan
your best solution create custom ca , install on device , create certificate specific domain , install on xcode server.
first create ca.
openssl genrsa -out custom-ca.key 2048 openssl req -x509 -new -key custom-ca.key -out custom-ca.cer -days 730 -subj /cn="company name certificate authority" now need create certificate signed above authority.
important: server.local should replaced whatever host name of machine (the original question using server.local). ip addresses not work.
openssl genrsa -out xcode-server.key 2048 openssl req -new -out xcode-server.req -key xcode-server.key -subj /cn=server.local openssl x509 -req -in xcode-server.req -out xcode-server.cer -cakey custom-ca.key -ca custom-ca.cer -days 730 -cacreateserial -caserial xcode-server_serial.txt you need install custom-ca.cer on devices want use server. easiest way email custom-ca.cer devices.
in os x server need import custom-ca.cer, xcode-server.key , xcode-server.cer , use server.local certificate servers ssl certificate.
(info guide)
e.g. if machine host name xcodeserver.companyname.com put /cn=xcodeserver.companyname.com
Comments
Post a Comment