How to fix ‘TIC SSL Trust Error’ in iOS?

后端 未结 5 514
星月不相逢
星月不相逢 2021-01-12 11:34

When I tried to login to the application using a webservice. I also set my plist-file like the following

I got the following error. This error

5条回答
  •  别那么骄傲
    2021-01-12 12:24

    Guides by apple developer document.

    ssl changes iOS 11 https://forums.developer.apple.com/thread/80197

    The certificate viewer also has more specific messaging. In the screenshot below you can see that a warning is displayed for the specific trust error. In this case, the error reads “This certificate cannot be verified (weak digest algorithm)” because it is signed with SHA-1.

    In some cases it's useful to connect to a server and issue it commands for testing purposes. For typical Internet protocols (HTTP, SMTP, NNTP, and so on) you can do this with the telnet tool. This does not work, however, if the protocol uses TLS. In that case your best option is the s_client subcommand of the openssl tool. Listing 1 shows how you can use this tool to manually get the contents of (remember that HTTPS uses port 443).

    Listing 1 Using openssl s_client

    $ openssl s_client -connect www.apple.com:443
    CONNECTED(00000003)
    [...]
    GET / HTTP/1.1
    Host: www.apple.com
    
    HTTP/1.1 200 OK
    Server: Apache/2.2.3 (Oracle)
    Content-Length: 9464
    Content-Type: text/html; charset=UTF-8
    ntCoent-Length: 9516
    Cache-Control: max-age=47
    Expires: Mon, 25 Jun 2012 16:18:24 GMT
    Date: Mon, 25 Jun 2012 16:17:37 GMT
    Connection: keep-alive
    
    
    
    [...]
    
    closed
    $
    

    The s_client subcommand supports a number of useful debugging options. For example:

    You can supply the -cert argument to have it respond to client certificate requests. You can specify the -showcerts option to get the complete list of certificates provided by the server. The -debug and -msg options enable low-level debugging features. See the man page for more information about these options and more.

提交回复
热议问题