forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update base * Change to dev8 * Renew expired certs for TestCertOptionsAndRetrieveID (istio#32442) (istio#32476) * Renew expired certs for TestCertOptionsAndRetrieveID Signed-off-by: Rei Shimizu <[email protected]> * fix Signed-off-by: Rei Shimizu <[email protected]> Co-authored-by: Rei Shimizu <[email protected]> Co-authored-by: jacob-delgado <[email protected]> Co-authored-by: Rei Shimizu <[email protected]>
- Loading branch information
1 parent
749b8f8
commit 6736275
Showing
9 changed files
with
55 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Generating ECC certificate for unit test | ||
|
||
In general, we prefer to generate certs by running `security/tools/generate_cert/main.go` | ||
|
||
## ECC root certificate | ||
|
||
```bash | ||
go run main.go -ec-sig-alg ECDSA -ca true | ||
``` | ||
|
||
## ECC client certificate signed by root certificate | ||
|
||
```bash | ||
go run main.go -ec-sig-alg ECDSA -san watt -signer-cert ../../pkg/pki/testdata/ec-root-cert.pem -signer-priv ../../pkg/pki/testdata/ec-root-key.pem -mode signer | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBRTCB7aADAgECAhBrXnHEzo6ficRxHTqVkhpXMAoGCCqGSM49BAMCMBMxETAP | ||
BgNVBAoTCEp1anUgb3JnMB4XDTIwMDQyNDAxMjg0MVoXDTIxMDQyNDAxMjg0MVow | ||
EzERMA8GA1UEChMISnVqdSBvcmcwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQn | ||
OrqOojlPW3hVMnxhPvi9hpb7pgoWkPuXPkpNd737SSkIvePL/Od1RNl2ZgRVlGHu | ||
pTKNxbr2PgWjzinYGMKWoyMwITAOBgNVHQ8BAf8EBAMCAgQwDwYDVR0TAQH/BAUw | ||
AwEB/zAKBggqhkjOPQQDAgNHADBEAiBwqE22zEeiOLjze48h3wVjg4gIKAOLLLml | ||
ftYXwrHYyQIgeAD56ZGhpywak4zLAdE/nWYuNWfYTSLhswLCwo8x3EE= | ||
MIIBZTCCAQygAwIBAgIQJ3oELRM2MUXeo5i1hlVBVzAKBggqhkjOPQQDAjATMREw | ||
DwYDVQQKEwhKdWp1IG9yZzAeFw0yMTA0MjUwMjU2NDRaFw0zMTA0MjMwMjU2NDRa | ||
MBMxETAPBgNVBAoTCEp1anUgb3JnMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE | ||
VfgavwbYmrGNMZg/l2jMbeSNSLfqgVebgo3Mhs4Hhl0529PiVvdbsS0NPoER9IBa | ||
gFs2uxeH0SypCXnEOc8c+KNCMEAwDgYDVR0PAQH/BAQDAgIEMA8GA1UdEwEB/wQF | ||
MAMBAf8wHQYDVR0OBBYEFA7UyJls9sBVHjiCR6/otVfQVzIqMAoGCCqGSM49BAMC | ||
A0cAMEQCIGvYSG6c7fQkM0nhDvJZHPMMOsTh0IXRcS57yQ3CkWyuAiAsLJvnMzZC | ||
1hy5zewJZuL+htWuBRy+mrZ9RpI9JjP6zQ== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIIVpk1ef0vR5sV/PFiNT/GRx2qwm8A4tJ3qGJFfxJ2j/oAoGCCqGSM49 | ||
AwEHoUQDQgAEJzq6jqI5T1t4VTJ8YT74vYaW+6YKFpD7lz5KTXe9+0kpCL3jy/zn | ||
dUTZdmYEVZRh7qUyjcW69j4Fo84p2BjClg== | ||
MHcCAQEEID1/56HQO0X1qhaOGCtj/U47TKy4jzj6lEcpfH4hnLYnoAoGCCqGSM49 | ||
AwEHoUQDQgAEVfgavwbYmrGNMZg/l2jMbeSNSLfqgVebgo3Mhs4Hhl0529PiVvdb | ||
sS0NPoER9IBagFs2uxeH0SypCXnEOc8c+A== | ||
-----END EC PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBWDCB/6ADAgECAhEAznebEvQzXeeo//Uub9V0PTAKBggqhkjOPQQDAjATMREw | ||
DwYDVQQKEwhKdWp1IG9yZzAeFw0yMDA0MjQwMjA1MTVaFw0yMTA0MjQwMjA1MTVa | ||
MBMxETAPBgNVBAoTCEp1anUgb3JnMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE | ||
1UaBDHGElz0MR2dynUfBbJkoX8p/ru56maHwl/oxDFoXxT2NVaAja1JO1dRa3mCi | ||
4VqdZn0mTU2UaRZj8h3EkKM0MDIwDgYDVR0PAQH/BAQDAgWgMAwGA1UdEwEB/wQC | ||
MAAwEgYDVR0RAQH/BAgwBoIEd2F0dDAKBggqhkjOPQQDAgNIADBFAiEAl1sIluHk | ||
dq8m5VqdmUWTsIGWq4sQwri1NkKU0nirsGYCIHoWOptmbUGgGehcK8XnyV69yjke | ||
qNdLwEABudIIrFjg | ||
MIIBUzCB+6ADAgECAhBQCICNL1AItK+U7Y1xB5ZyMAoGCCqGSM49BAMCMBMxETAP | ||
BgNVBAoTCEp1anUgb3JnMB4XDTIxMDQyNTAyNTczNloXDTMxMDQyMzAyNTczNlow | ||
EzERMA8GA1UEChMISnVqdSBvcmcwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQk | ||
XQZYEyiug7lkZxBSGXjwg0MTGoS9C2VJUrUoVqisfIW2IUGZayAIA8eSixY1v8UD | ||
OHxO/6TvjRyauIzWzWDsozEwLzAOBgNVHQ8BAf8EBAMCBaAwDAYDVR0TAQH/BAIw | ||
ADAPBgNVHREECDAGggR3YXR0MAoGCCqGSM49BAMCA0cAMEQCID2XGmwzOuzQqIlP | ||
JLnUYeBeaLHLgB/PsJ1wN8iwnTlPAiBNg6lGxQ0J1jI8KCpQSCb9qMNnBXqjqA+s | ||
PHjtECxe5g== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIO39+hceDAgp4KlNsfrCs9b9dgqG4d1zyVErHtPYENnxoAoGCCqGSM49 | ||
AwEHoUQDQgAE1UaBDHGElz0MR2dynUfBbJkoX8p/ru56maHwl/oxDFoXxT2NVaAj | ||
a1JO1dRa3mCi4VqdZn0mTU2UaRZj8h3EkA== | ||
MHcCAQEEILe5InDwcnOFchsKXAVR0keo+uXWJ5aJqa352OAwcX79oAoGCCqGSM49 | ||
AwEHoUQDQgAEJF0GWBMoroO5ZGcQUhl48INDExqEvQtlSVK1KFaorHyFtiFBmWsg | ||
CAPHkosWNb/FAzh8Tv+k740cmriM1s1g7A== | ||
-----END EC PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters