Skip to content

Commit

Permalink
update cert (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxxf18 authored Aug 23, 2023
1 parent 2bb7bdc commit 0c9cb9f
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 89 deletions.
35 changes: 14 additions & 21 deletions mock/testcert/ca.pem
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
-----BEGIN CERTIFICATE-----
MIID1DCCArygAwIBAgIJAO8a38GXtUc1MA0GCSqGSIb3DQEBCwUAMH8xCzAJBgNV
BAYTAkNOMQ4wDAYDVQQIDAVDaGluYTERMA8GA1UEBwwIc2hhbmdoYWkxDjAMBgNV
BAoMBWJhaWR1MQwwCgYDVQQLDANpb3QxCzAJBgNVBAMMAmJkMSIwIAYJKoZIhvcN
AQkBFhN6aGFveGluMjZAYmFpZHUuY29tMB4XDTE5MTIwMjA5MDg0N1oXDTM5MDgx
OTA5MDg0N1owfzELMAkGA1UEBhMCQ04xDjAMBgNVBAgMBUNoaW5hMREwDwYDVQQH
DAhzaGFuZ2hhaTEOMAwGA1UECgwFYmFpZHUxDDAKBgNVBAsMA2lvdDELMAkGA1UE
AwwCYmQxIjAgBgkqhkiG9w0BCQEWE3poYW94aW4yNkBiYWlkdS5jb20wggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCkkL/EHPbgxpbWNUqkKgPJtFeRyNeK
sNoPeZPTGKHf5um1C1xb4cJ1VF2f3j0h5FVAb2+0ot043ly6pL9OYuToZmc4Uzq5
bnMnldjh26mAXN32IctXCBqUAQSz1nOVt7dlUDb2o8d8w/wnkAxr2WQZAVRtzAbu
MEc8EcRVylc9jKnwJyxdmVEiiaaJbC9qwwZfSq2MLyzDh+IfgNENo9ed72oMdOkH
OI3bIwMe4uHYsK923SbIlLrcKwAq3tivQFplIG54noMsRuDUNMBB5yz84bvntPIo
opNnjDnDWZJSIWL41hb++bCw6HKIq7/Xw/K6OJz/tDOloWSXWWWFMZjRAgMBAAGj
Uz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E
3GSIw55wTQIaVWSD2fePbIts9pToj9OtiyG0/1zlvkht1Go2yCGc0xwaoR0YdW1H
Fi1jpzMfmvJhppQaz5F6F6M6MDgwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQF
MAMBAf8wFQYDVR0RBA4wDIcEAAAAAIcEfwAAATAKBggqhkjOPQQDAgNJADBGAiEA
qaeTS1oKts1XiC6eWkuK0n6TH45yWJvC3/NU6PqpBSYCIQDIHGDb3OL+4OsUitvb
svDCT14MNf0cgIeg7gO+D0Xvqg==
-----END CERTIFICATE-----
10 changes: 3 additions & 7 deletions mock/testcert/client.key
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
-----BEGIN EC PARAMETERS-----
BgUrgQQAIg==
-----END EC PARAMETERS-----
-----BEGIN EC PRIVATE KEY-----
MIGkAgEBBDBuqV8Kh9UIuBeoNZ2QPaJk110U8vUafO4XCJ2dcOju2wEMZpTCkq/S
3jCCEuHWHeugBwYFK4EEACKhZANiAAQgcNPjTiJbfCIdyLlbMvo3ubwm1J12JVvz
s9p14tb8l24UcrzZf6/zdZLg1GPOa6XZ9VNxhE0KVk6H7hcaU3ix/meIXkaUb8SN
TtTvA0y28czokAw3Wj3IIIad53GMSe8=
MHcCAQEEIAwqz3MtAG2O5xaKy2RXWLxcOpKYKWilCs89L27+6it1oAoGCCqGSM49
AwEHoUQDQgAErp2KLVIYfqeCzJlR/gteIZyN7i1/ckXuuXNO1i2GGu/bFdkoj1ST
1ypj1FuY/WpdmwSQHBIVm42s1vf0Gnc7yA==
-----END EC PRIVATE KEY-----
29 changes: 14 additions & 15 deletions mock/testcert/client.pem
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
-----BEGIN CERTIFICATE-----
MIICzDCCAbQCCQCQdPYdNKPnMzANBgkqhkiG9w0BAQsFADB/MQswCQYDVQQGEwJD
TjEOMAwGA1UECAwFQ2hpbmExETAPBgNVBAcMCHNoYW5naGFpMQ4wDAYDVQ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iBFZGdlMQ8wDQYDVQQLEwZCQUVUWUwxEDAOBgNV
BAMTB3Jvb3QuY2EwHhcNMjAwODIwMDcxODA5WhcNNDAwODE1MDcxODA5WjCBpDEL
MAkGA1UEBhMCQ04xEDAOBgNVBAgTB0JlaWppbmcxGTAXBgNVBAcTEEhhaWRpYW4g
RGlzdHJpY3QxFTATBgNVBAkTDEJhaWR1IENhbXB1czEPMA0GA1UEERMGMTAwMDkz
MR4wHAYDVQQKExVMaW51eCBGb3VuZGF0aW9uIEVkZ2UxDzANBgNVBAsTBkJBRVRZ
TDEPMA0GA1UEAxMGY2xpZW50MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErp2K
LVIYfqeCzJlR/gteIZyN7i1/ckXuuXNO1i2GGu/bFdkoj1ST1ypj1FuY/WpdmwSQ
HBIVm42s1vf0Gnc7yKNWMFQwDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsG
AQUFBwMCBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMBUGA1UdEQQOMAyHBAAAAACH
BH8AAAEwCgYIKoZIzj0EAwIDSAAwRQIgOVxan95heTLe3c20iUvPJmX1EPMvfg6J
5GeWeK2cA8QCIQCfO6xOoQj386u+7XD4K4srGdFj77f9tfWt/M6ryIscdA==
-----END CERTIFICATE-----
32 changes: 5 additions & 27 deletions mock/testcert/server.key
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAyo36y2WTjljjeQK9TpI3Y0JcSoUmWPiQwdT5FL3hKYvP59d2
wdR4R+XwlxUWlt3d0tejn/8H9trB7dmtkpI8yjI2VcMsai/eWCFwuCmw8XfU6Uh7
5ZMvUuZE3sZMpcSERBjrZjuctFoGz9nxb/SM3cIj2p2Ih9xRJkmU+fO7+R+hB/pA
eNE9OfHYRSAhqoQ6svWxC3OlO9g4QDqkLp8ANeQiDzZcGVY9E27JI/Ma4AmZABxc
llw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HgkJINvy7kcBTmE
wk7XcdIjpiUSS+d9T2Y11gYqbhj4pFmG77rIF8KAD7d1ouM4eTy5eYbaI14gpB9Y
xpwxZv0CgYAgvttKDqX1JngkQrJIJgP7jrrF+wPQpnTgCxC+mMOtwZkhV7ze1Uw0
sLNitxXrhDzSE7FmOopYYUwvh+w274+aELbb3pZ+TBrIJ2sRodoCNvI4vwLqbeZV
onV2ZCCsbL8KOBEKnuzMUFxzUZVRTLoasNLqXIpFy5OWHtAizaz7Og==
-----END RSA PRIVATE KEY-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIPcuJ/l+/s8PXvAN5M6VNBZrKD4HDW6n6Y4rQCYinF5doAoGCCqGSM49
AwEHoUQDQgAEQXCQTGn4+frJYOumFk8gs8BIbgduEuiHonhYdJTFGIPLiOqPQoIv
DmICod7W0oIzYYXwTF4NfadliSryoXx9IQ==
-----END EC PRIVATE KEY-----
34 changes: 15 additions & 19 deletions mock/testcert/server.pem
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
-----BEGIN CERTIFICATE-----
MIIDejCCAmICCQCQdPYdNKPnMjANBgkqhkiG9w0BAQsFADB/MQswCQYDVQQGEwJD
TjEOMAwGA1UECAwFQ2hpbmExETAPBgNVBAcMCHNoYW5naGFpMQ4wDAYDVQQKDAVi
YWlkdTEMMAoGA1UECwwDaW90MQswCQYDVQQDDAJiZDEiMCAGCSqGSIb3DQEJARYT
emhhb3hpbjI2QGJhaWR1LmNvbTAeFw0xOTEyMDIwOTA5MzdaFw0yOTExMjkwOTA5
MzdaMH8xCzAJBgNVBAYTAkNOMQ4wDAYDVQQIDAVDaGluYTERMA8GA1UEBwwIc2hh
bmdoYWkxDjAMBgNVBAoMBWJhaWR1MQwwCgYDVQQLDANpb3QxCzAJBgNVBAMMAmJk
MSIwIAYJKoZIhvcNAQkBFhN6aGFveGluMjZAYmFpZHUuY29tMIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy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