Re: [Modules] mod_gnutls "missing a Certificate file!"

2009-09-13 Thread Julian Blake Kongslie
On Sun, 2009-09-13 at 12:00 +0300, Nikos Mavrogiannopoulos wrote:
> Julian Blake Kongslie wrote:
> > I'm trying to setup an apache 2 server that offers SSL using anonymous
> > DH, and does not offer any certificate at all. Presently, my virtual
> > host configuration is as follows:
> > 
> >   
> > ServerName testbed
> > GnuTLSEnable on
> > GnuTLSPriorities NORMAL:+ANON-DH
> > DocumentRoot /web
> >   
> > 
> > Unfortunately, apache 2 refuses to start, with the error:
> >   [GnuTLS] - Host 'testbed:0' is missing a Certificate File!
> > 
> > But that, of course, is exactly what I want.
> > 
> > If I provide a X.509 certificate to satisfy mod_gnutls, it is delivered
> > to clients, even if I add "-CTYPE-X.509" to the priorities. I can get
> > approximately the right thing by providing an OpenPGP certificate
> > instead - it, too, is sent to clients, but nothing in the world
> > understands it, so it is simply ignored and the connection falls back to
> > ANON-DH mode as I desire.
> > Please tell me there's a better way?
> 
> Don't really think so. I've never considered anon to be the only option
> in mod_gnutls. If you provide a dummy certificate and set -CTYPE-X509
> and -CTYPE-OPENPGP does it do what you expect?

It seems to ignore the -CTYPE-* priorities and offer the dummy
certificate anyway. Which of course causes the client to complain about
the invalid certificate.

> regards,
> Nikos

--
-Julian Blake Kongslie 
If this is a mailing list, please CC me on replies.

vim: set ft=text :


signature.asc
Description: This is a digitally signed message part
___
Modules mailing list
Modules@lists.outoforder.cc
http://lists.outoforder.cc/mailman/listinfo/modules


Re: [Modules] mod_gnutls "missing a Certificate file!"

2009-09-13 Thread Nikos Mavrogiannopoulos
Julian Blake Kongslie wrote:
> I'm trying to setup an apache 2 server that offers SSL using anonymous
> DH, and does not offer any certificate at all. Presently, my virtual
> host configuration is as follows:
> 
>   
> ServerName testbed
> GnuTLSEnable on
> GnuTLSPriorities NORMAL:+ANON-DH
> DocumentRoot /web
>   
> 
> Unfortunately, apache 2 refuses to start, with the error:
>   [GnuTLS] - Host 'testbed:0' is missing a Certificate File!
> 
> But that, of course, is exactly what I want.
> 
> If I provide a X.509 certificate to satisfy mod_gnutls, it is delivered
> to clients, even if I add "-CTYPE-X.509" to the priorities. I can get
> approximately the right thing by providing an OpenPGP certificate
> instead - it, too, is sent to clients, but nothing in the world
> understands it, so it is simply ignored and the connection falls back to
> ANON-DH mode as I desire.
> Please tell me there's a better way?

Don't really think so. I've never considered anon to be the only option
in mod_gnutls. If you provide a dummy certificate and set -CTYPE-X509
and -CTYPE-OPENPGP does it do what you expect?


regards,
Nikos
___
Modules mailing list
Modules@lists.outoforder.cc
http://lists.outoforder.cc/mailman/listinfo/modules