[gnutls-help] Error using certtool with config file on Win32
n.mavrogiannopoulos at gmail.com
Mon Nov 16 11:18:29 CET 2015
I'm adding Bruce into CC. Most likely using the O_BINARY flag should
solve that. Jorg could you try if the attached patch address the
On Sun, Nov 15, 2015 at 2:39 PM, Jörg Weinhardt <jw at ib-weinhardt.de> wrote:
> Am 15.11.2015 um 09:55 schrieb Nikos Mavrogiannopoulos:
>> On Fri, 2015-11-13 at 17:28 +0100, Jörg Weinhardt wrote:
>>> I tried to use certtool from GnuTLS 3.4.5-w32 and also GnuTLS
>>> 3.3.13-w32 using a template file as input.
>>> I always get the following error message:
>>> certtool -V --generate-self-signed --load-privkey test_key.key
>>> --template test_template.txt --outfile test_cert.cert
>>> libopts error 0 (No error) calling read for 'test_template.txt'
>>> configFileLoad: No error
>>> Error loading template: test_template.txt
>> That is output by libopts used by certtool to read the template. It
>> seems that libopts gets a premature end of file while reading it.
>> However, I couldn't reproduce that with wine and your configuration
>> file. Which version of windows is that?
> Hi Nikos,
> that was a good hint! I replaced the Windows CR/LF by a Unix-style LF
> and it works. Is it possible to configure libopts to handle both?
> Thanks and regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 533 bytes
Desc: not available
More information about the Gnutls-help