Enabling Single and Mutual SSL Authentication

Secure sockets layer (SSL) is a protocol that governs certificate authentication. It exchanges the certificate information. SSL also encrypts all information that flows between a client and a server.

In single SSL connection, the client needs to trust the server certificate. This can be done one of the three ways:

In mutual SSL connection, two parties authenticate each other through verifying the provided digital certificate (P12), so that both parties are assured of the others' identity.

For the mutual SSL to be established, the server sends the certificate that is accepted on the client side in the -(void) onCertificateChallenge:(NSString*)certInfo delegate. The client sends the user certificate that should be authenticated by the server using onClientCertificateChallenge callback.

Examples