Comments (9)
我把本地的localhost设置为127.0.0.1可以了.
from ios-udid-safari.
profile use https url
from ios-udid-safari.
Didn't help, getting error
An ssl error has occurred and a secure connection to the server cannot be made.
(ATS flag in plist is still there)
from ios-udid-safari.
+1
from ios-udid-safari.
@pwlkania How did you solve it?
from ios-udid-safari.
原来是服务器配置的证书不对,苹果要求是TLS1.2,服务端配置是TLS1.0
from ios-udid-safari.
Not really. I used this https://github.com/hunk/get-UDID
However on iOS 12 additionally you have to sign the .mobileconfig file. I achieved it by using one of my valid distribution cert from apple developer account.
You can check available certs by entering this command in terminal:
/usr/bin/security find-identity -p codesigning -v
and later sing the device.mobileconfig file
/usr/bin/security cms -S -N "Mac Developer Application" -i /path/to/your.mobileconfig -o /path/to/your/signed/output.mobileconfig
once you done it, use signed device.mobileconfig instead of the old one.
One more thing, if you want to use your own server (by changing URL in device.mobileconfig) make sure you have valid ssl certificate (looks like self-signed is not an option).
Good luck & have fun maybe you will figure out how to fix this repo
from ios-udid-safari.
原来是服务器配置的证书不对,苹果要求是TLS1.2,服务端配置是TLS1.0
是服务器配置的证书不对吗,但是我们要是本地的话是不是有问题
from ios-udid-safari.
https证书不是必须的,后端的重定向如果不正确也会提示ats错误。重定向一定要使用301重定向,有些重定向默认是302重定向,
response.setStatus(301); //301之后iOS设备会自动打开safari浏览器
response.setHeader("Location", "http://192.168.1.106:8080/udid.jsp?UDID="+udid);
from ios-udid-safari.
Related Issues (14)
- 描述文件安装失败,无法与服务器建立连接。 HOT 3
- 下载时点允许下载后,弹出Safari无法安装描述文件,因为出现了一个未知错误 HOT 1
- 读取返回的XML乱码 HOT 3
- 怎么做到下载完描述文件自动弹道安装描述文件的地方 HOT 1
- iUD
- I
- hi
- 如何验证请求是否由苹果设备系统发出 HOT 8
- get raw failed in ios 11.1.2 HOT 7
- 越界崩溃
- 描述文件安装失败,无法与服务器建立连接。 HOT 14
- 安装提示无效的描述文件 HOT 17
- 描述文件签名 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-udid-safari.