Best way for verifying server compliance to Apple's ATS / TLS 1.2 requirement

前端 未结 4 696
隐瞒了意图╮
隐瞒了意图╮ 2021-01-04 00:43

So Apple requires TLS 1.2 with Forward Secrecy for URLs beginning iOS 9. Independent of the app, what\'s the best way to verify that a server meets all the requirements?

4条回答
  •  花落未央
    2021-01-04 01:35

    Using nscurl (available in macOS El Capitan and higher), you can use the --ats-tls-version switch to test specifically for TLS 1.2 compliance, e.g.:

    nscurl --ats-diagnostics --ats-tls-version TLSv1.2

    This will also test for Perfect Forward Secrecy. If you want to disable testing for PFS, use the --ats-disable-pfs switch.

    nscurl --ats-diagnostics --ats-tls-version TLSv1.2 --ats-disable-pfs

提交回复
热议问题