SSL_CTX_set_current_cert
rv = SSL_CTX_set_current_cert(ctx, SSL_CERT_SET_FIRST);
rv = SSL_CTX_set_current_cert(ctx, SSL_CERT_SET_NEXT);