[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Example of creating certificate from code using gnutls
From: |
Richard Moore |
Subject: |
Example of creating certificate from code using gnutls |
Date: |
Sun, 18 Nov 2012 20:37:27 +0000 |
Hi All,
I've continued my experiments with gnutls and have now got code for
creating certificate signing requests and creating self-signed
certificates. The latter especially is missing from the documentation,
so hopefully it will be useful to people. One bug that had me
scratching my head for a while was a missing extern "C" in the
abstract.h header, but from the git logs it appears that has been
addressed in newer releases.
Creating a CSR:
https://gitorious.org/qt-examples/qt-examples/trees/master/gnutls-experiments/create-request
Creating and signing a self-signed cert:
https://gitorious.org/qt-examples/qt-examples/trees/master/gnutls-experiments/create-certificate
Cheers
Rich.
- Example of creating certificate from code using gnutls,
Richard Moore <=