Skip to content

Commit 6b6d058

Browse files
committed
Fixed wiremock#1279 - added example certificate conf file accidentally excluded
1 parent 90ad950 commit 6b6d058

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,6 @@ src/main/resources/swagger/wiremock-admin-api.json
5959
src/main/resources/assets/swagger-ui/swagger-ui-dist
6060

6161
scripts/client-cert.*
62+
!scripts/client-cert.conf
6263

6364
notes.txt

scripts/client-cert.conf

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[CA_default]
2+
copy_extensions = copy
3+
4+
[req]
5+
default_bits = 4096
6+
prompt = no
7+
default_md = sha256
8+
distinguished_name = req_distinguished_name
9+
x509_extensions = v3_ca
10+
11+
[req_distinguished_name]
12+
C = GB
13+
ST = London
14+
O = WireMock
15+
emailAddress = [email protected]
16+
CN = localhost
17+
18+
[v3_ca]
19+
basicConstraints = CA:FALSE
20+
keyUsage = digitalSignature, keyEncipherment
21+
subjectAltName = @alternate_names
22+
23+
[alternate_names]
24+
DNS.1 = localhost
25+
IP.1 = 127.0.0.1

0 commit comments

Comments
 (0)