I'm new at security/certificates, etc, and am trying to understand how to establish an https session from iOS using mutual TLS. Everything I am finding so far is related to PKS12 certificates. In my case, the certificates I receive are in PEM format
During the login sequence, an RSA2048 keypair is generated and stored in the keychain, and a CSR is generated. The CSR, username, password is sent to an authorization server.
On successful authentication, a PEM file is returned that contains a client cert and a CA cert
The PEM is converted to DER format, SecCertificates are created, trust successfully evaluated, and both certificates are stored in the keychain
So, now I have these two certificates, and the keypair used to sign the CSR