Changeset 143bd98 in mod_gnutls


Ignore:
Timestamp:
May 22, 2019, 2:44:48 AM (18 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
c91382d
Parents:
510764a
Message:

Build test certificates without intermediate certificate request files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_ca.mk

    r510764a r143bd98  
    6161        certtool --outfile $@ --generate-self-signed --load-privkey rogueca/secret.key --template $(srcdir)/rogueca.template
    6262
    63 %/cert-request: %.template %/secret.key
    64         certtool --outfile $@ --generate-request --load-privkey $(dir $@)secret.key --template $<
    65 
    6663# normal case: certificates signed by test CA
    67 %/x509.pem: %.template %/cert-request authority/secret.key authority/x509.pem
    68         certtool --outfile $@ --generate-certificate --load-ca-certificate authority/x509.pem --load-ca-privkey authority/secret.key --load-request $(dir $@)cert-request --template $<
     64%/x509.pem: %.template %/secret.key authority/secret.key authority/x509.pem
     65        certtool --outfile $@ --generate-certificate --load-ca-certificate authority/x509.pem --load-ca-privkey authority/secret.key --load-privkey $(dir $@)secret.key --template $<
    6966
    7067# error case: certificates signed by rogue CA
    71 rogue%/x509.pem: rogue%.template rogue%/cert-request rogueca/x509.pem
    72         certtool --outfile $@ --generate-certificate --load-ca-certificate rogueca/x509.pem --load-ca-privkey rogueca/secret.key --load-request $(dir $@)cert-request --template $<
     68rogue%/x509.pem: rogue%.template rogue%/secret.key rogueca/x509.pem
     69        certtool --outfile $@ --generate-certificate --load-ca-certificate rogueca/x509.pem --load-ca-privkey rogueca/secret.key --load-privkey $(dir $@)secret.key --template $<
    7370
    7471%/softhsm.conf: %/secret.key
Note: See TracChangeset for help on using the changeset viewer.