NEIKEv2Provider Trust evaluate failure: [leaf MissingIntermediate]
Hello, I’m not an ios dev, and need some help with logs and maybe doc navigation.
Issue: I’ve set up a vpn server which works with ikev2 protocol, i used strongswan guides for that. And when for the first time connection passed successful. It was a half of year ago. But for now i have a trouble and it looks like certificate is a cause of connection failes.
As I said, I’m not an ios developer, and all that came into my mind is read my iphone's logs, and there I’ve found following strings:
<<Logs addings in output order>>
NEIKEv2Provider Trust evaluate failure: [leaf MissingIntermediate]
NEIKEv2Provider Certificate evaluation error = kSecTrustResultRecoverableTrustFailure
NEIKEv2Provider Certificate is not trusted
NEIKEv2Provider Certificate authentication data could not be verified
NEIKEv2Provider IKEv2IKESA[2.2, A4E7DFB6DA604E0B-9F9BA944C0CB16CA] state Connecting -> Disconnected error (null) -> Error Domain=NEIKEv2ErrorDomain Code=8 "Authentication: Certificate authentication data could not be verified" UserInfo={NSLocalizedDescription=Authentication: Certificate authentication data could not be verified}
NEIKEv2Provider IKEv2Session[2, A4E7DFB6DA604E0B-9F9BA944C0CB16CA] Failed to process IKE Auth (EAP) packet (connect)
<<End>>
It looks like the first log's line describes what’s wrong very well. My certificate is self signed, so obviously my trouble should be is an apple security policy updates.
Question#1: Am I right about my cert is not supposed to be trusted with new security policy?
Question#2: Can I make iphones trust my cert, and which way?
Appreciate any help, I’m suffering with that about 3 moths(((
iPhone 8 Plus