Skip to content

Commit

Permalink
Add management interface client cert to configs
Browse files Browse the repository at this point in the history
  • Loading branch information
spb committed May 17, 2023
1 parent 03ba933 commit c3b8d6d
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 3 deletions.
27 changes: 27 additions & 0 deletions configs/mgmt.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAsZq0ftD6hludYdN+PGKG3JeOjVZvNHfSWwqFUycRFHv5H4T3
ZhRDv3fCwo7bR1zllFOi9S59rtWsS5X/R8OCytSZQ9zOgtI2HleEiDQD+q+Im6IL
KY6jjd4Yn0YoChMW+iJ0zk5SBZNwAotqcUPJzDC25eJxzb4T3rwOV2oMdEt58mHo
kCqFFCIV3iF3HSgAr8tZz46ff9yJTt4ryJUaBfP8w0uBNfiJDdA7Fk0eYGrIP4lr
RDuD1IDr7HOVNvZNxhajuhD2PS26LcyNH1+3RxAQIR0zRED502A1LqIwmmZOlQ0k
zptcRHJc4ZPC0m+upcaWK/L2PRKuKxGfenWjhwIDAQABAoIBADxME7+CX6vB6trN
nOwPX04BPmqJz9N2Yrp6Be3HM6tKs7eZwwyrEJ0uobbAHX5K8b677nVjRVRYQtie
oj7RB9So/SfnDU2o5KrEd8BuOHOhqLV9/GAthyWhI6bfgLR66rAdhp6MRJiUB9E1
V/wAUcC7QT0m9hAt2j0ih5Px8yx/6pL5eBQbVafSTSrdgD1550EaKZ0hzqHWtLZ3
chM8TFS4RDm2CfRgXFRl5y5ynFxVNQt9xPyN2IR/OWfxm5YTznWXsEr0uxaI9eYQ
lNQY4IrkyAMq+ZiX9gwmphr8SCNVVIXAtnFfyw5shsEm3fH4//DYrqRgIOQTmZIs
Y5m63oECgYEA3SripQ3jlsQNAU8TiH/63JzytoJW1akXEiOaK+8RDfFkx3YJZhMh
K3f7NLze1Bcj8NjdF3nAhjE6XDdi02Svkz54UxKGPobd5PO/noteMdgloseOFkr/
Et4wopOQ4sPhwh8uV8NyMp0HRkpQ1fcCIP8mumIXrUr/Vp7GC7ZcXmECgYEAzZNs
FU6liGfgX4n7+Hl7+BCHYIIU1krHUrSp9Lo3WxDwlLTl1bTYDDtZaczD+YdpewC/
PK8WZXXmg3mR2wW2oEfmCtqdcsGEi/J65HIFkFfdwrL4JpMGCuZnlD5lmrMtupvH
U8X8fjHb1GoMd8/1HQ8E7gY0yLmCH0PhG1jKuucCgYBcr6FF/JkZUNYGa2ZLOR8f
n2KUG/FaHz+86VCuAsVJ65UJhi0QKwomlmSfSFu11HDKeYfGU87cLftANDHlV3fB
JFf2sHez8n9BeOkf/1YdW3ECU9D3BLz64kTNjTwV3HNbEAgy3YSZM3ed/Hz9/kNV
IrjPOVak2B5D5cwnkmgJYQKBgD3vmZO90y+KpFYEe468AzaUvES+TErX0r+/QKlD
5WOhcepLqic9yg29X835bF3kh0oQyo0c7zF4WQ/pc6E6UnBt2QgSH3ewiB+l2ZK0
K6r2XhDH3O26RArKqhBG0FPQggmD34UE1HKs0N9paAI8/EtZ+BFCe2qyQVrsF4km
skWnAoGAE+rcWc+ZiWll2UpEioBf1Sp1LdK/jCbstie+FwwmzjANnDXLDBmeR1Ww
FhhGiHdYuMu1hiqYgaSLshTa0qh+/iUQEzICT+NWu3m26YFAXxNylvkSeAtvz+p8
5kQxSchukJTqaf+KzR90fJkx5AwV6SVWqFI2ROQkU6Riw+oNyvw=
-----END RSA PRIVATE KEY-----
101 changes: 101 additions & 0 deletions configs/mgmt.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 4110 (0x100e)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=GB, ST= , O= , CN=Test CA
Validity
Not Before: May 17 21:36:25 2023 GMT
Not After : May 15 21:36:25 2028 GMT
Subject: O=test, CN=user1
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:b1:9a:b4:7e:d0:fa:86:5b:9d:61:d3:7e:3c:62:
86:dc:97:8e:8d:56:6f:34:77:d2:5b:0a:85:53:27:
11:14:7b:f9:1f:84:f7:66:14:43:bf:77:c2:c2:8e:
db:47:5c:e5:94:53:a2:f5:2e:7d:ae:d5:ac:4b:95:
ff:47:c3:82:ca:d4:99:43:dc:ce:82:d2:36:1e:57:
84:88:34:03:fa:af:88:9b:a2:0b:29:8e:a3:8d:de:
18:9f:46:28:0a:13:16:fa:22:74:ce:4e:52:05:93:
70:02:8b:6a:71:43:c9:cc:30:b6:e5:e2:71:cd:be:
13:de:bc:0e:57:6a:0c:74:4b:79:f2:61:e8:90:2a:
85:14:22:15:de:21:77:1d:28:00:af:cb:59:cf:8e:
9f:7f:dc:89:4e:de:2b:c8:95:1a:05:f3:fc:c3:4b:
81:35:f8:89:0d:d0:3b:16:4d:1e:60:6a:c8:3f:89:
6b:44:3b:83:d4:80:eb:ec:73:95:36:f6:4d:c6:16:
a3:ba:10:f6:3d:2d:ba:2d:cc:8d:1f:5f:b7:47:10:
10:21:1d:33:44:40:f9:d3:60:35:2e:a2:30:9a:66:
4e:95:0d:24:ce:9b:5c:44:72:5c:e1:93:c2:d2:6f:
ae:a5:c6:96:2b:f2:f6:3d:12:ae:2b:11:9f:7a:75:
a3:87
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Cert Type:
SSL Client, SSL Server
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
84:4C:4B:FB:8A:A5:46:1E:69:76:C8:23:2D:C8:1B:A0:70:C4:3F:3C
X509v3 Authority Key Identifier:
keyid:59:7A:09:B8:DA:B7:DB:E4:09:82:F5:79:2A:54:B8:C6:E6:7B:1B:0A

