Re: Automatically generated configuration files

2014-05-05 Thread Richard W.M. Jones
On Thu, Apr 24, 2014 at 11:39:42AM -0400, Paul Wouters wrote: > On Thu, 24 Apr 2014, Florian Weimer wrote: > > >I don't think "openssl genrsa 2048" has this issue on today's > >machines. (I know I saw it with GNUTLS.) > > I was sceptical, so I tried this on a freshly booted VM: > > root@bofh:~#

Re: Automatically generated configuration files

2014-04-24 Thread Samuel Sieb
On 04/24/2014 08:39 AM, Paul Wouters wrote: On Thu, 24 Apr 2014, Florian Weimer wrote: I don't think "openssl genrsa 2048" has this issue on today's machines. (I know I saw it with GNUTLS.) I was sceptical, so I tried this on a freshly booted VM: root@bofh:~# virsh start north Domain north

Re: Automatically generated configuration files

2014-04-24 Thread Brian C. Lane
On Thu, Apr 24, 2014 at 10:10:15AM -0400, Adam Jackson wrote: > On Thu, 2014-04-24 at 15:47 +0200, Florian Weimer wrote: > > I'm working on advice on automated X.509 certificate generation during > > package installation. > > > > One aspect is that these files obviously have to be generated on th

Re: Automatically generated configuration files

2014-04-24 Thread Florian Weimer
On 04/24/2014 05:39 PM, Paul Wouters wrote: On Thu, 24 Apr 2014, Florian Weimer wrote: I don't think "openssl genrsa 2048" has this issue on today's machines. (I know I saw it with GNUTLS.) I was sceptical, so I tried this on a freshly booted VM: root@bofh:~# virsh start north Domain north

Re: Automatically generated configuration files

2014-04-24 Thread Paul Wouters
On Thu, 24 Apr 2014, Florian Weimer wrote: I don't think "openssl genrsa 2048" has this issue on today's machines. (I know I saw it with GNUTLS.) I was sceptical, so I tried this on a freshly booted VM: root@bofh:~# virsh start north Domain north started root@bofh:~# ssh root@north Last logi

Re: Automatically generated configuration files

2014-04-24 Thread Florian Weimer
On 04/24/2014 04:20 PM, Paul Wouters wrote: On Thu, 24 Apr 2014, Florian Weimer wrote: I'm working on advice on automated X.509 certificate generation during package installation. I would strongly recommend doing it on first service start. I've lived through the FreeS/WAN times and my experie

Re: Automatically generated configuration files

2014-04-24 Thread Frank Ch. Eigler
Paul Wouters writes: > [...] > How many packages would actually perform any kind of "opportunistic > encryption"? I know the mail servers prefer a selfsigned cert over no > cert whatsoever, but what other applications have this issue of "better > unknown certificate than plaintext" ? Probably al

Re: Automatically generated configuration files

2014-04-24 Thread Adam Jackson
On Thu, 2014-04-24 at 15:47 +0200, Florian Weimer wrote: > I'm working on advice on automated X.509 certificate generation during > package installation. > > One aspect is that these files obviously have to be generated on the > system during installation (or first service start) and cannot be

Re: Automatically generated configuration files

2014-04-24 Thread Paul Wouters
On Thu, 24 Apr 2014, Florian Weimer wrote: I'm working on advice on automated X.509 certificate generation during package installation. I would strongly recommend doing it on first service start. I've lived through the FreeS/WAN times and my experience with it for 15+ years caused us (in libre

Automatically generated configuration files

2014-04-24 Thread Florian Weimer
I'm working on advice on automated X.509 certificate generation during package installation. One aspect is that these files obviously have to be generated on the system during installation (or first service start) and cannot be shipped in the package. Some existing RPMs just drop files into