Skip to content

Commit

Permalink
fix expired cert
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulait committed Nov 15, 2024
1 parent f67f48b commit 198de5b
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 74 deletions.
61 changes: 31 additions & 30 deletions e2e/test/certificates/server.crt
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIFcjCCA1qgAwIBAgIJAM2X8k3I/mF6MA0GCSqGSIb3DQEBCwUAMFIxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQxCzAJBgNVBAMMAmNhMB4XDTIwMTEwOTE3NDU1NFoXDTI0
MTAxOTE3NDU1NFowcjELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAlBBMRUwEwYDVQQH
DAxQaGlsYWRlbHBoaWExEzARBgNVBAoMCkxpbm9kZSBMTEMxFDASBgNVBAsMC0xp
bm9kZSBUZXN0MRQwEgYDVQQDDAtsaW5vZGUudGVzdDCCAiIwDQYJKoZIhvcNAQEB
BQADggIPADCCAgoCggIBANuycV24k/tGqbUrxNrhWpCUH/qsE+ZhhQjWkBUQQ3cc
S01BelMoJWX5U/SnVbSfZJrMmY/b4RZ8bM1p6FCtWP67pzmE3yZTQVadvHzuNx61
LWhxQmZ3L7tAuE3XNPe9tadqT+Z4YF7/AbWXgwFWP4Y0iBoD9dVjS0lj9nmZ+Pqu
Ia+4lKlai0WFc+XuPPW9bBF6Qokg1rquhlkc7xAarh19BfNplvOAzH2tk63BuG8N
ItK+JylnIAd2re7Ed9g7xDxbBYhK3hYDbMe29SnBvp4MwN2Si/W74kCki445+PFT
6Ff8OZU9z2BiAI8LtrWzWPCenVHJ4uGh5yMIcARVW+dvfXiBAp3HLnlRMcPC7VwW
DlCk+APHaCst2QauAflmPDdEIROh/Lbi6wJeiFIfK3brryXN/PkCAw+iCq+fM7nr
LeqtP5Tb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UcCAwEAAaNrMGkwJwYDVR0RBCAwHoILbGlub2RlLnRlc3SCD3d3
dy5saW5vZGUudGVzdDAdBgNVHQ4EFgQUgNqzhL/JpxllvFu18qvlg/usDrEwHwYD
VR0jBBgwFoAUC2AMOf90/zpuQ588rPLfe7EukIUwDQYJKoZIhvcNAQELBQADggIB
AL38v8A0Yfi3Qcr7JtMJ+EOgiHo+W1PW05CAKrswqIZGb9pLwcc46N1ICX4/wItH
DfOmiLHEJ+eEaf07XWy1G+orvqsz6FLh2lfr1cne2DH1udiBXw2VyHDeaighgqTX
rHPcV9lLPcRgQgE8AC2WSn3Rmjd4eU+twlqYcJTLt3cy+TulwXxGBjn7CSmRamRA
AaURnVpsMhw9baINrN6+3zbjw1LKpMO3JfPx9NPw0iUYYbUWFMli2RTEwdR0o9Fu
Om6ogyYHHLTUDv2+cHYY4TKJ0LGz9PGB3iwdGbSSpLadjV7xkFERio5B4o/FedLB
CuECSIoWqjScSrVWjpIpG6b7LVkuDI7ZrZ6Rvkwcv4Zezx5TkynQUw9EezEgGRQf
RiBSKoPGKJfRGiYGNXDjqENX3kxqt5cuVe/Z0czrb+2zOMfaTZwJtp2rrJqckxBh
CK4CXQz2nsfGRW/lyJ1Jyc+ul0obXXhynDBA9dE5woCIwgTCRL9M0ZOHjoQi1tDh
27i0j4YzIvlIDIi6iex/XVZi9mhuRvDR7f7c5RVpHsu38znCLyQetFnwOQOmIVZI
lEUQvU1Jnk+e5+RqvOcZ0ZcLppBa71XjUdYm56mzY1ph04n1VUO4rmaI3wNBETGd
jJ3K7XuBBL/YT+02AzsZR/0fiHLdA9DbLUdhtRs0mb5u
-----END CERTIFICATE-----
27 changes: 13 additions & 14 deletions e2e/test/certificates/server.csr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----BEGIN CERTIFICATE REQUEST-----
MIIE8TCCAtkCAQAwcjELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAlBBMRUwEwYDVQQH
MIIEtzCCAp8CAQAwcjEL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NBMsmZVDGHlfPRPAuMnYHelIvdNVrmHgU8Ry39sSlap
ow2nLjP5xFFvS4dLpx1s7pLlExb4ZG+BTEyEa18nVCaXCZSK51uXshwL3OLWnuzl
JBMFOuw3JtR02XZ/EUdgJG/Js8B1zAp8YuBwgx9uyh3WHSBfUFRPSz68h/zn6MP8
y6dGvgl7tShru6KQi7GiboeEzA8brn5y3UDmXG9/Wz6zCKagoks6otwdqfTo02Sp
bK+R/OrA/rXS4jVp5vupXswrgmdh
AgMBAAGgADANBgkqhkiG9w0BAQsFAAOCAgEApsfWctJGSTDRVr/9aiYk8IGYlYLc
xsUJ3FjsT2hmKiAnBrRi2JICTU3HXp0rBlclsWsO0Oc/XyKyfHHxH/t4efDWVo49
qM1KaAilqFVG1rNI+E7jFfheosgmV19xOBhI5rEL0vWraumEr8DSj76+Em0dbvev
f+dUV5cwbV9B9eAvymR0wvv2kr2zHl4ExdAr1KzIKH/juiVJID1SfQcAxSKLgVU+
2z09R84EWI495+UZBUNlcQPANh+R7VsrKrSBYuP9ZFioZkWNwMDFsGCOlyqYu9kb
QhikKpUIBPmOYmcDd7PsqtmJWD/jfn6tPoR3KdP70F4008boG5h4Jcu3syP32QiX
TNb7Fk/EygTCaGrSsynoc0LmF40kJ5xt+hKNAjh8L52MOcMjYdthFKz/V4XJ/xJf
up3MoMRl32II2hqO7t4vHvKFanfHB91M5mLq3H6ZI8amNORZyf5K1mNDj4eOnPxT
d5v1KHFYGmpMaVdYGCN8IXJCShI4gC+BnCZUjHiGuhOosmNLjDVwg1gpUI2kDa0D
rVZVCTwE1ugFGic34VTxD6OmuRGZmoeLSl6cfc/NC+tpWfT+1d4lTAWa/F0pL5yX
PVu0CvIqV6PfAw+f2IAts1HZW3chEX7+TYB9oJplQk/HbJKHWb5j6No1Im0eSuSt
xKxoKTlLRyxpRJQ=
-----END CERTIFICATE REQUEST-----
61 changes: 31 additions & 30 deletions e2e/test/framework/secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9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QADggIB
AL38v8A0Yfi3Qcr7JtMJ+EOgiHo+W1PW05CAKrswqIZGb9pLwcc46N1ICX4/wItH
DfOmiLHEJ+eEaf07XWy1G+orvqsz6FLh2lfr1cne2DH1udiBXw2VyHDeaighgqTX
rHPcV9lLPcRgQgE8AC2WSn3Rmjd4eU+twlqYcJTLt3cy+TulwXxGBjn7CSmRamRA
AaURnVpsMhw9baINrN6+3zbjw1LKpMO3JfPx9NPw0iUYYbUWFMli2RTEwdR0o9Fu
Om6ogyYHHLTUDv2+cHYY4TKJ0LGz9PGB3iwdGbSSpLadjV7xkFERio5B4o/FedLB
CuECSIoWqjScSrVWjpIpG6b7LVkuDI7ZrZ6Rvkwcv4Zezx5TkynQUw9EezEgGRQf
RiBSKoPGKJfRGiYGNXDjqENX3kxqt5cuVe/Z0czrb+2zOMfaTZwJtp2rrJqckxBh
CK4CXQz2nsfGRW/lyJ1Jyc+ul0obXXhynDBA9dE5woCIwgTCRL9M0ZOHjoQi1tDh
27i0j4YzIvlIDIi6iex/XVZi9mhuRvDR7f7c5RVpHsu38znCLyQetFnwOQOmIVZI
lEUQvU1Jnk+e5+RqvOcZ0ZcLppBa71XjUdYm56mzY1ph04n1VUO4rmaI3wNBETGd
jJ3K7XuBBL/YT+02AzsZR/0fiHLdA9DbLUdhtRs0mb5u
-----END CERTIFICATE-----`
serverKey = `-----BEGIN RSA PRIVATE KEY-----
MIIJKAIBAAKCAgEA27JxXbiT+0aptSvE2uFakJQf+qwT5mGFCNaQFRBDdxxLTUF6
Expand Down

0 comments on commit 198de5b

Please sign in to comment.