Pass through the certificate mode correctly.