Ok call me stupid but how can you have the CA server not even connected to the network, how then can it be communicated with to verify the certs?
I already said that the Basiccard devs are not prepared to develop a CSP for their card so that is out of the question.
I think the sensible thing to do would be to by another smartcard type i have the reader so do you have any suggestions on what kind of smartcard would allow for all the highest security functionality but also be easy(or relatively easy) to set up, i.e it has the CSP's avaiilable or better still windows 2003/2008 supports it by default, or even better still a card that has a clear walkthough guiade online for setting it up.
cheers
Main Topics
Browse All Topics





by: ParanormasticPosted on 2009-08-21 at 07:26:57ID: 25152121
The server that is not on the domain (preferably never connected to the network even) is the standalone root CA, installed on standard edition. You need to deploy that root cert via GPO, manual installation, or some other method to the trusted root certificate store. There will be a second CA that is online that will need to be enterprise edition OS installed as enterprise subordinate CA that is joined to the domain - this cert is signed by the root that you trusted, so the trust chain is inherited so you normally don't need to deploy this cert too, although some prefer to anyways. Virtual machines help keep the cost down a bit here.
E\Microsof t\Cryptogr aphy\Defau lts\Provid er
en-us/libr ary/aa3802 45(VS.85). aspx ki/Cryptog raphic_API
en-us/libr ary/aa3802 55(VS.85). aspx
A CSP is a "Cryptographic Service Provider". The CSP is not installed on the card - basically it is a DLL that allows the computer's OS (e.g. Windows) to communicate with the card's OS (proprietary, you'll probably never even realize it had an OS). These are listed in the registry at:
HKEY_LOCAL_MACHINE\SOFTWAR
The OS will use basically an abstraction layer called the Cryptographic API, commonly referred to as CryptoAPI, CAPI, or MS-CAPI. CAPI is a common middleware piece that the CSP and such will talk to from the bottom layer and the applications from the top layer, with CAPI in the middle. This provides common API structure for crypto calls instead of everyone having to write their own crypto libraries and plug into everyone elses.
MSCAPI was updated in Vista & 2008 to support Cryptography Next Generation (CNG). There were a lot of smartcard related changes moving from XP to Vista, this fundamental shift was generally for the better.
http://msdn.microsoft.com/
http://en.wikipedia.org/wi
For programming this stuff, you typically use a normal programming language (C++, C#, VB, etc.) and call CAPICOM or .NET for crypto related functions for the smart card and card driver to talk to CAPI when the application is looking for something (e.g. a certificate).
http://msdn.microsoft.com/
Writing a CSP can be somewhat complicated. The good news is that this is done by the smartcard manufacturer (basicard)- not you. When you install their software, the middleware is included which includes the CSP and a few other things.
Very few smartcards are natively supported by windows. It is expected that whatever vendor you get, you will need to install their middleware.
So, if you are programming something to talk to someone else's card - since most of the middleware stuff is handled by them, how do you extend your wishes and desires for your application to talk to their card when CAPICOM, .Net, and such do not fit the bill? Try contacting the vendor and see if they have a developer's toolkit - I'm not familiar with that particular company, but they probably will have one. Some companies charge for their toolkit, which is why it may not be easy to find on their support site.