Skip to contentSkip to conversation

Need testers

Openvpn-devel Alon Bar-Lev 2 participants 11 messages Oct 18, 2008 – Oct 19, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]...

#1 lore raw

Oh!
Thanks!!!!
I feared I had to install Windows again :)

So now everything should be fine... you should be able to check the chain validation...
1. Without trusted CA in store.
2. Without CRL in store.
3. With CRL but with certificate revoked.

Alon.

Quoted 228 lines · Dave

Sorry, I lied. Success! I somehow failed to copy the openvpn.exe over.
Attached herewith is the log.

Quoted 221 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 3:19 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'
Subject: RE: [Openvpn-devel] [MSCAPI] Need testers

Alas, the same.

Quoted 44 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 2:31 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Thank you for your time!
Last time... If we don't make any progress I will install Windows setup when I have some free time. The problem is may be due to RSA_FLAG_SIGN_VER flag that should be set on the RSA and not the method. Can you please test [1]?

Alon.

[1] http://alon.barlev.googlepages.com/openvpn-mscapi-test-7.tar.bz2

Quoted 5 lines · Dave

Nope, still crashes.

Application Event Log reveals:

Faulting application openvpn.exe, version 0.0.0.0,

faulting module

Quoted 3 lines

libeay32.dll, version 0.9.9.0, fault address 0x0005c4c5.

I suppose there's no debug info in the MinGW build -- I

can attach a

Quoted 1 line

debugger when it crashes and could see the source if there

was debug

Quoted 4 lines

info. Invariably something about my config triggers some boundary case.

When testing only with cryptoapicert, the failure occurs

also, and is

Quoted 8 lines

logged as having had happened at the same location.

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Quoted 9 lines
Quoted 7 lines
Quoted 7 lines

Sent: Saturday, October 18, 2008 1:51 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I cannot see what is wrong, what exactly crashes? Do you

have > an

Quoted 1 line

entry in event log?, I recompiled everything at [1], I

may > had a

Quoted 40 lines
Quoted 5 lines

problem with the libraries. Can you please test only > with cryptoapicert and see if it changes something? >

Quoted 3 lines

Thanks!

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-6.tar.bz2

Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

A little bit further, though now it crashes for me

using all the

Quoted 30 lines
Quoted 1 line
Quoted 1 line

binaries you included in your bz file. Log attached >

herewith in case > > that helps locate the area affected.

Quoted 28 lines
Quoted 28 lines

-Dave

Quoted 23 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 1:01 PM
To: Dave
Cc: openvpn devel

Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Thank you for testing!

Found the problem... CryptoAPI cannot validate root certificate... OK, can you please test [1]?

I also renamed the option from cryptoapica to cryptoapi-chain-validation, I think it is clearer.

Thanks!
Alon.

[1]

Quoted 10 lines

http://alon.barlev.googlepages.com/openvpn-mscapi-test-5.tar.bz2

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

attached herewith is the log of the (failed)

attempt(s) to connect.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Certs are all OK as far as I can tell (no red X

overlaid).

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

This CA cert I created some years back with

easy-RSA. >

Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line

These days I > > > > now manage my CA with XCA off a USB

key, but I imported > > > that CA cert

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

rather than rebuilding the PKI.

Your CRL/OCSP suggestion is interesting, though of

course that's

Quoted 1 line
Quoted 1 line
Quoted 1 line

Windows only (my servers are all Linux).

Actually I was

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

hoping for

Quoted 1 line

an extension of the OCSP patch that was

submitted about a

Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

year ago,

Quoted 1 line

but maybe that is a task for me to do! Then it would

be general

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

across Windows/Linux. I have not used the extensions

before, and I

Quoted 1 line

would love it if you had an example cert with

the CDP or OCSP

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extensions filled out so I can use that as a

reference >

Quoted 6 lines
Quoted 6 lines

to proper > > > > form. My OCSP responder also runs on Linux, rather > than Windows.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

-Dave

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

...

Quoted 5 lines

Thank you for your tests!

Your configuration is correct.

Can you please double click the certificate

at the MMC,

Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

and > see

Quoted 1 line

if it marked "OK"? If there is an error then there is

probably

Quoted 2 lines
Quoted 2 lines

something wrong with CA location or CRL fetch. >

Quoted 1 line

How did you enroll your certificate? If you

did this via

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

microsoft CA, you have CDP (CRL distribution

point) X.509

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extension that is used by Windows to

automatically >

Quoted 7 lines
Quoted 1 line

fetch your > > > > > CRL. If you got OCSP responder which is

integrated with CAPI

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

on your machine it will also work in this

configuration.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I added some more debugging information.
Please run the new version [1] with verb

255. > > > >

Quoted 10 lines
Quoted 7 lines
Quoted 7 lines

Thanks! > > > >

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

...

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the Moblin Your

Move > >

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

Developer's challenge Build the coolest Linux based > > >

applications with Moblin SDK & win great prizes Grand >

prize > is

Quoted 1 line
Quoted 1 line

a > > trip for two to an Open Source event anywhere in

the  > world
> >  > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >  > >  > _______________________________________________
> >  > >  > Openvpn-devel mailing list
> >  > >  > [email protected]
> >  > >  > https://lists.sourceforge.net/lists/listinfo/openvpn-devel
> >  > >  >
> >  > >
> >  > >
> >  >
> >  > --------------------------------------------------------------
> >  > -----------
> >  > This SF.Net email is sponsored by the Moblin Your Move
> >  > Developer's challenge Build the coolest Linux based
> >  > applications with Moblin SDK & win great prizes Grand prize
> >  > is a trip for two to an Open Source event anywhere in the
> >  > world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 20 lines
Quoted 7 lines
Quoted 5 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw

OK better but not perfect:

1)  missing CA in trusted roots:  fails to verify; good
2)  missing CRL:  FAILS TO VERIFY; BAD
3)  CRL with revoked cert:  fails to verify, good

3.bis) CRL _without_ revoked cert: verifies, good

so it seems the coup-de-grace would be to make the absence of the CRL act like nothing is revoked, or add some options/parameters, maybe like:

cryptoapi-chain-validation require-crl-present

I'd still like to see an example of a well-formed value for CDP, and Authority Info Access extension so I can re-issue my CA cert and test the hypothetical CAPI built-in OCSP/CRL checking....

-Dave

Quoted 264 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 3:29 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Oh!
Thanks!!!!
I feared I had to install Windows again :)

So now everything should be fine... you should be able to check the chain validation... 1. Without trusted CA in store.
2. Without CRL in store. 3. With CRL but with certificate revoked.

Alon.

Quoted 23 lines · Dave

Sorry, I lied. Success! I somehow failed to copy the openvpn.exe over. Attached herewith is the log.

Quoted 18 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 3:19 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'
Subject: RE: [Openvpn-devel] [MSCAPI] Need testers

Alas, the same.

Quoted 8 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 2:31 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

Thank you for your time!
Last time... If we don't make any progress I will install > >

Windows setup when I have some free time. The problem is

may > > be

Quoted 6 lines

due to RSA_FLAG_SIGN_VER flag that should be set on the > RSA and
not the method. Can you please test [1]? > >

Quoted 3 lines
Quoted 3 lines

Alon.

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-7.tar.bz2

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Dave
Quoted 5 lines

Nope, still crashes.

Application Event Log reveals:

Faulting application openvpn.exe, version 0.0.0.0,

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

faulting module

Quoted 3 lines

libeay32.dll, version 0.9.9.0, fault address 0x0005c4c5.

I suppose there's no debug info in the MinGW build -- I

can attach a

Quoted 1 line

debugger when it crashes and could see the source if there

was debug

Quoted 1 line

info. Invariably something about my config triggers

some boundary

Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Quoted 3 lines

case.

When testing only with cryptoapicert, the failure occurs

also, and is

Quoted 15 lines

logged as having had happened at the same location.

-Dave

Quoted 10 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 1:51 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I cannot see what is wrong, what exactly crashes? Do you

have > an

Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line

entry in event log?, I recompiled everything at [1], I

may > had a

Quoted 6 lines
Quoted 5 lines

problem with the libraries. Can you please test only > with cryptoapicert and see if it changes something? >

Quoted 3 lines

Thanks!

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-6.tar.bz2

Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

A little bit further, though now it crashes for me

using all the

Quoted 25 lines
Quoted 1 line
Quoted 1 line

binaries you included in your bz file. Log attached >

herewith in case > > that helps locate the area affected.

Quoted 23 lines
Quoted 23 lines

-Dave

Quoted 19 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 1:01 PM
To: Dave
Cc: openvpn devel

Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Thank you for testing!

Found the problem... CryptoAPI cannot validate root certificate... OK, can you please test [1]?

I also renamed the option from cryptoapica to cryptoapi-chain-validation, I think it is clearer.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

Thanks!
Alon.

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-5.tar.bz2

Quoted 11 lines
Quoted 11 lines
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

attached herewith is the log of the (failed)

attempt(s) to connect.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Certs are all OK as far as I can tell (no red X

overlaid).

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

This CA cert I created some years back with

easy-RSA. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

These days I > > > > now manage my CA with

XCA off a USB

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

key, but I imported > > > that CA cert

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

rather than rebuilding the PKI.

Your CRL/OCSP suggestion is interesting, though of

course that's

Quoted 1 line
Quoted 1 line
Quoted 1 line

Windows only (my servers are all Linux).

Quoted 6 lines
Quoted 6 lines

Actually I was

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

hoping for

Quoted 1 line

an extension of the OCSP patch that was

submitted about a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

year ago,

Quoted 1 line

but maybe that is a task for me to do!

Then it would

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

be general

Quoted 1 line
Quoted 1 line
Quoted 1 line

across Windows/Linux. I have not used

the extensions

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

before, and I

Quoted 1 line

would love it if you had an example cert with

the CDP or OCSP

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extensions filled out so I can use that as a

reference >

Quoted 1 line
Quoted 1 line

to proper > > > > form. My OCSP responder also

runs on Linux,

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

rather > than Windows.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

