chore: add default ssl certs

This commit is contained in:
simon 2020-02-22 17:37:45 +01:00
parent a624bc15b0
commit c285a15bee
10 changed files with 141 additions and 12 deletions

View File

@ -48,11 +48,11 @@ x509_extensions = v3_ca
[certificate_authority]
countryName = AT
stateOrProvinceName = Vienna
localityName = Vienna
organizationName = hokify.com
emailAddress = info@hokify.com
commonName = "hokify GmbH"
stateOrProvinceName = Radius
localityName = Somewhere
organizationName = Example Inc.
emailAddress = admin@example.org
commonName = "Example Certificate Authority"
[v3_ca]
subjectKeyIdentifier = hash

80
ssl/cert/00.pem Normal file
View File

@ -0,0 +1,80 @@
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 0 (0x0)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=AT, ST=Radius, L=Somewhere, O=Example Inc./emailAddress=admin@example.org, CN=Example Certificate Authority
Validity
Not Before: Feb 22 16:37:01 2020 GMT
Not After : Jul 27 16:37:01 2036 GMT
Subject: C=AT, ST=Radius, O=Example Inc., CN=Example Certificate Authority/emailAddress=admin@example.org
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:eb:86:1d:bf:2e:b6:9a:52:72:3e:db:33:b1:dc:
b2:63:23:64:73:4f:d8:eb:32:25:f2:9c:19:a0:1b:
32:12:10:8a:d6:f3:c4:0a:10:25:be:0a:dc:14:1b:
94:b5:2b:16:df:87:09:c2:99:0b:be:18:5e:fb:0c:
0f:e0:d2:8a:6c:e5:22:0e:cd:aa:a8:57:91:e9:dc:
4c:dc:b7:11:2b:2c:c8:46:8e:a5:a2:41:90:8a:89:
1b:f1:d2:f7:cd:d9:bd:f7:12:19:4b:c9:05:b5:05:
99:76:3f:b1:6a:27:42:22:d5:fe:b9:65:aa:95:f2:
25:5b:b6:3c:f4:a8:be:59:ce:c5:35:02:39:ba:c8:
f6:bd:ce:95:60:e6:bd:1e:fd:a7:e3:8b:3f:e7:45:
e0:c9:6d:2d:78:e8:90:46:a6:88:90:04:13:84:6d:
a4:2f:b8:d3:fc:93:f8:31:9a:27:67:f4:fb:1d:55:
80:e4:20:df:8f:b8:b0:c1:42:88:9e:89:e0:29:6f:
36:2e:4e:18:ce:da:92:ad:4e:3e:eb:a3:4f:eb:0b:
20:e6:1d:89:51:cf:8f:43:06:e9:d6:5a:94:6f:6a:
07:b0:43:3e:d7:b1:a0:68:23:1a:e7:10:65:a1:75:
ea:19:bb:ed:7d:e4:9a:07:9b:10:99:0a:5d:75:b3:
15:83
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Extended Key Usage:
TLS Web Server Authentication
X509v3 CRL Distribution Points:
Full Name:
URI:http://www.example.com/example_ca.crl
Signature Algorithm: sha256WithRSAEncryption
9f:4d:e9:78:d5:5f:c1:fb:e1:43:d1:9f:2d:d6:c3:f8:94:56:
0b:94:2d:b5:e7:d2:bd:f6:3b:e1:69:6b:cb:84:e4:8a:a9:fd:
1b:58:16:b5:2d:c7:00:d8:cb:56:37:72:f8:0c:17:a7:17:ec:
52:9c:17:b7:78:90:9e:8c:a9:a1:b4:72:87:96:3b:06:48:83:
27:8b:ca:8d:0c:8d:06:f9:4d:e9:bb:26:5e:76:a7:79:62:31:
d4:99:e2:e3:ad:83:3f:c0:79:5d:0f:60:33:9d:f9:05:cd:12:
25:c3:10:22:81:d4:e3:95:3f:b3:ab:21:84:e7:6b:f5:55:9f:
8d:30:a7:eb:c4:85:23:94:5d:59:08:c7:48:f9:cf:37:98:9e:
96:89:e0:8b:75:05:ce:27:76:e4:bf:e5:14:b6:7f:21:07:bc:
67:53:95:f0:c5:ac:bd:4f:9e:46:df:40:6d:8d:8a:80:c6:21:
80:ab:c4:bd:ee:77:01:16:9c:d5:7a:62:3b:d0:bd:38:6b:9d:
db:4e:0e:aa:cf:03:c8:a5:07:0a:c5:79:42:53:6a:34:74:ec:
01:e1:3b:38:fe:14:15:0a:a1:cf:3b:a7:90:76:ba:1b:34:b5:
70:77:78:0e:6d:2d:96:8b:d5:dc:1b:1e:21:a6:57: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IFICATE REQUEST-----

View File

@ -0,0 +1 @@
V 360727163701Z 00 unknown /C=AT/ST=Radius/O=Example Inc./CN=Example Certificate Authority/emailAddress=admin@example.org

1
ssl/db/index.txt.attr Normal file
View File

@ -0,0 +1 @@
unique_subject = yes

View File

@ -1 +1 @@
00
01

View File

@ -45,10 +45,10 @@ input_password = whatever2020
output_password = whatever2020
[server]
countryName = AT
stateOrProvinceName = Vienna
localityName = Vienna
organizationName = hokify.com
emailAddress = info@hokify.com
commonName = "hokify GmbH"
countryName = AT
stateOrProvinceName = Radius
localityName = Somewhere
organizationName = Example Inc.
emailAddress = admin@example.org
commonName = "Example Certificate Authority"