Solved

Client Certificates Authentication

Posted on 2004-08-04
8
239 Views
Last Modified: 2010-04-11
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:

0
Comment
Question by:vinny45
8 Comments
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 11720014
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.
0
 

Author Comment

by:vinny45
ID: 11720640
How do I find out to verify this.
0
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 11720836
Never done that before. I'd google for tools/info to dissect an X.509 cert and tell you what's inside.
0
 
LVL 23

Expert Comment

by:Tim Holman
ID: 11721104
Where did you get the cert from ?  What type of cert is it ? What client are you using, and what server ?
0
Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

 

Author Comment

by:vinny45
ID: 11721258
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
0
 

Author Comment

by:vinny45
ID: 11721686
i meant 64 base encoded certs
0
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 11722462
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.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 11729536
win2k3 should be able to show the cert's details
If it fails (I don't comment M$ tools:), then use openssl to check your cert http://www.openssl.org/
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
A simple description of email encryption using a secure portal service. This is one of the choices offered by The Email Laundry for email encryption. The other choices are pdf encryption which creates an encrypted pdf of your email and any attachmen…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now