Link to home
Start Free TrialLog in
Avatar of vinny45
vinny45

asked on

Client Certificates Authentication

Does anyone know what this means and how to fix it.  I'm using a client certificate to call a server and I get this response:

No common name contained in certificate distinguished name -
Common name not found in distinguished name:

Avatar of chris_calabrese
chris_calabrese

The distinguished name, or DN, is the thing that looks something like
<myname>.<mycompany>.<mycountry> (chris_calabrese.mycompany.us)

The common name, or CN, is a short "handle" that usually gets used in practice to refer to the certificate (probably chris_calabrese in the above).

Sounds like your certificates don't have the CN field filled in.
Avatar of vinny45

ASKER

How do I find out to verify this.
Never done that before. I'd google for tools/info to dissect an X.509 cert and tell you what's inside.
Avatar of Tim Holman
Where did you get the cert from ?  What type of cert is it ? What client are you using, and what server ?
Avatar of vinny45

ASKER

its an intuit(quickbooks)signed client certificate. I'm using an asp.net application as a client to connect to a server. So I have Window 2003 Server with the client Cert installed into the Local_machine\personal store. I exported a DER encoded binary file without the private keys so my asp.net application can use it using the x509Certificate class and httpWebRequest class to send the data and cert to an Intuit server which i believe uses some open source machine(openssl to read the cert or something i think)

what do you think.

btw. Intuit asked for a 64 base version of my cert to test with and it worked fine, but in my asp.net app i use the DER version. Is it possible that their server cannot read my Cert because of the format. btw .net does not support 64 Base encoded files

hopefully i make sense
Avatar of vinny45

ASKER

i meant 64 base encoded certs
I doubt it's the encoding. However, if the cert comes from intuit, it's possible that they don't provide a CN in their cert's. It wouldn't be a problem for their own apps since they probably map the DN to the account.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial