test: add script to create 0-dns-cert.pem
0-dns-cert.pem and 0-dns-key.pem were stored in test/fixtures/key
directory, but the cert file cannot be created with the openssl
command via Makefile. make clean
removes them but we could not re-create them.
This added a script to create it with using asn1.js
and
asn1.js-rfc5280
and moved them out of key directory and put into
test/fixtures/0-dns
.
The domains listed in the cert were also changed into example.com and example.org to show the use for only testing.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test, tls
R: @indutny