...

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Thank you for your tests!

Your configuration is correct.

Can you please double click the certificate

at the MMC,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

and > see

Quoted 1 line

if it marked "OK"? If there is an error

then there is

Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

probably

Quoted 2 lines
Quoted 2 lines

something wrong with CA location or CRL fetch. >

Quoted 1 line

How did you enroll your certificate? If you

did this via

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

microsoft CA, you have CDP (CRL distribution

point) X.509

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extension that is used by Windows to

automatically >

Quoted 1 line
Quoted 1 line

fetch your > > > > > CRL. If you got OCSP

responder which is

Quoted 17 lines
Quoted 17 lines
Quoted 6 lines

integrated with CAPI

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

on your machine it will also work in this

configuration.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I added some more debugging information.
Please run the new version [1] with verb

255. > > > >

Quoted 10 lines
Quoted 7 lines
Quoted 7 lines

Thanks! > > > >

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

...

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the Moblin Your

Quoted 7 lines
Quoted 7 lines

Move > >

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

Developer's challenge Build the coolest Linux based > > >

applications with Moblin SDK & win great prizes Grand >

prize > is

Quoted 1 line
Quoted 1 line

a > > trip for two to an Open Source event anywhere in

the > world

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

--------------------------------------------------------------

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize

Quoted 11 lines
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 8 lines
Quoted 7 lines
Quoted 5 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#3 lore raw

I think that missing CRL should fail. This is how MS is working. There is no point in PKI without CRL...
If you want to do something other you can use the CTL feature of CAPI.

Thanks for testing!!!
Alon.

Quoted 286 lines · Dave

OK better but not perfect:

 1)  missing CA in trusted roots:  fails to verify; good
 2)  missing CRL:  FAILS TO VERIFY; BAD
 3)  CRL with revoked cert:  fails to verify, good

3.bis) CRL _without_ revoked cert: verifies, good

so it seems the coup-de-grace would be to make the absence of the CRL act like nothing is revoked, or add some options/parameters, maybe like:

cryptoapi-chain-validation require-crl-present

I'd still like to see an example of a well-formed value for CDP, and Authority Info Access extension so I can re-issue my CA cert and test the hypothetical CAPI built-in OCSP/CRL checking....

-Dave

Quoted 265 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 3:29 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Oh!
Thanks!!!!
I feared I had to install Windows again :)

So now everything should be fine... you should be able to check the chain validation... 1. Without trusted CA in store.
2. Without CRL in store. 3. With CRL but with certificate revoked.

Alon.

Quoted 23 lines · Dave

Sorry, I lied. Success! I somehow failed to copy the openvpn.exe over. Attached herewith is the log.

Quoted 18 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 3:19 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'
Subject: RE: [Openvpn-devel] [MSCAPI] Need testers

Alas, the same.

Quoted 8 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 2:31 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

Thank you for your time!
Last time... If we don't make any progress I will install > >

Windows setup when I have some free time. The problem is

may > > be

Quoted 6 lines

due to RSA_FLAG_SIGN_VER flag that should be set on the > RSA and
not the method. Can you please test [1]? > >

Quoted 3 lines
Quoted 3 lines

Alon.

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-7.tar.bz2

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Dave
Quoted 5 lines

Nope, still crashes.

Application Event Log reveals:

Faulting application openvpn.exe, version 0.0.0.0,

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

faulting module

Quoted 3 lines

libeay32.dll, version 0.9.9.0, fault address 0x0005c4c5.

I suppose there's no debug info in the MinGW build -- I

can attach a

Quoted 1 line

debugger when it crashes and could see the source if there

was debug

Quoted 1 line

info. Invariably something about my config triggers

some boundary

Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Quoted 3 lines

case.

When testing only with cryptoapicert, the failure occurs

also, and is

Quoted 15 lines

logged as having had happened at the same location.

-Dave

Quoted 10 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 1:51 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I cannot see what is wrong, what exactly crashes? Do you

have > an

Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line

entry in event log?, I recompiled everything at [1], I

may > had a

Quoted 6 lines
Quoted 5 lines

problem with the libraries. Can you please test only > with cryptoapicert and see if it changes something? >

Quoted 3 lines

Thanks!

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-6.tar.bz2

Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

A little bit further, though now it crashes for me

using all the

Quoted 25 lines
Quoted 1 line
Quoted 1 line

binaries you included in your bz file. Log attached >

herewith in case > > that helps locate the area affected.

Quoted 23 lines
Quoted 23 lines

-Dave

Quoted 19 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 1:01 PM
To: Dave
Cc: openvpn devel

Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Thank you for testing!

Found the problem... CryptoAPI cannot validate root certificate... OK, can you please test [1]?

I also renamed the option from cryptoapica to cryptoapi-chain-validation, I think it is clearer.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

Thanks!
Alon.

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-5.tar.bz2

Quoted 11 lines
Quoted 11 lines
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

attached herewith is the log of the (failed)

attempt(s) to connect.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Certs are all OK as far as I can tell (no red X

overlaid).

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

This CA cert I created some years back with

easy-RSA. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

These days I > > > > now manage my CA with

XCA off a USB

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

key, but I imported > > > that CA cert

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

rather than rebuilding the PKI.

Your CRL/OCSP suggestion is interesting, though of

course that's

Quoted 1 line
Quoted 1 line
Quoted 1 line

Windows only (my servers are all Linux).

Quoted 6 lines
Quoted 6 lines

Actually I was

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

hoping for

Quoted 1 line

an extension of the OCSP patch that was

submitted about a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

year ago,

Quoted 1 line

but maybe that is a task for me to do!

Then it would

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

be general

Quoted 1 line
Quoted 1 line
Quoted 1 line

across Windows/Linux. I have not used

the extensions

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

before, and I

Quoted 1 line

would love it if you had an example cert with

the CDP or OCSP

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extensions filled out so I can use that as a

reference >

Quoted 1 line
Quoted 1 line

to proper > > > > form. My OCSP responder also

runs on Linux,

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

rather > than Windows.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

...

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Thank you for your tests!

Your configuration is correct.

Can you please double click the certificate

at the MMC,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

and > see

Quoted 1 line

if it marked "OK"? If there is an error

then there is

Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

probably

Quoted 2 lines
Quoted 2 lines

something wrong with CA location or CRL fetch. >

Quoted 1 line

How did you enroll your certificate? If you

did this via

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

microsoft CA, you have CDP (CRL distribution

point) X.509

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extension that is used by Windows to

automatically >

Quoted 1 line
Quoted 1 line

fetch your > > > > > CRL. If you got OCSP

responder which is

Quoted 17 lines
Quoted 17 lines
Quoted 6 lines

integrated with CAPI

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

on your machine it will also work in this

configuration.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I added some more debugging information.
Please run the new version [1] with verb

255. > > > >

Quoted 10 lines
Quoted 7 lines
Quoted 7 lines

Thanks! > > > >

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

...

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the Moblin Your

Quoted 7 lines
Quoted 7 lines

Move > >

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

Developer's challenge Build the coolest Linux based > > >

applications with Moblin SDK & win great prizes Grand >

prize > is

Quoted 1 line
Quoted 1 line

a > > trip for two to an Open Source event anywhere in

the > world

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

--------------------------------------------------------------

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize

Quoted 11 lines
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 8 lines
Quoted 7 lines
Quoted 5 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#4 lore raw

I would tend to disagree. The only CRLs in my store are the one I added, and an ancient Verisign one containing three infamous bogus Microsoft certs they erroneously issued from 8 or so years ago. If the CRL (even an empty one) were indeed required, then pretty much all certs I have ever been presented that were not Verisign would fail, no?

I recognize the merits of requiring a CRL be installed, even empty, as a matter of personal administrative policy. I for one however don't intend to distribute and install updated CRLs to all my clients and servers upon each change (hence my interest in the CDP and, preferably, OCSP, mechanisms). I would much rather the absence of a CRL in CAPI to be treated as 'success' and rely on another (centralized) mechanism to provide validation.

I forgot to mention in my previous email: why don't you set up a VMWare image for your Windows build/test environment. This is what I do for my five-or-so different build environments.

-Dave

Quoted 344 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 4:19 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I think that missing CRL should fail. This is how MS is working. There is no point in PKI without CRL... If you want to do something other you can use the CTL feature of CAPI.

Thanks for testing!!!
Alon.

Quoted 8 lines · Dave

OK better but not perfect:

 1)  missing CA in trusted roots:  fails to verify; good
 2)  missing CRL:  FAILS TO VERIFY; BAD
 3)  CRL with revoked cert:  fails to verify, good

3.bis) CRL _without_ revoked cert: verifies, good

so it seems the coup-de-grace would be to make the absence

of the CRL

Quoted 6 lines

act like nothing is revoked, or add some options/parameters, maybe like:

cryptoapi-chain-validation require-crl-present

I'd still like to see an example of a well-formed value

for CDP, and

Quoted 1 line

Authority Info Access extension so I can re-issue my CA

cert and test

Quoted 19 lines

the hypothetical CAPI built-in OCSP/CRL checking....

-Dave

Quoted 14 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 3:29 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Oh!
Thanks!!!!
I feared I had to install Windows again :)

So now everything should be fine... you should be able

to > check

Quoted 1 line

the chain validation... 1. Without trusted CA in store. >

2. Without

Quoted 5 lines

CRL in store. 3. With CRL but with certificate revoked. >

Quoted 4 lines

Alon.

Quoted 1 line · Dave

Sorry, I lied. Success! I somehow failed to copy the

openvpn.exe

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

over. Attached herewith is the log.

Quoted 18 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 3:19 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'
Subject: RE: [Openvpn-devel] [MSCAPI] Need testers

Alas, the same.

Quoted 8 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 2:31 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Thank you for your time!
Last time... If we don't make any progress I will

install > >

Quoted 15 lines
Quoted 15 lines
Quoted 1 line

Windows setup when I have some free time. The problem is

may > > be

Quoted 6 lines

