diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-11-04 20:02:27 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-11-04 20:02:27 +0000 |
commit | f77dce6a5b27110dab0a0aed2b9b463fabc79668 (patch) | |
tree | 22945fc27c9b7984ed53cb48ca4ee017ec3d059b /regress/usr.sbin | |
parent | 273b5d96861514566643be3d879e793c3989b429 (diff) |
Generating the self-signed syslogd test certificate does not depend
on the CA certificate. Found by Jan Klemkow.
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r-- | regress/usr.sbin/syslogd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/syslogd/Makefile b/regress/usr.sbin/syslogd/Makefile index 66fd9ff3d7f..c676343e5e6 100644 --- a/regress/usr.sbin/syslogd/Makefile +++ b/regress/usr.sbin/syslogd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2015/10/19 20:16:09 bluhm Exp $ +# $OpenBSD: Makefile,v 1.14 2015/11/04 20:02:26 bluhm Exp $ # The following ports must be installed for the regression tests: # p5-IO-Socket-INET6 object interface for AF_INET and AF_INET6 domain sockets @@ -72,7 +72,7 @@ run-regress-$a: $a # create certificates for TLS -127.0.0.1.crt: ca.crt +127.0.0.1.crt: openssl req -batch -new -subj /L=OpenBSD/O=syslogd-regress/OU=syslogd/CN=127.0.0.1/ -nodes -newkey rsa -keyout 127.0.0.1.key -x509 -out $@ ${SUDO} cp 127.0.0.1.crt /etc/ssl/ ${SUDO} cp 127.0.0.1.key /etc/ssl/private/ |