Signature Algorithm: sha256WithRSAEncryption
68:76:cd:fc:59:f1:93:f2:58:62:e0:fd:83:16:8d:ce:39:5c:
b5:8f:38:5e:83:ce:04:7f:ae:ec:f9:5e:4a:e8:25:77:82:5b:
b3:a5:82:c8:bf:f9:5e:99:ba:75:86:b4:52:20:21:e3:45:71:
6d:80:99:37:77:8e:f9:50:9c:2e:04:19:10:e8:e8:03:6d:4a:
62:8a:df:52:37:84:e9:8d:34:42:c1:17:a3:b6:be:84:3a:97:
ea:ed:ab:31:8a:78:da:bf:ac:6d:49:3c:4c:be:ea:18:63:d5:
2d:35:bd:11:81:bf:ae:0e:75:51:2a:86:d9:e8:1e:61:aa:cb:
85:0f:88:88:ff:8f:55:61:c8:d6:97:eb:2a:f1:e7:74:9c:7f:
3e:e0:6b:21:fb:8f:5a:15:d3:d0:11:6b:6a:55:77:c1:a5:7d:
43:cd:24:62:25:49:e2:f9:c4:8e:2e:13:8e:76:54:f1:c9:68:
71:41:6a:26:ea:bf:5c:f8:e3:cf:6d:11:4d:d5:92:e9:c4:4f:
f7:60:2f:a7:b5:30:56:f5:39:9a:4c:9c:1a:03:c1:28:2e:3d:
95:1a:59:83:54:fb:8f:b8:30:45:95:35:4a:e1:9d:79:c9:fb:
df:d1:44:1b:cb:3d:25:1b:85:e5:38:25:a5:19:83:23:18:80:
87:a1:ae:d5:02:01:23:0d:84:69:91:78:35:84:d2:f2:da:3c:
6e:a2:55:3b:f1:3e:ae:0b:ec:62:e8:e7:2c:72:de:bd:b0:b1:
9a:c1:73:81:e8:42:17:1e:32:5c:d2:49:70:ce:07:cd:bc:24:
05:10:f9:e4:64:1f:7a:89:ce:66:94:5d:f9:ef:75:34:76:c5:
ab:3d:86:7f:f8:52:0d:75:30:37:29:cb:2b:3a:5f:a2:e3:b3:
9a:bd:b6:c5:2e:de:3f:47:79:28:7b:e4:86:ec:07:6b:d8:7b:
cd:74:e2:23:e9:95:3d:d5:b4:39:f6:c2:f6:f5:0f:0c:8e:25:
b6:14:0f:08:2f:5c:4b:5b:a5:af:73:39:49:47:8b:7a:77:cc:
73:8c:2e:65:b3:3c:29:20:11:62:1c:c0:d5:a5:c5:5a:dc:83:
39:d8:24:b6:be:b2:d8:52:ee:40:d3:07:4c:5f:53:7e:34:85:
ad:8d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ICAQBods38WfGT8lhi
4P2DFo3OOVy1jzheg84Ef67s+V5K6CV3gluzpYLIv/lembp1hrRSICHjRXFtgJk3
d475UJwuBBkQ6OgDbUpiit9SN4TpjTRCwRejtr6EOpfq7asxinjav6xtSTxMvuoY
Y9UtNb0Rgb+uDnVRKobZ6B5hqsuFD4iI/49VYcjWl+sq8ed0nH8+4Gsh+49aFdPQ
EWtqVXfBpX1DzSRiJUni+cSOLhOOdlTxyWhxQWom6r9c+OPPbRFN1ZLpxE/3YC+n
tTBW9TmaTJwaA8EoLj2VGlmDVPuPuDBFlTVK4Z15yfvf0UQbyz0lG4XlOCWlGYMj
GICHoa7VAgEjDYRpkXg1hNLy2jxuolU78T6uC+xi6Ocsct69sLGawXOB6EIXHjJc
0klwzgfNvCQFEPnkZB96ic5mlF3573U0dsWrPYZ/+FINdTA3KcsrOl+i47OavbbF
Lt4/R3koe+SG7Adr2HvNdOIj6ZU91bQ59sL29Q8MjiW2FA8IL1xLW6WvczlJR4t6
d8xzjC5lszwpIBFiHMDVpcVa3IM52CS2vrLYUu5A0wdMX1N+NIWtjaFiiEqZNcP/
zN5xOFy3TlKBGZ2P24GTyUsudk2fl31fJL8+bHOqaKWa6UNMHQ0gL7Qw0xsoyNFD
eCZxiB2XQqhyHuzbWjLZS4Ae3LCwsw==
-----END CERTIFICATE-----
2 changes: 1 addition & 1 deletion configs/server1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"address": "127.0.1.2:8888",
"client_ca": "configs/ca_cert.pem",
"authorised_fingerprints": [
{ "name": "user1", "fingerprint": "ef6d9512ce159d8ef0ec56e5769b76f537936862" }
{ "name": "user1", "fingerprint": "435bc6db9f22e84ba5d9652432154617c9509370" }
]
},

Expand Down
2 changes: 1 addition & 1 deletion configs/server2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"address": "127.0.1.3:8888",
"client_ca": "configs/ca_cert.pem",
"authorised_fingerprints": [
{ "name": "user1", "fingerprint": "ef6d9512ce159d8ef0ec56e5769b76f537936862" }
{ "name": "user1", "fingerprint": "435bc6db9f22e84ba5d9652432154617c9509370" }
]
},

Expand Down
2 changes: 1 addition & 1 deletion configs/services.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"address": "127.0.1.4:8888",
"client_ca": "configs/ca_cert.pem",
"authorised_fingerprints": [
{ "name": "user1", "fingerprint": "ef6d9512ce159d8ef0ec56e5769b76f537936862" }
{ "name": "user1", "fingerprint": "435bc6db9f22e84ba5d9652432154617c9509370" }
]
},

Expand Down

0 comments on commit c3b8d6d

Please sign in to comment.