[Help-gnutls] Load Server private key problem

Kristian Martens kristian.martens at freenet.de
Sat Dec 1 10:58:08 CET 2007


Hello,

I have a problem in loading a private server key file:

gnutls: ASSERT: x509_b64.c:514
gnutls: ASSERT: x509_b64.c:447
gnutls: Could not find '-----BEGIN DSA PRIVATE KEY'
gnutls: ASSERT: privkey.c:398
gnutls: ASSERT: gnutls_x509.c:687
gnutls: ASSERT: gnutls_x509.c:736
Set certificate mem: Base64 decoding error.

What is the reason? What API do I need to use, to load this file? I use the 
function
"gnutls_certificate_set_x509_key_mem" to load the certificate. With GNUTLS 
generated PEM files I have no problems.

Thanks,
Kris








-------------- next part --------------
A non-text attachment was scrubbed...
Name: server-key.pem
Type: application/octet-stream
Size: 963 bytes
Desc: not available
URL: </pipermail/attachments/20071201/6851c11f/attachment.obj>


More information about the Gnutls-help mailing list