Connection Issue using PEM Certificates with .NET

Hi Everyone. I am new to using Confluent.Kafka and I have to connect to a Kafka instance at work using a .Net Client with PEM certificates. However when I do, the debug logs look like they immediately shut down the connection without doing an SSL handshake. The Kafka topic that I am trying to connect to works for other teams that work in a Java environment and use truthstore and keystore jks files. What am I doing wrong?

Here is the config set up:

var kafkaConfig = new Dictionary<string, string>
{
    { "bootstrap.servers", "<path>:16721"  },
    { "ssl.ca.location", "<path>\\ca.crt" },
    { "ssl.certificate.location", "<path>\\cert.pem" },
    { "ssl.key.location", "<path>\\key.pem" },
    { "ssl.key.password", "********"},
    { "security.protocol", "SSL"},
    { "enable.ssl.certificate.verification", "false" },
    { "debug", "all" }
};

Here is the debug info where it tries to connect:
%7|1713458160.177|FAIL|rdkafka#producer-1| [thrd:ssl://]: ssl://:16721/bootstrap: Connect to ipv4#:16721 failed: Unknown error (after 117ms in state CONNECT) (_TRANSPORT)

It then tells me Broker changed state CONNECT → DOWN.

Any help would be appreciated.