due to RSA_FLAG_SIGN_VER flag that should be set on the > RSA and
not the method. Can you please test [1]? > >

Quoted 3 lines
Quoted 3 lines

Alon.

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-7.tar.bz2

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines · Dave
Quoted 4 lines

Nope, still crashes.

Application Event Log reveals:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line

Faulting application openvpn.exe, version 0.0.0.0,

faulting module

Quoted 3 lines

libeay32.dll, version 0.9.9.0, fault address 0x0005c4c5.

I suppose there's no debug info in the MinGW build -- I

can attach a

Quoted 1 line

debugger when it crashes and could see the

source if there

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

was debug

Quoted 1 line

info. Invariably something about my config triggers

some boundary

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

case.

When testing only with cryptoapicert, the

failure occurs

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

also, and is

Quoted 8 lines

logged as having had happened at the same location.

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Sent: Saturday, October 18, 2008 1:51 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I cannot see what is wrong, what exactly

crashes? Do you

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

have > an

Quoted 1 line

entry in event log?, I recompiled everything at [1], I

may > had a

Quoted 1 line
Quoted 1 line

problem with the libraries. Can you please test

only > with

Quoted 11 lines
Quoted 11 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

cryptoapicert and see if it changes something? >

Quoted 3 lines

Thanks!

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-6.tar.bz2

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

A little bit further, though now it crashes for me

using all the

Quoted 1 line
Quoted 1 line
Quoted 1 line

binaries you included in your bz file.

Log attached >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

herewith in case > > that helps locate the

area affected.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev

[mailto:[email protected]...]

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Sent: Saturday, October 18, 2008 1:01 PM
To: Dave
Cc: openvpn devel

Subject: Re: [Openvpn-devel] [MSCAPI]

Need testers

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Thank you for testing!

Found the problem... CryptoAPI cannot

validate root

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

certificate... OK, can you please test [1]?

I also renamed the option from cryptoapica to
cryptoapi-chain-validation, I think it

is clearer.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

Thanks!
Alon.

[1]

Quoted 7 lines
Quoted 7 lines

http://alon.barlev.googlepages.com/openvpn-mscapi-test-5.tar.bz2

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

attached herewith is the log of the (failed)

attempt(s) to connect.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Certs are all OK as far as I can

tell (no red X

Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

overlaid).

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

This CA cert I created some years back with

easy-RSA. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

These days I > > > > now manage my CA with

XCA off a USB

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

key, but I imported > > > that CA cert

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

rather than rebuilding the PKI.

Your CRL/OCSP suggestion is

interesting, though of

Quoted 30 lines
Quoted 30 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

course that's

Quoted 1 line
Quoted 1 line
Quoted 1 line

Windows only (my servers are all Linux).

Actually I was

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

hoping for

Quoted 1 line

an extension of the OCSP patch that was

submitted about a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

year ago,

Quoted 1 line

but maybe that is a task for me to do!

Then it would

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

be general

Quoted 1 line
Quoted 1 line
Quoted 1 line

across Windows/Linux. I have not used

the extensions

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

before, and I

Quoted 1 line

would love it if you had an example cert with

the CDP or OCSP

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extensions filled out so I can use that as a

reference >

Quoted 1 line
Quoted 1 line

to proper > > > > form. My OCSP responder also

runs on Linux,

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

rather > than Windows.

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

-Dave

...

Quoted 4 lines

Thank you for your tests!

Your configuration is correct.

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Can you please double click the certificate

at the MMC,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

and > see

Quoted 1 line

if it marked "OK"? If there is an error

then there is

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

probably

Quoted 1 line
Quoted 1 line

something wrong with CA location or

CRL fetch. >

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How did you enroll your certificate? If you

did this via

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

microsoft CA, you have CDP (CRL

distribution

Quoted 9 lines
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

point) X.509

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extension that is used by Windows to

automatically >

Quoted 1 line
Quoted 1 line

fetch your > > > > > CRL. If you got OCSP

responder which is

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

integrated with CAPI

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

on your machine it will also work in this

configuration.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I added some more debugging information.
Please run the new version [1] with verb

255. > > > >

Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

Thanks! > > > >

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

...

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the

Moblin Your

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Move > >

Quoted 1 line
Quoted 1 line
Quoted 1 line

Developer's challenge Build the coolest Linux

based > > >

Quoted 16 lines
Quoted 16 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win great prizes Grand >

prize > is

Quoted 1 line
Quoted 1 line

a > > trip for two to an Open Source event anywhere in

the > world

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 3 lines
Quoted 3 lines

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the Moblin

Your Move

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

is a trip for two to an Open Source event

anywhere in the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

--------------------------------------------------------------

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize

Quoted 14 lines
Quoted 12 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#5 lore raw

Hello,

Microsoft complete the chain using CDP extension. This extension contains the URL from which to fetch the CRL. So you don't need to distribute the CRL by your self, you only need to put this on accessible HTTP server. If you don't have CDP you won't be able to work well within Microsoft domain.

If you look at the CryptoAPI you will see that you cannot determine if you have or don't have CRL in store. What you request is not standard in Windows environment.

Regarding VMWare and such... there is also a matter of licensing, tools and time required... I thank you for testing, I would have done so if the 7th round failed.

Alon.

Quoted 367 lines · Dave

I would tend to disagree. The only CRLs in my store are the one I added,
and an ancient Verisign one containing three infamous bogus Microsoft certs they erroneously issued from 8 or so years ago. If the CRL (even an empty one) were indeed required, then pretty much all certs I have ever been presented that were not Verisign would fail, no?

I recognize the merits of requiring a CRL be installed, even empty, as a matter of personal administrative policy. I for one however don't intend to distribute and install updated CRLs to all my clients and servers upon each change (hence my interest in the CDP and, preferably, OCSP, mechanisms). I would much rather the absence of a CRL in CAPI to be treated as 'success' and rely on another (centralized) mechanism to provide validation.

I forgot to mention in my previous email: why don't you set up a VMWare image for your Windows build/test environment. This is what I do for my five-or-so different build environments.

-Dave

Quoted 345 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 4:19 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I think that missing CRL should fail. This is how MS is working. There is no point in PKI without CRL... If you want to do something other you can use the CTL feature of CAPI.

Thanks for testing!!!
Alon.

Quoted 8 lines · Dave

OK better but not perfect:

 1)  missing CA in trusted roots:  fails to verify; good
 2)  missing CRL:  FAILS TO VERIFY; BAD
 3)  CRL with revoked cert:  fails to verify, good

3.bis) CRL _without_ revoked cert: verifies, good

so it seems the coup-de-grace would be to make the absence

of the CRL

Quoted 6 lines

act like nothing is revoked, or add some options/parameters, maybe like:

cryptoapi-chain-validation require-crl-present

I'd still like to see an example of a well-formed value

for CDP, and

Quoted 1 line

Authority Info Access extension so I can re-issue my CA

cert and test

Quoted 19 lines

the hypothetical CAPI built-in OCSP/CRL checking....

-Dave

Quoted 14 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 3:29 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Oh!
Thanks!!!!
I feared I had to install Windows again :)

So now everything should be fine... you should be able

to > check

Quoted 1 line

the chain validation... 1. Without trusted CA in store. >

2. Without

Quoted 5 lines

CRL in store. 3. With CRL but with certificate revoked. >

Quoted 4 lines

Alon.

Quoted 1 line · Dave

Sorry, I lied. Success! I somehow failed to copy the

openvpn.exe

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

over. Attached herewith is the log.

Quoted 18 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 3:19 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'
Subject: RE: [Openvpn-devel] [MSCAPI] Need testers

Alas, the same.

Quoted 8 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 2:31 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Thank you for your time!
Last time... If we don't make any progress I will

install > >

Quoted 15 lines
Quoted 15 lines
Quoted 1 line

Windows setup when I have some free time. The problem is

may > > be

Quoted 6 lines

due to RSA_FLAG_SIGN_VER flag that should be set on the > RSA and
not the method. Can you please test [1]? > >

Quoted 3 lines
Quoted 3 lines

Alon.

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-7.tar.bz2

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines · Dave
Quoted 4 lines

Nope, still crashes.

Application Event Log reveals:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line

Faulting application openvpn.exe, version 0.0.0.0,

faulting module

Quoted 3 lines

libeay32.dll, version 0.9.9.0, fault address 0x0005c4c5.

I suppose there's no debug info in the MinGW build -- I

can attach a

Quoted 1 line

debugger when it crashes and could see the

source if there

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

was debug

Quoted 1 line

info. Invariably something about my config triggers

some boundary

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

case.

When testing only with cryptoapicert, the

failure occurs

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

also, and is

Quoted 8 lines

logged as having had happened at the same location.

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Sent: Saturday, October 18, 2008 1:51 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I cannot see what is wrong, what exactly

crashes? Do you

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

have > an

Quoted 1 line

entry in event log?, I recompiled everything at [1], I

may > had a

Quoted 1 line
Quoted 1 line

problem with the libraries. Can you please test

only > with

Quoted 11 lines
Quoted 11 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

cryptoapicert and see if it changes something? >

Quoted 3 lines

Thanks!

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-6.tar.bz2

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

A little bit further, though now it crashes for me

using all the

Quoted 1 line
Quoted 1 line
Quoted 1 line

binaries you included in your bz file.

Log attached >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

herewith in case > > that helps locate the

area affected.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev

[mailto:[email protected]...]

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Sent: Saturday, October 18, 2008 1:01 PM
To: Dave
Cc: openvpn devel

Subject: Re: [Openvpn-devel] [MSCAPI]

Need testers

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Thank you for testing!

Found the problem... CryptoAPI cannot

validate root

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

certificate... OK, can you please test [1]?

I also renamed the option from cryptoapica to
cryptoapi-chain-validation, I think it

is clearer.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

Thanks!
Alon.

[1]

Quoted 7 lines
Quoted 7 lines

http://alon.barlev.googlepages.com/openvpn-mscapi-test-5.tar.bz2

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

attached herewith is the log of the (failed)

