summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-02 11:47:33 +0200
committerErich Eckner <git@eckner.net>2019-09-02 12:03:10 +0200
commitff7a3622bc6b8002a2ca6c8c26668f4e1daa70df (patch)
treeab4993267e075f24c0d3717bb05b28772fbb1728 /etc
parent4b146b607885a0a0543c68ee553f7a6c64e1fe30 (diff)
downloadsimple-pki-ff7a3622bc6b8002a2ca6c8c26668f4e1daa70df.tar.xz
sign-ca functional
Diffstat (limited to 'etc')
-rw-r--r--etc/.gitignore2
-rw-r--r--etc/ca-ssl.conf.in (renamed from etc/ca.conf.in)0
-rw-r--r--etc/ca.conf11
-rw-r--r--etc/server-ssl.conf (renamed from etc/server.conf)0
4 files changed, 12 insertions, 1 deletions
diff --git a/etc/.gitignore b/etc/.gitignore
index ebd5f03..a7a2421 100644
--- a/etc/.gitignore
+++ b/etc/.gitignore
@@ -1 +1 @@
-ca.conf
+ca-ssl.conf
diff --git a/etc/ca.conf.in b/etc/ca-ssl.conf.in
index 78d211f..78d211f 100644
--- a/etc/ca.conf.in
+++ b/etc/ca-ssl.conf.in
diff --git a/etc/ca.conf b/etc/ca.conf
new file mode 100644
index 0000000..b4e8ca3
--- /dev/null
+++ b/etc/ca.conf
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# how long do we keep the old signature of the root-ca (days)
+ca_min_duration=60
+
+# which system user owns the ca
+ca_user='erich'
+
+# where should the ca certificates be published?
+remote_host='user@example.com'
+remote_dir='httpdocs/certs'
diff --git a/etc/server.conf b/etc/server-ssl.conf
index 337a7a4..337a7a4 100644
--- a/etc/server.conf
+++ b/etc/server-ssl.conf