在mac上通过terminal检查URL是否满足苹果ATS要求
来源:互联网 发布:淘宝女装top1 编辑:程序博客网 时间:2024/05/17 02:49
在终端运行如下命令,可以检查服务器证书配置是否满足ATS要求。
nscurl --ats-diagnostics --verbose https://www.example.org:5432
通过的示例:
Starting ATS DiagnosticsConfiguring ATS Info.plist keys and displaying the result of HTTPS loads to https://www.example.org:8002.A test will "PASS" if URLSession:task:didCompleteWithError: returns a nil error.================================================================================Default ATS Secure Connection---ATS Default ConnectionATS Dictionary:{}Result : PASS---================================================================================Allowing Arbitrary Loads---Allow All LoadsATS Dictionary:{ NSAllowsArbitraryLoads = true;}Result : PASS---================================================================================Configuring TLS exceptions for www.example.org---TLSv1.2ATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionMinimumTLSVersion = "TLSv1.2"; }; };}Result : PASS------TLSv1.1ATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionMinimumTLSVersion = "TLSv1.1"; }; };}Result : PASS------TLSv1.0ATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionMinimumTLSVersion = "TLSv1.0"; }; };}Result : PASS---================================================================================Configuring PFS exceptions for www.example.org---Disabling Perfect Forward SecrecyATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionRequiresForwardSecrecy = false; }; };}Result : PASS---================================================================================Configuring PFS exceptions and allowing insecure HTTP for www.example.org---Disabling Perfect Forward Secrecy and Allowing Insecure HTTPATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionAllowsInsecureHTTPLoads = true; NSExceptionRequiresForwardSecrecy = false; }; };}Result : PASS---================================================================================Configuring TLS exceptions with PFS disabled for www.example.org---TLSv1.2 with PFS disabledATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionMinimumTLSVersion = "TLSv1.2"; NSExceptionRequiresForwardSecrecy = false; }; };}Result : PASS------TLSv1.1 with PFS disabledATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionMinimumTLSVersion = "TLSv1.1"; NSExceptionRequiresForwardSecrecy = false; }; };}Result : PASS------TLSv1.0 with PFS disabledATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionMinimumTLSVersion = "TLSv1.0"; NSExceptionRequiresForwardSecrecy = false; }; };}Result : PASS---================================================================================Configuring TLS exceptions with PFS disabled and insecure HTTP allowed for www.example.org---TLSv1.2 with PFS disabled and insecure HTTP allowedATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionAllowsInsecureHTTPLoads = true; NSExceptionMinimumTLSVersion = "TLSv1.2"; NSExceptionRequiresForwardSecrecy = false; }; };}Result : PASS------TLSv1.1 with PFS disabled and insecure HTTP allowedATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionAllowsInsecureHTTPLoads = true; NSExceptionMinimumTLSVersion = "TLSv1.1"; NSExceptionRequiresForwardSecrecy = false; }; };}Result : PASS------TLSv1.0 with PFS disabled and insecure HTTP allowedATS Dictionary:{ NSExceptionDomains = { "www.example.org" = { NSExceptionAllowsInsecureHTTPLoads = true; NSExceptionMinimumTLSVersion = "TLSv1.0"; NSExceptionRequiresForwardSecrecy = false; }; };}Result : PASS---================================================================================
阅读全文
0 0
- 在mac上通过terminal检查URL是否满足苹果ATS要求
- 在Mac的Terminal 上运行Java
- 在mac下通过Terminal修改host文件
- 要求通过键盘输入两个整数、检查输入整数是否符合要求,并计算出其最大公约数。
- 苹果ATS
- 检查url是否可用
- 通过键盘输入两个整数、检查输入整数是否符合要求,并计算出其最大公约数。
- 通过键盘输入两个整数、检查输入整数是否符合要求,并计算出其最大公约数。
- 如何在每个迭代中满足安全性要求?
- appium搭建及要求---在 Mac 上配置 Appium
- Java检查URL是否有效
- php检查URL是否有效
- safari检查 url是否可用
- 在mac上通过Homebrew安装redis
- 在mac上通过Homebrew安装redis
- 在mac上通过Homebrew安装redis
- 在mac上通过Homebrew安装redis
- 在程序中检查黑莓wifi是否连上
- 【Android】 设置App字体不跟随系统字体改变
- TCP三次握手过程,如果两次握手会怎么样?
- python(四)
- 腾讯云分布式数据库DCDB发布,解决容量、并发、扩展等难题
- js对 select 的各种处理
- 在mac上通过terminal检查URL是否满足苹果ATS要求
- JavaWeb 解决超链接参数中文乱码问题
- CoAP学习笔记——CoAP格式详解
- scala把序列分解成子集(group by,partition)
- Struts2中EL表达式的取值顺序及OGNL表达式的取值顺序
- [较难] UVa OJ 714 Copying books
- Android 高清加载巨图方案 拒绝压缩图片
- SOFT_START and HOLD_AUTO_START方式
- 笔记--事件