SSL Certificates - Follow Up Question


I’m using your software in order to act as a Service Provider.

I sent the Identity Provider our public key as a certificate file (.cer) however they in turn sent their public key as a key file (.key?)

Can this be used or do I need to ask them for a .cer file? (Excuse my ignorance)

Thanks in advance

We use the .NET X509Certificate2 class to load X.509 certificates and this class doesn’t support .key files.
You could use something like openssl to convert the .key file into a base-64 encoded .cer file.
Alternatively, I recommend asking them to supply the base-64 encoded .cer file.

Many thanks, much appreciated.