help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] Load Server private key problem


From: Kristian Martens
Subject: [Help-gnutls] Load Server private key problem
Date: Sat, 1 Dec 2007 10:58:08 +0100

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








Attachment: server-key.pem
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]