Changeset b712429 in mod_gnutls for test/test_ca.mk
- Timestamp:
- Jul 15, 2019, 2:45:30 AM (4 years ago)
- Branches:
- asyncio, master, proxy-ticket
- Children:
- 6dab61d
- Parents:
- e8498bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/test_ca.mk
re8498bf rb712429 57 57 58 58 # special cases for the authorities' root certs: 59 authority/x509.pem: authority/template authority/secret.key 60 certtool --outfile $@ --generate-self-signed --load-privkey authority/secret.key --template authority/template 61 rogueca/x509.pem: $(srcdir)/rogueca/template rogueca/secret.key 62 certtool --outfile $@ --generate-self-signed --load-privkey rogueca/secret.key --template $(srcdir)/rogueca/template 59 root_cert_rule = certtool --outfile $@ --generate-self-signed --load-privkey $(dir $@)secret.key --template $< 60 authority/x509.pem rogueca/x509.pem: %/x509.pem: %/template %/secret.key 61 $(root_cert_rule) 63 62 64 63 # normal case: certificates signed by test CA 64 cert_rule = certtool --outfile $@ --generate-certificate --load-ca-certificate $(dir $@)../x509.pem --load-ca-privkey $(dir $@)../secret.key --load-privkey $(dir $@)secret.key --template $< 65 65 66 %/x509.pem: %/template %/secret.key authority/secret.key authority/x509.pem 66 certtool --outfile $@ --generate-certificate --load-ca-certificate authority/x509.pem --load-ca-privkey authority/secret.key --load-privkey $(dir $@)secret.key --template $<67 $(cert_rule) 67 68 68 69 # error case: certificates signed by rogue CA
Note: See TracChangeset
for help on using the changeset viewer.