a2606b5b89
Minor refactoring
...
* Made some LDAP methods public
* Made the LDAP connection's config field private
2021-11-06 10:05:45 +01:00
f95da0e3e8
Write certificate file and set privileges
2021-11-05 17:16:44 +01:00
4619b592e6
Fix - Convert DER to PEM when reading from LDAP
2021-11-05 14:55:51 +01:00
a651e408ed
File builder
...
* Code that will build a certificate file from its configuration
* Run it on all configured files from main
2021-11-05 14:24:04 +01:00
0e642c85a6
LDAP connection code
...
* Code that connects to LDAP servers and send queries
* Helper functions to fetch CA certificates or EE certificates
2021-11-05 13:40:47 +01:00
f971c1e961
Configuration validation
...
* Validate most of the entries in the configuration file, with the
exception of DNs / RDNs.
* Use the govalidator library for DNS names and file paths
2021-10-31 11:30:39 +01:00
e6aaa09795
UNIX socket creation - Don't chmod if mode not set
2021-10-31 09:12:26 +01:00
610cbf28f8
Configuration file reading
...
* An example configuration file has been added.
* The data structure that corresponds to the configuration has been
defined, and functions to load it have been added.
* Logging using logrus and command line arguments that configure
logging and set the configuration file's path have been added.
* Opening the UNIX socket has been implemented.
2021-10-30 17:07:06 +02:00
18ce1d6738
Created project repo
2021-10-30 11:36:05 +02:00