attempt(s) to connect.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Certs are all OK as far as I can

tell (no red X

Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

overlaid).

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

This CA cert I created some years back with

easy-RSA. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

These days I > > > > now manage my CA with

XCA off a USB

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

key, but I imported > > > that CA cert

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

rather than rebuilding the PKI.

Your CRL/OCSP suggestion is

interesting, though of

Quoted 30 lines
Quoted 30 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

course that's

Quoted 1 line
Quoted 1 line
Quoted 1 line

Windows only (my servers are all Linux).

Actually I was

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

hoping for

Quoted 1 line

an extension of the OCSP patch that was

submitted about a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

year ago,

Quoted 1 line

but maybe that is a task for me to do!

Then it would

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

be general

Quoted 1 line
Quoted 1 line
Quoted 1 line

across Windows/Linux. I have not used

the extensions

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

before, and I

Quoted 1 line

would love it if you had an example cert with

the CDP or OCSP

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extensions filled out so I can use that as a

reference >

Quoted 1 line
Quoted 1 line

to proper > > > > form. My OCSP responder also

runs on Linux,

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

rather > than Windows.

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

-Dave

...

Quoted 4 lines

Thank you for your tests!

Your configuration is correct.

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Can you please double click the certificate

at the MMC,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

and > see

Quoted 1 line

if it marked "OK"? If there is an error

then there is

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

probably

Quoted 1 line
Quoted 1 line

something wrong with CA location or

CRL fetch. >

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How did you enroll your certificate? If you

did this via

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

microsoft CA, you have CDP (CRL

distribution

Quoted 9 lines
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

point) X.509

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extension that is used by Windows to

automatically >

Quoted 1 line
Quoted 1 line

fetch your > > > > > CRL. If you got OCSP

responder which is

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

integrated with CAPI

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

on your machine it will also work in this

configuration.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I added some more debugging information.
Please run the new version [1] with verb

255. > > > >

Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

Thanks! > > > >

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

...

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the

Moblin Your

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Move > >

Quoted 1 line
Quoted 1 line
Quoted 1 line

Developer's challenge Build the coolest Linux

based > > >

Quoted 16 lines
Quoted 16 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win great prizes Grand >

prize > is

Quoted 1 line
Quoted 1 line

a > > trip for two to an Open Source event anywhere in

the > world

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 3 lines
Quoted 3 lines

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the Moblin

Your Move

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

is a trip for two to an Open Source event

anywhere in the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

--------------------------------------------------------------

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize

Quoted 14 lines
Quoted 12 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#6 lore raw

Gotcha. I'm still sceptical but I certainly have been wrong before -- I'll double check my assumptions.

Regarding VMWare, if you are able to install Windows in a compliant way at present, then presumably you could just as easily install in in VMWare and be in license compliance. On the other hand, you need the VMWare license to create a new VM (though you can run an existing created VM for free, though, with player).

Quoted 448 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 4:48 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Hello,

Microsoft complete the chain using CDP extension. This extension contains the URL from which to fetch the CRL. So you don't need to distribute the CRL by your self, you only need to put this on accessible HTTP server. If you don't have CDP you won't be able to work well within Microsoft domain.

If you look at the CryptoAPI you will see that you cannot determine if you have or don't have CRL in store. What you request is not standard in Windows environment.

Regarding VMWare and such... there is also a matter of licensing, tools and time required... I thank you for testing, I would have done so if the 7th round failed.

Alon.

Quoted 3 lines · Dave

I would tend to disagree. The only CRLs in my store are the one I added, and an ancient Verisign one containing three infamous bogus Microsoft certs they erroneously issued from 8 or so years

ago. If

Quoted 2 lines

the CRL (even an empty
one) were indeed required, then pretty much all certs I

have ever been

Quoted 3 lines

presented that were not Verisign would fail, no?

I recognize the merits of requiring a CRL be installed,

even empty,

Quoted 2 lines

as a matter of personal administrative policy. I for one however don't intend to distribute and install updated CRLs to all

my clients

Quoted 2 lines

and servers upon each change (hence my interest in the CDP and, preferably, OCSP, mechanisms). I would much rather the

absence of a

Quoted 5 lines

CRL in CAPI to be treated as 'success' and rely on another (centralized) mechanism to provide validation.

I forgot to mention in my previous email: why don't you set up a
VMWare image for your Windows build/test environment.

This is what I

Quoted 16 lines

do for my five-or-so different build environments.

-Dave

Quoted 11 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 4:19 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I think that missing CRL should fail. This is how MS is working. There is no point in PKI without CRL... If you

want > to

Quoted 15 lines

do something other you can use the CTL feature of CAPI. >

Quoted 14 lines

Thanks for testing!!!
Alon.

Quoted 8 lines · Dave

OK better but not perfect:

 1)  missing CA in trusted roots:  fails to verify; good
 2)  missing CRL:  FAILS TO VERIFY; BAD
 3)  CRL with revoked cert:  fails to verify, good

3.bis) CRL _without_ revoked cert: verifies, good

so it seems the coup-de-grace would be to make the absence

of the CRL

Quoted 1 line

act like nothing is revoked, or add some

options/parameters, maybe

Quoted 68 lines
Quoted 68 lines
Quoted 5 lines

like:

cryptoapi-chain-validation require-crl-present

I'd still like to see an example of a well-formed value

for CDP, and

Quoted 1 line

Authority Info Access extension so I can re-issue my CA

cert and test

Quoted 19 lines

the hypothetical CAPI built-in OCSP/CRL checking....

-Dave

Quoted 14 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 3:29 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Oh!
Thanks!!!!
I feared I had to install Windows again :)

So now everything should be fine... you should be able

to > check

Quoted 1 line

the chain validation... 1. Without trusted CA in store. >

2. Without

Quoted 5 lines

CRL in store. 3. With CRL but with certificate revoked. >

Quoted 4 lines

Alon.

Quoted 1 line · Dave

Sorry, I lied. Success! I somehow failed to copy the

openvpn.exe

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

over. Attached herewith is the log.

Quoted 18 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 3:19 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'
Subject: RE: [Openvpn-devel] [MSCAPI] Need testers

Alas, the same.

Quoted 8 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 2:31 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Thank you for your time!
Last time... If we don't make any progress I will

install > >

Quoted 7 lines
Quoted 7 lines
Quoted 1 line

Windows setup when I have some free time. The problem is

may > > be

Quoted 5 lines

due to RSA_FLAG_SIGN_VER flag that should be set on the > RSA and
not the method. Can you please test [1]? > >

Quoted 2 lines
Quoted 2 lines

Alon.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-7.tar.bz2

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Dave
Quoted 5 lines

Nope, still crashes.

Application Event Log reveals:

Faulting application openvpn.exe,

version 0.0.0.0,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

faulting module

Quoted 1 line

libeay32.dll, version 0.9.9.0, fault

address 0x0005c4c5.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I suppose there's no debug info in the

MinGW build -- I

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

can attach a

Quoted 1 line

debugger when it crashes and could see the

source if there

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

was debug

Quoted 1 line

info. Invariably something about my

config triggers

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines

some boundary

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

case.

When testing only with cryptoapicert, the

failure occurs

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

also, and is

Quoted 1 line

logged as having had happened at the same

location.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev

[mailto:[email protected]...]

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Sent: Saturday, October 18, 2008 1:51 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI]

Need testers

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I cannot see what is wrong, what exactly

crashes? Do you

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

have > an

Quoted 1 line

entry in event log?, I recompiled

everything at [1], I

Quoted 9 lines
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

may > had a

Quoted 1 line
Quoted 1 line

problem with the libraries. Can you please test

only > with

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

cryptoapicert and see if it changes something? >

Quoted 3 lines

Thanks!

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-6.tar.bz2

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines · Dave
Quoted 1 line

A little bit further, though now it

crashes for me

Quoted 22 lines
Quoted 22 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

using all the

Quoted 1 line
Quoted 1 line
Quoted 1 line

binaries you included in your bz file.

Log attached >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

herewith in case > > that helps locate the

area affected.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev

[mailto:[email protected]...]

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Sent: Saturday, October 18, 2008 1:01 PM
To: Dave
Cc: openvpn devel

Subject: Re: [Openvpn-devel] [MSCAPI]

Need testers

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Thank you for testing!

Found the problem... CryptoAPI cannot

validate root

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

certificate... OK, can you please test [1]?

I also renamed the option from

cryptoapica to

Quoted 10 lines
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

cryptoapi-chain-validation, I think it

is clearer.

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

Thanks!
Alon.

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-5.tar.bz2

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On 10/18/08, Dave

Quoted 1 line · <[email protected]...> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

attached herewith is the log of

the (failed)

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

attempt(s) to connect.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Certs are all OK as far as I can

tell (no red X

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

overlaid).

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

This CA cert I created some

years back with

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

easy-RSA. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

These days I > > > > now manage my CA with

XCA off a USB

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

key, but I imported > > > that CA cert

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

rather than rebuilding the PKI.

Your CRL/OCSP suggestion is

interesting, though of

Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

course that's

Quoted 1 line
Quoted 1 line
Quoted 1 line

Windows only (my servers are all Linux).

Actually I was

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

hoping for

Quoted 1 line

an extension of the OCSP patch that was

submitted about a

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

year ago,

Quoted 1 line

but maybe that is a task for me to do!

Then it would

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

be general

Quoted 1 line
Quoted 1 line
Quoted 1 line

across Windows/Linux. I have not used

the extensions

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

before, and I

Quoted 1 line

would love it if you had an

example cert with

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

the CDP or OCSP

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extensions filled out so I can

use that as a

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines

reference >

Quoted 1 line
Quoted 1 line

to proper > > > > form. My OCSP responder also

runs on Linux,

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

rather > than Windows.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

-Dave

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

...

Thank you for your tests!

Your configuration is correct.

Can you please double click

the certificate

Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

at the MMC,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

and > see

Quoted 1 line

if it marked "OK"? If there is an error

then there is

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

probably

