Hello,

Le 19-09-17 à 09 h 43, Nikos Mavrogiannopoulos a écrit :
> 
> Most likely you have already figured the issue, but in general a way
> to debug such applications is by setting the GNUTLS_DEBUG_LEVEL
> variable to a number from 3 to 9. It will provide more output which
> can help figure the issue.
> 
Yes, I've figured out what was missing in my code. Basically the
certificate was incomplete, at least I didn't set the serial number.

I made a gist to help other people and my future self with this problem:
https://gist.github.com/babelouest/b239099b209176376e7bf2640429ba87

Thanks for the debug level tip, I'll remember to use it next time!

/Nicolas

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to