]> git.somenet.org - somenet/certgen.git/blob - certgen.data.example
Added EXIT operation to abort generation on a given line.
[somenet/certgen.git] / certgen.data.example
1 # Certgen config file
2 #
3 # Empty lines or lines starting with "#" are ignored.
4 #
5 # Format: <OPERATION> <Parameters>
6 #         EXIT <errorcode> <optional: text with spaces to display>
7 #         CA   <CA Name> <Cert Subject>
8 #         SGN  <CN> <Cert Subject> <optional: additional DNS-alt-names ","-separated, NOT SPACES!>
9 #                 This will create a cert and sign with the ca located in ./ca/
10 #         CRT  <CN> <Cert Subject> <optional: additional DNS-alt-names ","-separated, NOT SPACES!>
11 #                 This will create a self signed cert.
12 #         CSR  <CN> <Cert Subject> <optional: additional DNS-alt-names ","-separated, NOT SPACES!>
13 #                 This will create a cert request only.
14 #                 
15 # For some strange reason the subject line has to start with /emailAddress=...
16 # Otherwise some weird stuff happens - good job, openssl folks :/
17
18 # For failing services ;)
19 CRT localhost /emailAddress=root@localhost/OU=CertGen/O=YouFailed;)/ *.loc,loc,l,*.l
20
21 # stop certgen here
22 EXIT 0 Stop processing here - comment out or delete.
23
24 # Setup a CA-system
25 CA SomeNet /emailAddress=contact@somenet.org/OU=CertGenCA/O=somenet.org/CN=SomeNet/ 
26
27 # ircd
28 SGN irc.somenet.org /emailAddress=contact@somenet.org/OU=CertGen/O=somenet.org/ a.irc.somenet.org
29
30 # apache stuff
31 SGN www.somenet.org /emailAddress=contact@somenet.org/OU=CertGen/O=somenet.org/ somenet.org,irc2go.somenet.org
32
33 # we have xmpp too :/
34 CSR xmpp.somenet.org /emailAddress=contact@somenet.org/OU=CertGen/O=somenet.org/ conference.xmpp.somenet.org
35