Quoted 1 line
Quoted 1 line

something wrong with CA location or

CRL fetch. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How did you enroll your

certificate? If you

Quoted 10 lines
Quoted 10 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

did this via

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

microsoft CA, you have CDP (CRL

distribution

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

point) X.509

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extension that is used by Windows to

automatically >

Quoted 1 line
Quoted 1 line

fetch your > > > > > CRL. If you got OCSP

responder which is

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

integrated with CAPI

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

on your machine it will also

work in this

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

configuration.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I added some more debugging

information.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Please run the new version

[1] with verb

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

255. > > > >

Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

Thanks! > > > >

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

...

Quoted 8 lines
Quoted 8 lines

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the

Moblin Your

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Move > >

Quoted 1 line
Quoted 1 line
Quoted 1 line

Developer's challenge Build the coolest Linux

based > > >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win great

prizes Grand >

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

prize > is

Quoted 1 line
Quoted 1 line

a > > trip for two to an Open Source

event anywhere in

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

the > world

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

_______________________________________________

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

--------------------------------------------------------------

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the Moblin

Your Move

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Developer's challenge Build the coolest

Linux based

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win great prizes

Grand prize

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

is a trip for two to an Open Source event

anywhere in the

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 10 lines
Quoted 10 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 3 lines
Quoted 3 lines

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the Moblin

Your Move

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

is a trip for two to an Open Source event

anywhere in the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines
Quoted 1 line
Quoted 14 lines
Quoted 12 lines

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#7 lore raw

OK, I built a new PKI and issued certs with both the CDP and/or/neither AIA extensions. Here are some observations for any interested:

* The Crypto API will pick up the CRL automatically from the URI in the CDP extension, if present.
* If it cannot be retrieved, validation fails.
* The CRL is pulled from the CDP in the CA certificate (i.e. not the end entity certs)
* The Crypto API caches this CRL for a period of time unknown to me. For those interested the cache locations is (approximately):
E:\Documents and Settings\{username}\Application
Data\Microsoft\CryptnetUrlCache\Content
(you'll have to substitute you user name and root drive letter in that
path). You'll have to read into the content to find which file, but if you sort by date, then that might make things easier if it is freshly downloaded. Deleting this file seems to have no consequences other than causing it to be re-downloaded.
* The Crypto API seems to ignore the AIA extension, so no OCSP at all, alas.

Some fun observations:

* The Crypto API will ignore the CDP-fetched or even cached CRL if there is an explicit one imported into the capi store. This would seem to open the door to an 'unrevocation' attack, whereby one installs an old CRL that does not contain certs revoked after it's creation, and thus those certs become trusted again irrespective of their being in a currently distributed CRL (via the CDP), or even a cached CRL that was downloaded prior to the installation of the rogue CRL.

Some other observations:

* _none_ of the Verisign CA certs installed on my XPSP3 machine have either the CDP or AIA extension specified. So I assume this would imply that if I ran a server using a Verisign-issued cert, then it would never succeed to validate client-side using the --cryptoapi-chain-validation option since I do not have a CRL for that CA, nor is there a CDP extension specified in it's root cert. I don't' have the spare change to order a server cert from Verisign for testing this hypothesis.

A tip for those wanting to use the --cryptoapi-chain-validation option, but having an existing PKI and not wishing to completely rebuild it:

* You can effectively re-issue your CA cert with the CDP option added (so you don't have to rebuild the whole PKI) if you do the following:

     *  use the exact same DN
     *  use the same 'not before' time stamp
     *  use a 'not after' timestamp later than the original
     *  use the same private key
     *  change whatever other option you like -- key usage, CDP, AIA, etc.

if you do this, then all the certs signed with the original CA cert will
still be valid with respect to the newly created (and modified) CA cert.

-Dave

Quoted 490 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 6:08 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Gotcha. I'm still sceptical but I certainly have been wrong before -- I'll double check my assumptions.

Regarding VMWare, if you are able to install Windows in a compliant way at present, then presumably you could just as easily install in in VMWare and be in license compliance. On the other hand, you need the VMWare license to create a new VM (though you can run an existing created VM for free, though, with player).

Quoted 20 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 4:48 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Hello,

Microsoft complete the chain using CDP extension. This extension contains the URL from which to fetch the CRL. So you don't need to distribute the CRL by your self, you only need to put this on accessible HTTP server. If you don't have CDP you won't be able to work well within Microsoft domain.

If you look at the CryptoAPI you will see that you cannot determine if you have or don't have CRL in store. What you request is not standard in Windows environment.

Quoted 9 lines

Regarding VMWare and such... there is also a matter of licensing, tools and time required... I thank you for testing, I would have done so if the 7th round failed.

Alon.

Quoted 2 lines · Dave

I would tend to disagree. The only CRLs in my store are the one I added, and an ancient Verisign one containing three

infamous bogus

Quoted 50 lines
Quoted 1 line

Microsoft certs they erroneously issued from 8 or so years

ago. If

Quoted 2 lines

the CRL (even an empty
one) were indeed required, then pretty much all certs I

have ever been

Quoted 3 lines

presented that were not Verisign would fail, no?

I recognize the merits of requiring a CRL be installed,

even empty,

Quoted 2 lines

as a matter of personal administrative policy. I for one however don't intend to distribute and install updated CRLs to all

my clients

Quoted 2 lines

and servers upon each change (hence my interest in the CDP and, preferably, OCSP, mechanisms). I would much rather the

absence of a

Quoted 5 lines

CRL in CAPI to be treated as 'success' and rely on another (centralized) mechanism to provide validation.

I forgot to mention in my previous email: why don't you set up a
VMWare image for your Windows build/test environment.

This is what I

Quoted 8 lines

do for my five-or-so different build environments.

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Quoted 8 lines
Quoted 7 lines

Sent: Saturday, October 18, 2008 4:19 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I think that missing CRL should fail. This is how MS is >

working. There is no point in PKI without CRL... If you

want > to

Quoted 12 lines

do something other you can use the CTL feature of CAPI. Thanks
for testing!!! > Alon.

Quoted 9 lines · Dave
Quoted 7 lines

OK better but not perfect:

 1)  missing CA in trusted roots:  fails to verify; good
 2)  missing CRL:  FAILS TO VERIFY; BAD
 3)  CRL with revoked cert:  fails to verify, good

3.bis) CRL _without_ revoked cert: verifies, good

Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

so it seems the coup-de-grace would be to make the absence

of the CRL

Quoted 1 line

act like nothing is revoked, or add some

options/parameters, maybe

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

like:

cryptoapi-chain-validation require-crl-present

I'd still like to see an example of a well-formed

value > for

Quoted 1 line
Quoted 1 line

CDP, and > > Authority Info Access extension so I can

re-issue my

Quoted 51 lines
Quoted 51 lines

CA > cert and test

Quoted 50 lines
Quoted 19 lines

the hypothetical CAPI built-in OCSP/CRL checking....

-Dave

Quoted 14 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 3:29 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Oh!
Thanks!!!!
I feared I had to install Windows again :)

So now everything should be fine... you should be able

to > check

Quoted 1 line

the chain validation... 1. Without trusted CA in store. >

2. Without

Quoted 5 lines

CRL in store. 3. With CRL but with certificate revoked. >

Quoted 4 lines

Alon.

Quoted 1 line · Dave

Sorry, I lied. Success! I somehow failed to copy the

openvpn.exe

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

over. Attached herewith is the log.

Quoted 18 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 3:19 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'
Subject: RE: [Openvpn-devel] [MSCAPI] Need testers

Alas, the same.

Quoted 8 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 2:31 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Thank you for your time!
Last time... If we don't make any progress I will

install > >

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

Windows setup when I have some free time. The problem is

may > > be

Quoted 1 line

due to RSA_FLAG_SIGN_VER flag that should be

set on the >

Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

RSA and
not the method. Can you please test [1]? > >

Quoted 3 lines
Quoted 3 lines

Alon.

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-7.tar.bz2

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On 10/18/08, Dave <[email protected]...>

wrote: > > >

Quoted 22 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Nope, still crashes. > > > > > > >

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Application Event Log reveals:

Faulting application openvpn.exe,

version 0.0.0.0,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

faulting module

Quoted 1 line

libeay32.dll, version 0.9.9.0, fault

address 0x0005c4c5.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I suppose there's no debug info in the

MinGW build -- I

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

can attach a

Quoted 1 line

debugger when it crashes and could see the >

source if there > > > > > > was debug

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

info. Invariably something about my

config triggers

Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

some boundary

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

case.

When testing only with cryptoapicert, the >

failure occurs > > > > > > also, and is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

logged as having had happened at the same

Quoted 10 lines

location.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev

[mailto:[email protected]...]

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Sent: Saturday, October 18, 2008 1:51

PM > > >

Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

To: Dave > > > > > > > > Cc: openvpn devel

Quoted 1 line
Quoted 1 line
Quoted 1 line

Subject: Re: [Openvpn-devel] [MSCAPI]

Need testers

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I cannot see what is wrong, what exactly >

crashes? Do you > > > > > > have > an

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

entry in event log?, I recompiled

everything at [1], I

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

may > had a

Quoted 1 line
Quoted 1 line

problem with the libraries. Can you

please test >

Quoted 9 lines
Quoted 6 lines

only > with > > > > > > > cryptoapicert and see if it changes something? > > > > > > > > > Thanks!

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-6.tar.bz2

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On 10/18/08, Dave

<[email protected]...> wrote: >

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

A little bit further, though now it

crashes for me

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

using all the

Quoted 1 line
Quoted 1 line
Quoted 1 line

binaries you included in your bz

file. > Log

Quoted 19 lines
Quoted 19 lines

attached > > > > > > > > herewith in case > > that helps locate the > area affected.

Quoted 17 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev

[mailto:[email protected]...]

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Sent: Saturday, October 18, 2008 1:01 PM
To: Dave
Cc: openvpn devel

Subject: Re: [Openvpn-devel] [MSCAPI]

Need testers

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Thank you for testing!

