sql plugin for
libcharon allows to store the complete connection
configuration in a relational database. Further, the
charon daemon reads credentials such as certificates,
private keys or passwords from the database to do all kinds of authentication.
Logging to the database is also possible.
The plugin is disabled by default and can be enabled with the
Also required is support for either
--enable-sqlite) which builds and loads the
sql plugin is still rather experimental. Thus there is currently no
comfortable frontend to configure the database. But there are some
to assist you in the database setup (more information on the tables and values
can be found here).
testing/tests/sql, e.g. this example
sql plugin is configured using the following options in the
Database URI. If it contains a password, make sure to adjust the permissions of the config file accordingly
Loglevel for logging to SQL database