Makes the configuration-file nature of the issuer name more apparent.
## Set the CA subject name. It won't fit on one line, and there's no
## good way of continuing it. Have fun parsing the sed.
-subject=$(sed -n 's:^:/:;1h;2,$H;${x;s/\n//g;p;}' <<EOF
-C=GB
-ST=Cambridgeshire
-O=distorted.org.uk
-OU=Certificate Authority
-CN=distorted.org.uk top-level CA
-emailAddress=ca@distorted.org.uk
-EOF
-)
+subject=$(sed -n 's:^:/:;1h;2,$H;${x;s/\n//g;p;}' <etc/issuer)
## Build the new CA key and certificate.
umask 027
--- /dev/null
+C=GB
+ST=Cambridgeshire
+O=distorted.org.uk
+OU=Certificate Authority
+CN=distorted.org.uk top-level CA
+emailAddress=ca@distorted.org.uk