Found the problem... CryptoAPI cannot

validate root

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

certificate... OK, can you

please test [1]?

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I also renamed the option from

cryptoapica to

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

cryptoapi-chain-validation, I

think it >

Quoted 8 lines
Quoted 8 lines
is clearer.  > >  > >  > > >  > >  >
 > >  > >  > > >  > >  > Thanks!
 > >  > >  > > >  > >  > Alon.
 > >  > >  > > >  > >  >
 > >  > >  > > >  > >  > [1]
 > >  > >  > > >  > >
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 9 lines

http://alon.barlev.googlepages.com/openvpn-mscapi-test-5.tar.bz2

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On 10/18/08, Dave

Quoted 1 line · <[email protected]...> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

attached herewith is the log of

the (failed)

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

attempt(s) to connect.

Quoted 2 lines
Quoted 2 lines

Certs are all OK as far as I

can > tell

Quoted 6 lines
Quoted 3 lines
(no red X  > >  > >  > > overlaid).
 > >  > >  > > >  > >  > >
 > >  > >  > > >  > >  > >  This CA cert I created some 

years back with

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

easy-RSA. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

These days I > > > > now manage

my CA with

Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

XCA off a USB > > > > > > > key, but I imported > > >

that CA cert > > > > > > > > > > > rather than

rebuilding the

Quoted 5 lines
Quoted 5 lines
PKI.  > >  > >  > > >  > >  > >
 > >  > >  > > >  > >  > >  Your CRL/OCSP suggestion is
Quoted 3 lines

interesting, though of

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

course that's

Quoted 1 line
Quoted 1 line

Windows only (my servers are

all Linux).

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Actually I was

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

hoping for
an extension of the OCSP

patch that was

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines
Quoted 3 lines

submitted about a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

year ago,
but maybe that is a task for me to do!

Then it would

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

be general

Quoted 1 line
Quoted 1 line

across Windows/Linux. I have not used

the extensions

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

before, and I
would love it if you had an

Quoted 6 lines

example cert with

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

the CDP or OCSP

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extensions filled out so I can

use that as a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

reference >

Quoted 1 line
Quoted 1 line

to proper > > > > form. My OCSP

responder also

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

runs on Linux, > > > > > > > rather > than Windows.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

-Dave

Quoted 11 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

...

Thank you for your tests!

Your configuration is correct.

Can you please double click

the certificate

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

at the MMC,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

and > see
if it marked "OK"? If there is

an error

Quoted 49 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

then there is > > > > > > > > > probably

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

something wrong with CA location or

CRL fetch. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How did you enroll your

certificate? If you

Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

did this via

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

microsoft CA, you have CDP (CRL >

distribution > > > > > > point) X.509

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extension that is used by Windows to

automatically >

Quoted 1 line
Quoted 1 line

fetch your > > > > > CRL. If you got OCSP

responder which is

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

integrated with CAPI

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

on your machine it will also

work in this

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

configuration.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I added some more debugging

information.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Please run the new version

[1] with verb

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

255. > > > >

Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

Thanks! > > > >

Quoted 6 lines
Quoted 6 lines

...

Quoted 7 lines
Quoted 3 lines

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the >

Moblin Your > > > > > Move > >

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Developer's challenge Build the coolest Linux

based > > >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win great

prizes Grand >

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

prize > is

Quoted 1 line
Quoted 1 line

a > > trip for two to an Open Source

event anywhere in

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

the > world

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

_______________________________________________

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Openvpn-devel mailing list
[email protected]

Quoted 10 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the

Moblin >

Quoted 4 lines
Quoted 2 lines

Your Move > > > > > > > > Developer's challenge Build the coolest

Linux based

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win

great prizes

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Grand prize > > > > > > > > is a trip for two

to an Open

Quoted 5 lines
Quoted 3 lines

Source event > anywhere in the

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

_______________________________________________

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the Moblin

Your Move

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Developer's challenge Build the coolest

Linux based

Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win great prizes >

Grand prize > > > > > > is a trip for two to an Open

Source event

Quoted 21 lines

anywhere in the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 13 lines
Quoted 13 lines
Quoted 7 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines
Quoted 1 line

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand

prize > is

Quoted 10 lines
Quoted 9 lines

a trip for two to an Open Source event anywhere in the > world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 5 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 12 lines

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#8 lore raw
Quoted 5 lines · Dave

OK, I built a new PKI and issued certs with both the CDP and/or/neither AIA
extensions. Here are some observations for any interested:

* The Crypto API will pick up the CRL automatically from the URI in the CDP extension, if present.

True.

Quoted 1 line

* If it cannot be retrieved, validation fails.

True.

Quoted 2 lines

* The CRL is pulled from the CDP in the CA certificate (i.e. not the end entity certs)

Not true.
Each certificate is validated against the CRL referred via its own CDP extension.
If there is CDP on root CA it can suicide.

Quoted 2 lines

* The Crypto API caches this CRL for a period of time unknown to me. For those interested the cache locations is (approximately):

Until the CRL expires, there is an extension "Next update".

Quoted 7 lines

E:\Documents and Settings\{username}\Application
Data\Microsoft\CryptnetUrlCache\Content
(you'll have to substitute you user name and root drive letter in that
path). You'll have to read into the content to find which file, but if you sort by date, then that might make things easier if it is freshly downloaded. Deleting this file seems to have no consequences other than causing it to be re-downloaded.

You cannot delete this file as it also cached in memory. In the past I got a program from MS labs to refresh this cache. At Vista there should be a process/service handling this cache.

Quoted 2 lines

* The Crypto API seems to ignore the AIA extension, so no OCSP at all, alas.

It does not ignore the AIA extension, it downloads the certificate of the issuer via this extension.
For example, if you have Root->Sub->End

The End certificate AIA extension points to a URL from which Sub certificate can be downloaded. This is how Windows builds the chain.

Quoted 4 lines

Some fun observations:

* The Crypto API will ignore the CDP-fetched or even cached CRL if there is an explicit one imported into the capi store.

It will use it as long as it is not expired.

Quoted 6 lines

This would seem to open the
door to an 'unrevocation' attack, whereby one installs an old CRL that does not contain certs revoked after it's creation, and thus those certs become trusted again irrespective of their being in a currently distributed CRL (via the CDP), or even a cached CRL that was downloaded prior to the installation of the rogue CRL.

This is standard CRL behavior, it is valid as long as it is not expired. You can determine this period in the CA configuration.
If you need instance reaction you need to use OCSP.

Quoted 9 lines

Some other observations:

* _none_ of the Verisign CA certs installed on my XPSP3 machine have either the CDP or AIA extension specified. So I assume this would imply that if I ran a server using a Verisign-issued cert, then it would never succeed to validate client-side using the --cryptoapi-chain-validation option since I do not have a CRL for that CA, nor is there a CDP extension specified in it's root cert. I don't' have the spare change to order a server cert from Verisign for testing this hypothesis.

You need to look at the end certificates. Go browse to https site and examine the certificate.
You will see AIA for certificate issued from third level, as there is no actual need to find the root.

You can install OCSP client on your machine and it will be used automatically. I heard that Vista has this built-in but never tested.

Quoted 5 lines

A tip for those wanting to use the --cryptoapi-chain-validation option, but having an existing PKI and not wishing to completely rebuild it:

* You can effectively re-issue your CA cert with the CDP option added (so you don't have to rebuild the whole PKI) if you do the following:

Quoted 7 lines
     *  use the exact same DN
     *  use the same 'not before' time stamp
     *  use a 'not after' timestamp later than the original
     *  use the same private key
     *  change whatever other option you like -- key usage, CDP, AIA, etc.

if you do this, then all the certs signed with the original CA cert will
still be valid with respect to the newly created (and modified) CA cert.

Thanks!

Quoted 500 lines

-Dave

Quoted 492 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 6:08 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'

Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Gotcha. I'm still sceptical but I certainly have been wrong before -- I'll double check my assumptions.

Regarding VMWare, if you are able to install Windows in a compliant way at present, then presumably you could just as easily install in in VMWare and be in license compliance. On the other hand, you need the VMWare license to create a new VM (though you can run an existing created VM for free, though, with player).

Quoted 20 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 4:48 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Hello,

Microsoft complete the chain using CDP extension. This extension contains the URL from which to fetch the CRL. So you don't need to distribute the CRL by your self, you only need to put this on accessible HTTP server. If you don't have CDP you won't be able to work well within Microsoft domain.

If you look at the CryptoAPI you will see that you cannot determine if you have or don't have CRL in store. What you request is not standard in Windows environment.

Quoted 9 lines

Regarding VMWare and such... there is also a matter of licensing, tools and time required... I thank you for testing, I would have done so if the 7th round failed.

Alon.

Quoted 2 lines · Dave

I would tend to disagree. The only CRLs in my store are the one I added, and an ancient Verisign one containing three

infamous bogus

Quoted 50 lines
Quoted 1 line

Microsoft certs they erroneously issued from 8 or so years

ago. If

Quoted 2 lines

the CRL (even an empty
one) were indeed required, then pretty much all certs I

have ever been

Quoted 3 lines

presented that were not Verisign would fail, no?

I recognize the merits of requiring a CRL be installed,

even empty,

Quoted 2 lines

as a matter of personal administrative policy. I for one however don't intend to distribute and install updated CRLs to all

my clients

Quoted 2 lines

and servers upon each change (hence my interest in the CDP and, preferably, OCSP, mechanisms). I would much rather the

absence of a

Quoted 5 lines

CRL in CAPI to be treated as 'success' and rely on another (centralized) mechanism to provide validation.

I forgot to mention in my previous email: why don't you set up a
VMWare image for your Windows build/test environment.

This is what I

Quoted 8 lines

do for my five-or-so different build environments.

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Quoted 8 lines
Quoted 7 lines

Sent: Saturday, October 18, 2008 4:19 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

I think that missing CRL should fail. This is how MS is >

working. There is no point in PKI without CRL... If you

want > to

Quoted 12 lines

do something other you can use the CTL feature of CAPI. Thanks
for testing!!! > Alon.

Quoted 9 lines · Dave
Quoted 7 lines

OK better but not perfect:

 1)  missing CA in trusted roots:  fails to verify; good
 2)  missing CRL:  FAILS TO VERIFY; BAD
 3)  CRL with revoked cert:  fails to verify, good

