On Sun, Oct 19, 2014 at 12:16 PM, Sascha Ziemann <[email protected]> wrote: > Hi, > > I tried to feed the config to certtool without writing it do disk: > > function generate_ca_cert () > { > local CA_KEY="$1" > local CA_CRT="$2" > certtool --generate-self-signed \ > --template <(ca_config) \ > --load-privkey "$CA_HOME"/"$CA_KEY" \ > --outfile "$CA_HOME"/"$CA_CRT" > } > This throws the following error: > error parsing command line: /dev/fd/63: seek error in in config file > Why is it necessary to seek the config file?
I don't know this syntax to specify a file on command line, but the template file is read by autogen (libopts to be precise). I don't know why it needs to seek though, but my guess would be that it needs to support more complex than gnutls' configuration files. regards, Nikos _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
