1
0
Fork 0
mirror of https://github.com/kakwa/uts-server synced 2025-07-04 20:47:09 +02:00

creating a nicer landing page + serve the ca file

* nicer landing page with a few instructions, and download link for the
ca, and even some fancy CSS
* add a download link for the CA file
This commit is contained in:
kakwa 2019-04-12 10:48:55 +02:00
parent 68ffb0f7e8
commit bd0a32221c
6 changed files with 252 additions and 27 deletions

View file

@ -12,7 +12,11 @@
#define LOGHANDLER_OPTIONS 3
#define TSA_OPTIONS 4
#define PATH_HTTP_OPTIONS 5
/* name of the configuration file section */
#define MAIN_CONF_SECTION "main"
#define OID_SECTION "oids"
#define TSA_SECTION "tsa"
#define RFC3161_OPTIONS_LEN \
sizeof(rfc3161_options) / sizeof(struct rfc3161_option)
@ -42,6 +46,7 @@ typedef struct {
// just to track for freeing later
CONF *conf;
char *cust_conf[20];
char *ca_file;
} rfc3161_context;
// definition of structure to describe