Project

General

Profile

Requirements for certificates used with Windows 7 » History » Version 2

Martin Willi, 07.05.2009 14:01

1 1 Martin Willi
h1. Requirements for certificates used with Windows 7
2 1 Martin Willi
3 1 Martin Willi
The Windows 7 Beta release was liberal in accepting certificates, but the Release Candidate adds new requirements to the used certificates. 
4 1 Martin Willi
5 1 Martin Willi
h2. Required fields
6 1 Martin Willi
7 1 Martin Willi
Your Gateway certificate must have:
8 1 Martin Willi
9 1 Martin Willi
* An _Extended Key Usage Flag_, expilicitly allowing the certificate to be used for authentication purposes. It is currently unclear which OIDs are accepted by Windows, but it seems that the _ServerAuth_ OID (_1.3.6.1.5.5.7.3.1_, often called _TLS Web server authentication_) gets accepted.
10 1 Martin Willi
11 1 Martin Willi
* The Gateway Hostname entered in the clients connection properties MUST be contained in the _Distinguished Name_ of the certificate or in a _subjectAltName_.
12 1 Martin Willi
13 1 Martin Willi
h2. Disabling extended certificate checks
14 1 Martin Willi
15 1 Martin Willi
Alternatively, you may disable these extended certificate checks on the client. 
16 1 Martin Willi
17 1 Martin Willi
> *This is potentially dangerous, as any certificate holder assured by your CA may act as the VPN gateway.*
18 1 Martin Willi
19 1 Martin Willi
To disable the extended checks, add a _DWORD_ called _DisableIKENameEkuCheck_ to
20 1 Martin Willi
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RasMan\Parameters\
21 1 Martin Willi
in the clients Registry.
22 1 Martin Willi
23 2 Martin Willi
h2. Futher information
24 1 Martin Willi
25 1 Martin Willi
For more details about the requirements and other ways to disable the certificate checks, have a look to "this knowledge base article":http://support.microsoft.com/kb/926182.