3.bis) CRL _without_ revoked cert: verifies, good

Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

so it seems the coup-de-grace would be to make the absence

of the CRL

Quoted 1 line

act like nothing is revoked, or add some

options/parameters, maybe

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

like:

cryptoapi-chain-validation require-crl-present

I'd still like to see an example of a well-formed

value > for

Quoted 1 line
Quoted 1 line

CDP, and > > Authority Info Access extension so I can

re-issue my

Quoted 51 lines
Quoted 51 lines

CA > cert and test

Quoted 50 lines
Quoted 19 lines

the hypothetical CAPI built-in OCSP/CRL checking....

-Dave

Quoted 14 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]

Sent: Saturday, October 18, 2008 3:29 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Oh!
Thanks!!!!
I feared I had to install Windows again :)

So now everything should be fine... you should be able

to > check

Quoted 1 line

the chain validation... 1. Without trusted CA in store. >

2. Without

Quoted 5 lines

CRL in store. 3. With CRL but with certificate revoked. >

Quoted 4 lines

Alon.

Quoted 1 line · Dave

Sorry, I lied. Success! I somehow failed to copy the

openvpn.exe

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

over. Attached herewith is the log.

Quoted 18 lines

-----Original Message-----
From: Dave [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 3:19 PM
To: 'Alon Bar-Lev'
Cc: 'openvpn devel'
Subject: RE: [Openvpn-devel] [MSCAPI] Need testers

Alas, the same.

Quoted 8 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Saturday, October 18, 2008 2:31 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Thank you for your time!
Last time... If we don't make any progress I will

install > >

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

Windows setup when I have some free time. The problem is

may > > be

Quoted 1 line

due to RSA_FLAG_SIGN_VER flag that should be

set on the >

Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

RSA and
not the method. Can you please test [1]? > >

Quoted 3 lines
Quoted 3 lines

Alon.

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-7.tar.bz2

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On 10/18/08, Dave <[email protected]...>

wrote: > > >

Quoted 22 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Nope, still crashes. > > > > > > >

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Application Event Log reveals:

Faulting application openvpn.exe,

version 0.0.0.0,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

faulting module

Quoted 1 line

libeay32.dll, version 0.9.9.0, fault

address 0x0005c4c5.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I suppose there's no debug info in the

MinGW build -- I

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

can attach a

Quoted 1 line

debugger when it crashes and could see the >

source if there > > > > > > was debug

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

info. Invariably something about my

config triggers

Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

some boundary

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

case.

When testing only with cryptoapicert, the >

failure occurs > > > > > > also, and is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

logged as having had happened at the same

Quoted 10 lines

location.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

Quoted 2 lines

-----Original Message-----
From: Alon Bar-Lev

[mailto:[email protected]...]

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Sent: Saturday, October 18, 2008 1:51

PM > > >

Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

To: Dave > > > > > > > > Cc: openvpn devel

Quoted 1 line
Quoted 1 line
Quoted 1 line

Subject: Re: [Openvpn-devel] [MSCAPI]

Need testers

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I cannot see what is wrong, what exactly >

crashes? Do you > > > > > > have > an

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

entry in event log?, I recompiled

everything at [1], I

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

may > had a

Quoted 1 line
Quoted 1 line

problem with the libraries. Can you

please test >

Quoted 9 lines
Quoted 6 lines

only > with > > > > > > > cryptoapicert and see if it changes something? > > > > > > > > > Thanks!

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

[1]

http://alon.barlev.googlepages.com/openvpn-mscapi-test-6.tar.bz2

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On 10/18/08, Dave

<[email protected]...> wrote: >

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

A little bit further, though now it

crashes for me

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

using all the

Quoted 1 line
Quoted 1 line
Quoted 1 line

binaries you included in your bz

file. > Log

Quoted 19 lines
Quoted 19 lines

attached > > > > > > > > herewith in case > > that helps locate the > area affected.

Quoted 17 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-Dave

-----Original Message-----
From: Alon Bar-Lev

[mailto:[email protected]...]

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Sent: Saturday, October 18, 2008 1:01 PM
To: Dave
Cc: openvpn devel

Subject: Re: [Openvpn-devel] [MSCAPI]

Need testers

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Thank you for testing!

Found the problem... CryptoAPI cannot

validate root

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

certificate... OK, can you

please test [1]?

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I also renamed the option from

cryptoapica to

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

cryptoapi-chain-validation, I

think it >

Quoted 8 lines
Quoted 8 lines
is clearer.  > >  > >  > > >  > >  >
 > >  > >  > > >  > >  > Thanks!
 > >  > >  > > >  > >  > Alon.
 > >  > >  > > >  > >  >
 > >  > >  > > >  > >  > [1]
 > >  > >  > > >  > >
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 9 lines

http://alon.barlev.googlepages.com/openvpn-mscapi-test-5.tar.bz2

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On 10/18/08, Dave

Quoted 1 line · <[email protected]...> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

attached herewith is the log of

the (failed)

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

attempt(s) to connect.

Quoted 2 lines

Certs are all OK as far as I

can > tell

Quoted 6 lines
Quoted 3 lines
(no red X  > >  > >  > > overlaid).
 > >  > >  > > >  > >  > >
 > >  > >  > > >  > >  > >  This CA cert I created some

years back with

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

easy-RSA. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

These days I > > > > now manage

my CA with

Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

XCA off a USB > > > > > > > key, but I imported > > >

that CA cert > > > > > > > > > > > rather than

rebuilding the

Quoted 5 lines
Quoted 5 lines
PKI.  > >  > >  > > >  > >  > >
 > >  > >  > > >  > >  > >  Your CRL/OCSP suggestion is
Quoted 3 lines

interesting, though of

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

course that's

Quoted 1 line

Windows only (my servers are

all Linux).

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Actually I was

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

hoping for
an extension of the OCSP

patch that was

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines
Quoted 3 lines

submitted about a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

year ago,
but maybe that is a task for me to do!

Then it would

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

be general

Quoted 1 line

across Windows/Linux. I have not used

the extensions

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

before, and I
would love it if you had an

Quoted 6 lines

example cert with

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

the CDP or OCSP

Quoted 1 line
Quoted 1 line
Quoted 1 line

extensions filled out so I can

use that as a

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

reference >

Quoted 1 line
Quoted 1 line

to proper > > > > form. My OCSP

responder also

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

runs on Linux, > > > > > > > rather > than Windows.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

-Dave

Quoted 11 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

...

Thank you for your tests!

Your configuration is correct.

Can you please double click

the certificate

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

at the MMC,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

and > see
if it marked "OK"? If there is

an error

Quoted 49 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

then there is > > > > > > > > > probably

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

something wrong with CA location or

CRL fetch. >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How did you enroll your

certificate? If you

Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

did this via

Quoted 1 line
Quoted 1 line
Quoted 1 line

microsoft CA, you have CDP (CRL >

distribution > > > > > > point) X.509

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

extension that is used by Windows to

automatically >

Quoted 1 line
Quoted 1 line

fetch your > > > > > CRL. If you got OCSP

responder which is

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

integrated with CAPI

Quoted 1 line
Quoted 1 line
Quoted 1 line

on your machine it will also

work in this

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

configuration.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I added some more debugging

information.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Please run the new version

[1] with verb

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

255. > > > >

Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

Thanks! > > > >

Quoted 6 lines

...

Quoted 7 lines
Quoted 3 lines

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the >

Moblin Your > > > > > Move > >

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Developer's challenge Build the coolest Linux

based > > >

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win great

prizes Grand >

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

prize > is

Quoted 1 line
Quoted 1 line

a > > trip for two to an Open Source

event anywhere in

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

the > world

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

_______________________________________________

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Openvpn-devel mailing list
[email protected]

Quoted 10 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the

Moblin >

Quoted 4 lines
Quoted 2 lines

Your Move > > > > > > > > Developer's challenge Build the coolest

Linux based

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win

great prizes

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Grand prize > > > > > > > > is a trip for two

to an Open

Quoted 5 lines
Quoted 3 lines

Source event > anywhere in the

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

_______________________________________________

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-----------
This SF.Net email is sponsored by the Moblin

Your Move

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Developer's challenge Build the coolest

Linux based

Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

applications with Moblin SDK & win great prizes >

Grand prize > > > > > > is a trip for two to an Open

Source event

Quoted 21 lines

anywhere in the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 13 lines
Quoted 13 lines
Quoted 7 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines
Quoted 1 line

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand

prize > is

Quoted 10 lines
Quoted 9 lines

a trip for two to an Open Source event anywhere in the > world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Quoted 5 lines

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 12 lines

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#9 lore raw

...

Quoted 8 lines
Quoted 2 lines

* The CRL is pulled from the CDP in the CA certificate

(i.e. not the

Quoted 1 line

end entity certs)

Not true.
Each certificate is validated against the CRL referred via its own CDP extension. If there is CDP on root CA it can suicide.

...

Certainly not the case in my test. I created all the end entity certs with the CDP (and AIA) extensions, except the ones that I explicitly removed these for testing. I also created three versions of the root CA with and without the CDP and AIA. The combination of:

* root CA has no extensions included, client cert has CDP included cause no download of CRL and required an explicitly imported CRL to allow connection. when swapping out the CA cert for the one that _did_ have the CDP extension, then the CRL was downloaded and the explicitly imported one was not needed.

Tell me more about 'root CA it can suicide'. Don't know what you mean.

Quoted 3 lines

You cannot delete this file as it also cached in memory.
In the past I got a program from MS labs to refresh this cache. At Vista there should be a process/service handling this cache.

...

Perhaps it is cached in memory, but I was happily able to delete it and got immediately different results between test cases before and after deletion. I don't know what the scoping of the caching is (system, or process), but for me it was (for practical purposes at least) a file-based cache only.

Quoted 6 lines
Quoted 2 lines

* The Crypto API seems to ignore the AIA extension, so no OCSP at
all, alas.

It does not ignore the AIA extension, it downloads the certificate of the issuer via this extension. For example, if you have Root->Sub->End

Certainly didn't do anything interesting for me. However I should clarify:
when I wrote about AIA, I was also implying that I was using the OCSP OID, and not the URI one.

...

Quoted 2 lines
Quoted 2 lines

This would seem to open the
door to an 'unrevocation' attack, whereby one installs an old CRL

...

Quoted 3 lines

This is standard CRL behavior, it is valid as long as it is not expired. You can determine this period in the CA

...

Maybe, but it sounds like a not-so-great policy: favoring a CRL this is manually distributed to endpoints over the possibility of checking a centrally-managed online version. I would set the policy to the reverse. And actually I would more completely set the policy to:

*  OCSP via AIA, then 
*  CRL via CDP, then 
*  local CRL via capi cache, then 
*  local CRL stored in capi, then
*  --crl-verify, then
*  fail open or closed

I imagine others might prefer a different ordering or terminal disposition.

...

Quoted 1 line

configuration. If you need instance reaction you need to use OCSP.

...

Indeed I do! Too bad it's not working.

...

Quoted 3 lines

You can install OCSP client on your machine and it will be used automatically. I heard that Vista has this built-in but never tested.

...

sound like you are saying there is an additional component to add to provide OCSP support? Where to find? Microsoft? Have any handy keywords for a web search?

...

Quoted 4 lines

You need to look at the end certificates. Go browse to https site and examine the certificate. You will see AIA for certificate issued from third level, as there is no actual need to find the root.

...

Sounds plausible, though as mentioned, the end cert CDP did nothing in the testing that I performed. Only the CDP on the root had an effect on whether the CRL was fetched.

-Dave

#10 lore raw

The CRL that is used is of the CDP of the certificate where the extension is specified. This also enables the CA to produce several smaller CRLs, and attach each part to different set of certificates.

You can read [1] for more.

I don't know what you exactly do in your testing. I suggest you install Microsoft CA, disable the ldap AIA and CDP URLs, and issue certificates via its interface.

Alon.

[1] http://rfc.net/rfc2459.html#p39

Quoted 113 lines · Dave

...

Quoted 8 lines
Quoted 2 lines

* The CRL is pulled from the CDP in the CA certificate

(i.e. not the

Quoted 1 line

end entity certs)

Not true.
Each certificate is validated against the CRL referred via its own CDP extension. If there is CDP on root CA it can suicide.

...

Certainly not the case in my test. I created all the end entity certs with the CDP (and AIA) extensions, except the ones that I explicitly removed these for testing. I also created three versions of the root CA with and without the CDP and AIA. The combination of:

* root CA has no extensions included, client cert has CDP included cause no download of CRL and required an explicitly imported CRL to allow connection. when swapping out the CA cert for the one that _did_ have the CDP extension, then the CRL was downloaded and the explicitly imported one was not needed.

Tell me more about 'root CA it can suicide'. Don't know what you mean.

Quoted 3 lines

You cannot delete this file as it also cached in memory.
In the past I got a program from MS labs to refresh this cache. At Vista there should be a process/service handling this cache.

...

Perhaps it is cached in memory, but I was happily able to delete it and got immediately different results between test cases before and after deletion. I don't know what the scoping of the caching is (system, or process), but for me it was (for practical purposes at least) a file-based cache only.

Quoted 6 lines
Quoted 2 lines

* The Crypto API seems to ignore the AIA extension, so no OCSP at
all, alas.

It does not ignore the AIA extension, it downloads the certificate of the issuer via this extension. For example, if you have Root->Sub->End

Certainly didn't do anything interesting for me. However I should clarify:
when I wrote about AIA, I was also implying that I was using the OCSP OID, and not the URI one.

...

Quoted 2 lines
Quoted 2 lines

This would seem to open the
door to an 'unrevocation' attack, whereby one installs an old CRL

...

Quoted 3 lines

This is standard CRL behavior, it is valid as long as it is not expired. You can determine this period in the CA

...

Maybe, but it sounds like a not-so-great policy: favoring a CRL this is manually distributed to endpoints over the possibility of checking a centrally-managed online version. I would set the policy to the reverse. And actually I would more completely set the policy to:

 *  OCSP via AIA, then
 *  CRL via CDP, then
 *  local CRL via capi cache, then
 *  local CRL stored in capi, then
 *  --crl-verify, then
 *  fail open or closed

I imagine others might prefer a different ordering or terminal disposition.

...

Quoted 1 line

configuration. If you need instance reaction you need to use OCSP.

...

Indeed I do! Too bad it's not working.

...

Quoted 3 lines

You can install OCSP client on your machine and it will be used automatically. I heard that Vista has this built-in but never tested.

...

sound like you are saying there is an additional component to add to provide OCSP support? Where to find? Microsoft? Have any handy keywords for a web search?

...

Quoted 4 lines

You need to look at the end certificates. Go browse to https site and examine the certificate. You will see AIA for certificate issued from third level, as there is no actual need to find the root.

...

Sounds plausible, though as mentioned, the end cert CDP did nothing in the testing that I performed. Only the CDP on the root had an effect on whether the CRL was fetched.

-Dave

#11 lore raw

OK, I recant my comment about the CRL coming from the CA cert in this implementation -- this was due to an error in my test setup where my peer cert did _not_ have the CDP as I thought it did when I executed that test, so placing the correct cert there gave the behaviour you describe. Thus I also have to rescind my Verisign hypothesis as well. I maintain my other statements, however.

Installing the Microsoft CA is not really an option in my case. And really, the whole CRL distribution via the CDP is not either, but rather I was hoping that OCSP would provide the validation.

-Dave

Quoted 167 lines

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: Sunday, October 19, 2008 4:40 PM
To: Dave
Cc: openvpn devel
Subject: Re: [Openvpn-devel] [MSCAPI] Need testers

The CRL that is used is of the CDP of the certificate where the extension is specified. This also enables the CA to produce several smaller CRLs, and attach each part to different set of certificates.

You can read [1] for more.

I don't know what you exactly do in your testing. I suggest you install Microsoft CA, disable the ldap AIA and CDP URLs, and issue certificates via its interface.

Alon.

[1] http://rfc.net/rfc2459.html#p39

Quoted 4 lines · Dave

...

Quoted 2 lines
Quoted 2 lines

* The CRL is pulled from the CDP in the CA

certificate > (i.e.

Quoted 11 lines

not the > > end entity certs)

Quoted 4 lines

Not true.
Each certificate is validated against the CRL referred via its own CDP extension. If there is CDP on root CA it can suicide.

...

Certainly not the case in my test. I created all the end entity
certs with the CDP (and AIA) extensions, except the ones that I explicitly removed these for testing. I also created

three versions

Quoted 1 line

of the root CA with and without the CDP and AIA. The

combination of:

Quoted 2 lines

* root CA has no extensions included, client cert has CDP

included

Quoted 9 lines

cause no download of CRL and required an explicitly imported CRL to allow connection. when swapping out the CA cert for the one that _did_ have the CDP extension, then the CRL was downloaded and the explicitly imported one was not needed.

Tell me more about 'root CA it can suicide'. Don't know what you
mean.

Quoted 8 lines
Quoted 3 lines

You cannot delete this file as it also cached in memory. In the past I got a program from MS labs to refresh this cache. At Vista there should be a process/service handling this

cache.

...

Perhaps it is cached in memory, but I was happily able to

delete it

Quoted 1 line

and got immediately different results between test cases

before and

Quoted 6 lines

after deletion. I don't know what the scoping of the caching is (system, or process), but for me it was (for practical purposes at least) a file-based cache only.

Quoted 1 line
Quoted 1 line

* The Crypto API seems to ignore the AIA extension,

so no OCSP

Quoted 8 lines

at > > all, alas. >

Quoted 3 lines

It does not ignore the AIA extension, it downloads the certificate of the issuer via this extension. For example, if you have Root->Sub->End

Certainly didn't do anything interesting for me. However I should
clarify: when I wrote about AIA, I was also implying that

I was using

Quoted 12 lines

the OCSP OID, and not the URI one.

...

Quoted 2 lines
Quoted 2 lines

This would seem to open the
door to an 'unrevocation' attack, whereby one installs an old

CRL

...

Quoted 2 lines

This is standard CRL behavior, it is valid as long as it

is > not

Quoted 5 lines

expired. You can determine this period in the CA

...

Maybe, but it sounds like a not-so-great policy: favoring

a CRL this

Quoted 1 line

is manually distributed to endpoints over the possibility

of checking

Quoted 21 lines

a centrally-managed online version. I would set the policy to the reverse. And actually I would more completely set the policy to:

 *  OCSP via AIA, then
 *  CRL via CDP, then
 *  local CRL via capi cache, then
 *  local CRL stored in capi, then
 *  --crl-verify, then
 *  fail open or closed

I imagine others might prefer a different ordering or terminal
disposition.

...

Quoted 1 line

configuration. If you need instance reaction you need to use OCSP.

...

Indeed I do! Too bad it's not working.

...

Quoted 7 lines
Quoted 2 lines

You can install OCSP client on your machine and it will be used automatically. I heard that Vista has this built-in but >

never tested.

...

sound like you are saying there is an additional component

to add to

Quoted 8 lines

provide OCSP support? Where to find? Microsoft? Have any handy keywords for a web search?

...

Quoted 3 lines

You need to look at the end certificates. Go browse to https site and examine the certificate. You will see AIA for certificate issued from third level, as there is no

actual > need

Quoted 5 lines

to find the root.

...

Sounds plausible, though as mentioned, the end cert CDP

did nothing

Quoted 7 lines

in the testing that I performed. Only the CDP on the root had an effect on whether the CRL was fetched.

-Dave

--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel