aboutsummaryrefslogtreecommitdiff
path: root/tests/auth/cert
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-08 17:36:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-08 18:39:16 +0300
commit0bda1e43269af186e0b61280410e4630d67c5fcb (patch)
tree1c135053161351bc3ca61f2d85c7b4733f3f8386 /tests/auth/cert
parent0be7b61b12b6cefa91e01065046975e71245b8ea (diff)
Add support for certificate name subdomain wildcard
Diffstat (limited to 'tests/auth/cert')
-rwxr-xr-xtests/auth/cert9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auth/cert b/tests/auth/cert
index 41b3b9c..5cb1237 100755
--- a/tests/auth/cert
+++ b/tests/auth/cert
@@ -16,6 +16,15 @@ openssl req -x509 -new -key key.pem -days 1825 -config mismatch-openssl.cnf > \
openssl req -x509 -new -key key.pem -days 1825 -config noemail-openssl.cnf > \
noemail-cert.pem
+openssl req -x509 -new -key key.pem -days 1825 \
+ -config subdomain-openssl.cnf > subdomain-cert.pem
+
+openssl req -x509 -new -key key.pem -days 1825 -config self-openssl.cnf > \
+ self-cert.pem
+
+openssl req -x509 -new -key key.pem -days 1825 -config self-any-openssl.cnf > \
+ self-any-cert.pem
+
# Normally, you have no reason to regenerate expired-cert.pem, as need to keep
# it expired for the testing purposes. But if you do, copy expired-cert.pem
# content to the certificate value of the following manifest files: