diff --git a/configure.ac b/configure.ac index 5ab6184c..13debe22 100644 --- a/configure.ac +++ b/configure.ac @@ -784,7 +784,8 @@ dnl Create output dnl AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile util/Makefile po/Makefile.in tests/Makefile - lib/Makefile testenv/Makefile]) + lib/Makefile testenv/Makefile + tests/certs/interca.conf tests/certs/rootca.conf]) AC_CONFIG_HEADERS([src/config.h]) AC_OUTPUT diff --git a/tests/certs/interca.conf b/tests/certs/interca.conf.in similarity index 98% rename from tests/certs/interca.conf rename to tests/certs/interca.conf.in index f5cd0c3c..5bf28fd7 100644 --- a/tests/certs/interca.conf +++ b/tests/certs/interca.conf.in @@ -6,7 +6,7 @@ issuerAltName=issuer:copy authorityKeyIdentifier=keyid:always [ myca ] - dir = ./certs/ + dir = @abs_srcdir@ new_certs_dir = ./ unique_subject = no certificate = interca.crt diff --git a/tests/certs/rootca.conf b/tests/certs/rootca.conf.in similarity index 98% rename from tests/certs/rootca.conf rename to tests/certs/rootca.conf.in index 49836941..ab6e8af3 100644 --- a/tests/certs/rootca.conf +++ b/tests/certs/rootca.conf.in @@ -6,7 +6,7 @@ issuerAltName=issuer:copy authorityKeyIdentifier=keyid:always [ myca ] - dir = ./certs/ + dir = @abs_srcdir@ new_certs_dir = ./ unique_subject = no certificate = $dir/test-ca-cert.pem