NewPKI is a PKI based on the OpenSSL low-level API. All data is handled through a database, and there is an SQL abstraction layer available.