[Help-gnutls] Re: GNU TLS windows problem.
Nikos Mavrogiannopoulos
nmav at gnutls.org
Sat Oct 6 09:17:35 CEST 2007
On Thursday 27 September 2007, Simon Josefsson wrote:
> You can use the --outder flag to certtool when generating the
> certificate.
> If you already have a client certificate for the mobile and want to
> convert it to DER, use:
>
> $ certtool -i --infile IN.pem --outder --outfile OUT.der
>
> However, this doesn't seem to work! Mea culpa. The output is garbled
> for some reason. Possibly the --outder flag doesn't work when
> generating certificates either. I'll see if I can debug this.
This was a problem because of the fprintf usage in the printing function. I
replaced it with fwrite and it works correctly now!
Nikos
More information about the Gnutls-help
mailing list