Skip to content

Commit

Permalink
Merge pull request #6 from pubg/v2.0.0
Browse files Browse the repository at this point in the history
v2.0.0
  • Loading branch information
bitofsky authored May 13, 2023
2 parents 4112d77 + cddf82a commit c0cd558
Show file tree
Hide file tree
Showing 39 changed files with 1,783 additions and 362 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/examples
/test
.git
.gitignore
**/*.md
117 changes: 109 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,119 @@
This is a gRPC Path-based Envoy Config Generator for Envoy Container Runtime.

It is designed to route to grpc hosts using minimal and simple routing syntax.
It is designed to route gRPC hosts using a minimal and simple routing syntax.

---

## Environment Variables

ENV | TYPE | DESCRIPTION | EXAMPLE | DEFAULT
---|---|---|---|---
PATH_REDIRECT | string | path to redirect. comma separated.<br/>/PATH/->HOST:PORT,/PATH/->HOST:PORT,... | /package.name.service/->127.0.0.1:50051|
NODE_ID | string | node id | node-1 | envoy
NODE_CLUSTER | string | node cluster | node-1 | envoy
ADMIN_PORT | number | admin port | 9901 | 9901
PORT | number | grpc listening port | 50051 | 50051
ENV | TYPE | DESCRIPTION | EXAMPLE
---|---|---|---|
ROUTER_CONFIG_PATH | string | Router Config File Path. if not set, use ROUTER_CONFIG | /config/router.json or /config/router.yaml
ROUTER_CONFIG | string | Router Config JSON | see below

## Router Config
### Types
```typescript
type RouterConfig = {
filters: Filter[],
nodeId?: string,
nodeCluster?: string,
adminPort?: number,
/** Listener port */
port?: number,
/** Listener TLS cert name (sds resource name) */
certName?: string,
/** Listener CA cert name (sds resource name) */
caName?: string,
/** SDS config resources */
secrets?: Secret[]
}

type Filter = {
path: string,
host: string,
port: number,
certName?: string,
caName?: string
}

type Secret = SecretTLS | SecretCA

type SecretTLS = {
name: string,
tls_certificate: {
certificate_chain: {
filename: string
},
private_key: {
filename: string
}
}
}

type SecretCA = {
name: string,
validation_context: {
trusted_ca: {
filename: string
}
}
}
```
### Example
```json
{
"certName": "client_cert", // enable TLS listener
"caName": "ca_cert", // enable TLS Validation Context
"filters": [
{
"path": "/package.name.service/",
"host": "localhost",
"port": 50051
},
{
"path": "/package.with.mtls/",
"host": "localhost",
"port": 50051,
"certName": "server_cert", // enable TLS for this route
"caName": "ca_cert" // enable TLS Validation Context for this route
}
],
"secrets": [
{
"name": "client_cert",
"tls_certificate": {
"certificate_chain": {
"filename": "/certs/client.crt"
},
"private_key": {
"filename": "/certs/client.key"
}
}
},
{
"name": "server_cert",
"tls_certificate": {
"certificate_chain": {
"filename": "/certs/server.crt"
},
"private_key": {
"filename": "/certs/server.key"
}
}
},
{
"name": "ca_cert",
"validation_context": {
"trusted_ca": {
"filename": "/certs/ca.crt"
}
}
}
]
}
```
# License
MIT License
Expand Down
2 changes: 1 addition & 1 deletion bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ npm run start
echo ""
echo "Starting Envoy..."
echo ""
/usr/local/bin/envoy -c /tmp/config.yaml
/usr/local/bin/envoy -c /tmp/config.yaml --use-dynamic-base-id
19 changes: 19 additions & 0 deletions examples/cert/ca-trust.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDATCCAemgAwIBAgIUXQdokYFGvwjzEQPXZlvzZYemNXgwDQYJKoZIhvcNAQEL
BQAwDzENMAsGA1UEAwwEdGVzdDAgFw0yMzA1MTIxMDU5NDFaGA8yMTIzMDQxODEw
NTk0MVowDzENMAsGA1UEAwwEdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
AQoCggEBAK07tx8J8NTYMx6LA/931qTG6PHZ3nuSQIvrkDCWhDJXwqvv8qCbJ1LQ
M0GiEPiY4YdXiHCek/ctQygH3e2cCKpNUQXp2vCpEjlbhGQQnjwfulNo/cuoMrEY
XwieBAignieSo5KvS5JeWmDoMCRa5LnCEJVSNer8K4K503ASdUv/wy4MIGvTdMg7
AdwohT3ebF+c2urQ8hnvrNDMZ2ISBhvhoTRf7cmYadPotrRo0Zrz7lvUyfsUIaok
Uc1iuvf3rmCcupLCFeXxIA+2PBS2j+fvt9GRGBipuiTLa4M7f8Bt0274dYVH000G
UQWWDRGlNA/n6KlNxoBTkJjN8eUQeIkCAwEAAaNTMFEwHQYDVR0OBBYEFGEtsPws
Mx5Vtoiw70HtxvtbJCyvMB8GA1UdIwQYMBaAFGEtsPwsMx5Vtoiw70HtxvtbJCyv
MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAJocu83cqofU/nzL
ycPvKMPAIYdQqAHIyQ//qJRfudjEFTESZ/V8dMF2Tkd1e9q0Q1r0Vq2ZIkEiI5GD
lAzasW3NxoALnJEwWukiOUqMg+lnPxza7G0+r8Ov1iHvTt6Ne49m7beAjUxk7jJX
Y/RE81RjCNsyCZQN00hVHcxMVmq3ob+RWdOc5BwJDkbJYbaFA/07KxD0A0SW/a6X
p8WjFf5hR33ieZe8uSIaSEeJtZV3ejg8xZ1rnGj9tecVM4hyGUuXeMOenxcdtM7v
fpylIygAZIZnykErmhwW8kdrmcyGnzXptWFi9qOM4maNWUqJPn3VZlXG3z2nInfU
PCWxti4=
-----END CERTIFICATE-----
28 changes: 28 additions & 0 deletions examples/cert/ca-trust.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCtO7cfCfDU2DMe
iwP/d9akxujx2d57kkCL65AwloQyV8Kr7/KgmydS0DNBohD4mOGHV4hwnpP3LUMo
B93tnAiqTVEF6drwqRI5W4RkEJ48H7pTaP3LqDKxGF8IngQIoJ4nkqOSr0uSXlpg
6DAkWuS5whCVUjXq/CuCudNwEnVL/8MuDCBr03TIOwHcKIU93mxfnNrq0PIZ76zQ
zGdiEgYb4aE0X+3JmGnT6La0aNGa8+5b1Mn7FCGqJFHNYrr3965gnLqSwhXl8SAP
tjwUto/n77f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cjp7x29O077CxPubRr+7t4eToXH2+T7
ykz6bRwc1f4AeRiFDDA6bIzDgtl4Sh7tKxXeQLOvlQKBgC3VuDecqSNyc7SPkOVL
qmrdCca5+mTSwRMD4cg2NJxxoHyP4ausPcqyFTuhRxFfp0hHmmSPKOzxfmuU1Fj3
bya0ve6q9k7xUvuv2tMzykwWG+n9VwyFO7kdzdaY23p42MPsz/KAJQdk+PD0AXe+
+h30DaBN4EImdE+ExUFGQH01
-----END PRIVATE KEY-----
1 change: 1 addition & 0 deletions examples/cert/ca-trust.srl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3C9377DDD5A7CD84BC00C31C601E21FF5C008068
15 changes: 15 additions & 0 deletions examples/cert/grpc-a.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICVjCCAT4CAQAwETEPMA0GA1UEAwwGR1JQQy1hMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEA1Ax2eTgnO5nRoGVRDrb0KcWcxGy70ELxZoAEh1oqAcZg
aQYfhmgNBZXuskhs8HSzeDz6P3hQoUNNdUXlPMmYI2HVpj4mTgCzMuht10m/PGXV
rmtoqdLOosgGRKOnLXMcGVZTGsvgN0PMXJuuBaHPdBa4l1mNzQ5R3DFnsTRryS2i
GS8PNZYmlLoauyolEFsx8qjG/eOn2qlNZmY/u6NDbkOYhBI/XDMwfKirEsDdEP7n
f0HeHyCgdH57Je910J8qJBbD0KNDFGZUcv9rPmzfEg20EC5U6nc0T6kGzd1oXoMy
1xsPyS30OSi4h4xO6ztmhu1TvgEmyelSIFbb+8GajQIDAQABoAAwDQYJKoZIhvcN
AQELBQADggEBABTycnL4RfP789kUSlVed4sm+lf2yPssb1jfRYLbwd07H22DKzkn
V6xlUGaBC3QyyxB32IPBm3I1pIP2OYOWSUe7qJayYwsd/xO2z6wb87PhTu/NwElY
++uf5C8S4LUGPugbmwbVhDpPK8K3Jw6gcoWihQ1t/HKP/G6Ta/AyGKTzFNxe5K2c
CvEjkWQoOeWIm6+9OKodaJiMubTKgQUc0oEyCDaPVFgW1ahtUl0xZ7ceMDZHfcJZ
yu0wkhkcZPWIm4S3dsCk2vl9VlSyCc+OheX9t1xVlZaxMDuFrBCNFX9hMbNhKHim
vYgnWv8i1PJg9XlaI9MY5Z29gEaHa7PK+Vo=
-----END CERTIFICATE REQUEST-----
28 changes: 28 additions & 0 deletions examples/cert/grpc-a.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDUDHZ5OCc7mdGg
ZVEOtvQpxZzEbLvQQvFmgASHWioBxmBpBh+GaA0Fle6ySGzwdLN4PPo/eFChQ011
ReU8yZgjYdWmPiZOALMy6G3XSb88ZdWua2ip0s6iyAZEo6ctcxwZVlMay+A3Q8xc
m64Foc90FriXWY3NDlHcMWexNGvJLaIZLw81liaUuhq7KiUQWzHyqMb946faqU1m
Zj+7o0NuQ5iEEj9cMzB8qKsSwN0Q/ud/Qd4fIKB0fnsl73XQnyokFsPQo0MUZlRy
/2s+bN8SDbQQLlTqdzRPqQbN3WhegzLXGw/JLfQ5KLiHjE7rO2aG7VO+ASbJ6VIg
Vtv7wZqNAgMBAAECggEANv98gvhDhLvimP1uRqjBL0xn2rJxDBUw02sEwa5rEsbH
HrZN2uiF6Br5LBiI2N0L53W5Wlj0YL86Cd61FE0dPqATb+jSuoyH7f5G7v3bseif
wXtuTA23NpU2uvrPU4R1l0TCjUKvxuW4zZQ7UI6lZfC2s9qwYq0CImBWCqoUArtw
E5ZY7NBVY7c+PfknpuWUY2p61atxbFwbnB7TkwiBZGZZGpavlwTdKUq6FM9UosLy
kRB8bAXEgNYXYH9OiukE8h+5MRgFaFW82mqIcydqtUDy0h0Ib3fskoVB0sTc/Gnj
x4N6YsVjpL7BGXWMUnfqL4Y6+Rff2bPWvjPF7xWG6QKBgQD6GEqsgXxBJ1tTNWtg
QK+2lrECcI6D05PHIgOd5LH+elpOnGnAG0TfMIRq4ZrqRxAeAk7pcVYDOzoD4bk6
DvA9jFgemW8uMt8mHCNH3RVG3YfboQDTzJWJ2AlQ+4dSqHsWk9OVFUYbEYLS7N5k
Mdw27pvPCOl9kK9G0jaU3bZgBwKBgQDZDjMGNscuK04QEOoHSbPOW7a7e7zU30Vb
fdmV2n7c1x6M6RO50E0Lxn7dXw/RUqEGNlRBRPeEVaH1dyLwsPj+jtGaFq81ngoR
31kogWxZoiOWyMKn/uGimVUBJ4I3TpzJIyatyNfgtpjjCmtSfcndhfAwd/a5b2Oq
OVWuPUmjywKBgQDDpZ89Rmqy+Zv7Ay5F9TTAzTAabX0/6ZOQ064qpg8MuiDNoJUm
AO8m/uiISIeNQRx9rWaYPt5/1qRzBvGFVsxgCduhzHxqksd5I8gB3xVXA9TVXyWr
iz9sv4HCRZM+eakZJ3n9BdB7On6yjTUJAux4WL+w/hLS9Q35hFfIq42RnwKBgEnY
u+FcV63Mi/WJW6X5HFST/XqR4a/m+njjO1jxioHmKn20esKYLO5ZrSXxxrbnzuMH
Luk55qA+ZijWTKvo+f3ZZ1RubVPnnfNwsqvGRK/GKyeMzDVN0UR5uGL5JyNb+pmv
/OPZViEc3q04CUV6iGh2vj4vQmDaleT/NrheH6S7AoGBAPTlaDqGM+85pRetS5Qv
xe9cFwEBiJphT5o+PnaymwNwQQdYMkdiaZE2AVjwWjPhzNQVH47eOX1525e2eIZB
m8l75/Y2iPumXk+nqMWFBzCHlv8qUBLQ5VdReY6BUnaQVAkVh4vCHzLcwetOLGMC
I+oXNgSqxGP90BfA8ANN/NGR
-----END PRIVATE KEY-----
17 changes: 17 additions & 0 deletions examples/cert/grpc-b.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE-----
MIICqTCCAZECFDyTd93Vp82EvADDHGAeIf9cAIBoMA0GCSqGSIb3DQEBCwUAMA8x
DTALBgNVBAMMBHRlc3QwIBcNMjMwNTEyMTA1OTQxWhgPMjEyMzA0MTgxMDU5NDFa
MBExDzANBgNVBAMMBkdSUEMtYjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAOpAlzyR6Gef2LDWtHl8SWWd1U8N8hrZApX46I6K8dJrhDNtgtVZP7bROiJe
S2p5qF8wvE/xJxpB3h8FgUXt7UgDlN86ikGcrpFSnwQi67WXXsray4e0++kwSu9m
yRabse5hIdLQEazpn+BUsGdHkTzRpKiRx4BRZ7wxWdrmW4VNnTujhQP94HFIcnFy
/fbqqmRxfIuhG5cbuAWCMMma3FuQw5ubbWHnaMSOWz07KDQCCuJY+Z/tmTQJmrqE
ecukBlEO32faRhJnEl6VK6dTAA0CsC8hVyJnMMVHy0KAOQG24LgYnil5QEP/jEjx
Q1fR15I1hGbAp1BYugBSE80ZkUsCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAbTxC
HeJ5e8z3cOUfcwZQxJfjeTcbR30KC711zNWcy33iHAwzcg5HzbHOeSpZy/6JoBSM
udB1WNSbJTHMwu+xuMrvkSmpgs1ZslXgsRTfIcBx2PLdzHTEvku114R4v6q8fTyv
UpBsMs2BqlKFi9gbxAflKaRSzDlsD5ibrO8vekTKAED4amG/3XteMrkz+bk8s5JB
EEhhHuHpWqXaHp5tE5K1S6ihKU0k73P+1FW3ifEYBnmn3VeYjvV0RV6xc9H0scV+
CyHokZ4m5pJ98Cu31gS0cxK7Lrj4g1aTZ5q+mVhCIgAuVkt0iah1voVgWaw4ww3g
W61EfgCGtBF+f3Kw1g==
-----END CERTIFICATE-----
15 changes: 15 additions & 0 deletions examples/cert/grpc-b.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICVjCCAT4CAQAwETEPMA0GA1UEAwwGR1JQQy1iMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEA6kCXPJHoZ5/YsNa0eXxJZZ3VTw3yGtkClfjojorx0muE
M22C1Vk/ttE6Il5LanmoXzC8T/EnGkHeHwWBRe3tSAOU3zqKQZyukVKfBCLrtZde
ytrLh7T76TBK72bJFpux7mEh0tARrOmf4FSwZ0eRPNGkqJHHgFFnvDFZ2uZbhU2d
O6OFA/3gcUhycXL99uqqZHF8i6Eblxu4BYIwyZrcW5DDm5ttYedoxI5bPTsoNAIK
4lj5n+2ZNAmauoR5y6QGUQ7fZ9pGEmcSXpUrp1MADQKwLyFXImcwxUfLQoA5Abbg
uBieKXlAQ/+MSPFDV9HXkjWEZsCnUFi6AFITzRmRSwIDAQABoAAwDQYJKoZIhvcN
AQELBQADggEBALcsDEPW98luvu16NzolbgIUdkwzH3mvpOmtcuQDt65zTJ+TuIS3
nEOA8Ld48lZ45GumyZwL4Tjm1fhzBQbMf/ukmNztBE38PoQ2hN8Dgf3GZANRz6DP
RWOX+QAVQ9dsKDAPhaKNHG5nWmyCBUkCCJcQx5wYJVmMFTQrfcquS5rt9ABsRva1
fh4qC/m4Yof9vALlpdPeMww3HCo/okBfJrKlgQHQJYy3BWxWx1QBoOu7szBmwVcy
vOsEVyRduTVoZ4/+mtYZD7AmYOwx2UMDtFfM80xhio4ocVucx0edcwAVRTqXnWCu
+6qM4nf7YDNNLhhcqCmY4mj52ZShleRIEJ4=
-----END CERTIFICATE REQUEST-----
28 changes: 28 additions & 0 deletions examples/cert/grpc-b.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDqQJc8kehnn9iw
1rR5fEllndVPDfIa2QKV+OiOivHSa4QzbYLVWT+20ToiXktqeahfMLxP8ScaQd4f
BYFF7e1IA5TfOopBnK6RUp8EIuu1l17K2suHtPvpMErvZskWm7HuYSHS0BGs6Z/g
VLBnR5E80aSokceAUWe8MVna5luFTZ07o4UD/eBxSHJxcv326qpkcXyLoRuXG7gF
gjDJmtxb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d+iXBhR
0cotIAS3k2dLCy0U98BGrG9LvNQjfFQ3DpZDexHoZY1/lqFDiQlslfg6BjokQTIn
TzIkqb60kaZmF6glikFSRndoR4LsGCUpPs8b060CgYApbqAJCrCe/WjdIaefuTvm
XUnFJl/BCHJm8EBOA3+FIVbeLM/Bkt1y2fg6y/HDe1+9Xd4+SjCdcyBCS2qse1W5
gflpqa9YGwSp97D1oVrMTAuj70RrKzTMm8rSxmK3BfLzgeufIUEH4IeDuLybWXwe
TYAmZy6SIIdDGRJg931qiA==
-----END PRIVATE KEY-----
17 changes: 17 additions & 0 deletions examples/cert/grpc-internal.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE-----
MIICqTCCAZECFDyTd93Vp82EvADDHGAeIf9cAIBnMA0GCSqGSIb3DQEBCwUAMA8x
DTALBgNVBAMMBHRlc3QwIBcNMjMwNTEyMTA1OTQxWhgPMjEyMzA0MTgxMDU5NDFa
MBExDzANBgNVBAMMBkdSUEMtYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBANQMdnk4JzuZ0aBlUQ629CnFnMRsu9BC8WaABIdaKgHGYGkGH4ZoDQWV7rJI
bPB0s3g8+j94UKFDTXVF5TzJmCNh1aY+Jk4AszLobddJvzxl1a5raKnSzqLIBkSj
py1zHBlWUxrL4DdDzFybrgWhz3QWuJdZjc0OUdwxZ7E0a8ktohkvDzWWJpS6Grsq
JRBbMfKoxv3jp9qpTWZmP7ujQ25DmIQSP1wzMHyoqxLA3RD+539B3h8goHR+eyXv
ddCfKiQWw9CjQxRmVHL/az5s3xINtBAuVOp3NE+pBs3daF6DMtcbD8kt9DkouIeM
Tus7ZobtU74BJsnpUiBW2/vBmo0CAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAPfn/
44mU22i8PfPun9EyfFEkOns/oyM2kFWWJx5eQJS2nJyBxWAqGdX1uHzAq+hBO6PI
RUuQeNntDF69a6VCFVR/kGxscXEKQxBhElBjmbxpJPJyfiA3Pm7V1p3wv1v+tPsH
rFILpYf/PNjDZ2YpGuQil+Fnj/4KOLUyKUkkOaPYjJsc/2YTrHSfYXrlyfS3DeXR
gPFXrpcvz/5ydX2uimhsBkSEPWxGpmrWBf2Ilv2lmbJCPtks/ZEcyi9Wt/uRsw1B
C53XzQ62g/qBl9OvSL8lJPcbdnQJTXNq95PemvoUqLApD2r4ciwaJxUsyXAWJP9I
veU/Ng+0aeHnQrQ1FA==
-----END CERTIFICATE-----
17 changes: 17 additions & 0 deletions examples/cert/grpc-unknown.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE-----
MIICqTCCAZECFA9rSotHFeiW5uTEMaxIGdiAGuruMA0GCSqGSIb3DQEBCwUAMA8x
DTALBgNVBAMMBHRlc3QwIBcNMjMwNTEyMTA1OTQxWhgPMjEyMzA0MTgxMDU5NDFa
MBExDzANBgNVBAMMBkdSUEMtYjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBANRd9eMJHaZtXIlqAhvVH2RhW208yy3I7s8RbJDZ0kJUF9SR11xrWFsKX6ty
5uPTL3liiPIvqrU+waw7B0+E0f1IOgEj8hv0a+hu7IYyIBtuvnP8eq+t+8wR8hNb
bQMdaxVKdD5f3gAwRkSD2zMOkgiPS4+/VdnQOKCO4a/cOq8kCxsUUlA1c+bG1Otm
UNqvwtfhFzsOUx01s8C9JYHqyQ59bjj+BXIRTMOtEdyBeKkzfa2qTBeEgmBhgFBh
bIHxYq144TmDcg2M+oPAQwVEYNFtqtHrpdmHoL9Yco6ZMUxB5k7+26s3gx+EYoat
0ImrsKWVQ4dIQiMCBMa7hczc9B0CAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAWGYU
TH2qu8l7nvwgwsl4ja+8lsHYAOybqiizGCG8Oyy87PoCn5Ca2RW1UAdOQhOTKQ39
m37j4gilvuRpujFDl3fgyQcjEzq+mZGkvauAuZCNZlRVrVZ7SqwzUfoYhpNkKizv
LFRkh9Yi4EN1mYjxPh0MGo0oacBA+ky+DKY+Bzy7XeQPnq+mbudeSJLsx5EpSGTN
Oe/x5yB36j5e/kTIWqoGMgwvXo5He18Odk7W0i3yEySAPtdP2DX9iZ0S1TMWTGww
GY+AB9hwNThAA4MFDHln8BmNZPu0dMamFtwfoouUj714hf+p6Dp+rcM8NqiK6QtB
/Duzj9zW5Ih3r6N5LQ==
-----END CERTIFICATE-----
15 changes: 15 additions & 0 deletions examples/cert/grpc-unknown.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICVjCCAT4CAQAwETEPMA0GA1UEAwwGR1JQQy1iMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEA1F314wkdpm1ciWoCG9UfZGFbbTzLLcjuzxFskNnSQlQX
1JHXXGtYWwpfq3Lm49MveWKI8i+qtT7BrDsHT4TR/Ug6ASPyG/Rr6G7shjIgG26+
c/x6r637zBHyE1ttAx1rFUp0Pl/eADBGRIPbMw6SCI9Lj79V2dA4oI7hr9w6ryQL
GxRSUDVz5sbU62ZQ2q/C1+EXOw5THTWzwL0lgerJDn1uOP4FchFMw60R3IF4qTN9
rapMF4SCYGGAUGFsgfFirXjhOYNyDYz6g8BDBURg0W2q0eul2Yegv1hyjpkxTEHm
Tv7bqzeDH4Rihq3QiauwpZVDh0hCIwIExruFzNz0HQIDAQABoAAwDQYJKoZIhvcN
AQELBQADggEBAIb8+gF1JDh9s9RqJKU+CFPTGKzDZKJVhPLNmbs0+1JCYoqbyQLm
6VV5ZpLFI36zr87wQ7oEJjt94ZMYkoUGbXxe+7T+hGhxF8oCuYayitKXB+dNLUQ2
lLC4XwT8Y74Ejfm6TAJRgP3Yp1KQAP/w/5mEuviKcJGXWeisxeHv2eHLCJ8AsoAV
lk8B8keuHPuHm/SdTLXiCdm7nzYazj2DbK/yA+Uuun++TEg++3fhVVsbsP4l+Ttc
7EsAb4QNgAwe/DrqVR8P5t8S61LxebX/Sxbkko1NozNmsQZ13bFcrI6q7Yjfz54g
QaJLQuMa7kiMYownSZlXcaM16Nu/aabSJBU=
-----END CERTIFICATE REQUEST-----
28 changes: 28 additions & 0 deletions examples/cert/grpc-unknown.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQDUXfXjCR2mbVyJ
agIb1R9kYVttPMstyO7PEWyQ2dJCVBfUkddca1hbCl+rcubj0y95YojyL6q1PsGs
OwdPhNH9SDoBI/Ib9GvobuyGMiAbbr5z/HqvrfvMEfITW20DHWsVSnQ+X94AMEZE
g9szDpIIj0uPv1XZ0DigjuGv3DqvJAsbFFJQNXPmxtTrZlDar8LX4Rc7DlMdNbPA
vSWB6skOfW44/gVyEUzDrRHcgXipM32tqkwXhIJgYYBQYWyB8WKteOE5g3INjPqD
wEMFRGDRbarR66XZh6C/WHKOmTFMQeZO/turN4MfhGKGrdCJq7CllUOHSEIjAgTG
u4XM3PQdAgMBAAECggEBAIOkTxTShMeyyQcBaJc6MIB3/UWkxsn14VsIkQTlkXm+
SRti4F4QyK9+qblMu6WENsyG8R83vxkk8sdBvBFl4wmfqR0l3CHKDM4DXKj/D3oR
1wts+dxG/GwOv8GSDew9YzDKe25i3Om/Av/bwJhQsuONeCh+Uch4U3HrwCjUWqhP
jVmbv9hdYyW+yfgqW5EiSCPxADIqO7Pgcct+wdBgtTBeIdXoZUyvfIhe2uLkNz8w
zCZuzLkSF2dX18NJWfQ0Uw9ATjREQuZM2dRn6q2nCGefJMJ/HdwrkqtGdKK19ikl
lPCzM3Cecbak+o0U/rubKFHCWJ0o8rKU0nOlliznTyECgYEA7Sb+W4YWwWaZtm2c
CliXIsmcftU7UmjuFw7qD37ND7ODKhzP40L4PtoZ6u8oJ1z/VC+s5VbWtDHkgd/B
n/2yaWC8JPsMEZI1e2OSDzMGsyCTMUR0R25MhLBLpJmAaLosfKfJSBp2xbZsfASZ
UtsQIExT+K2eDKWqAJRC3MZGMikCgYEA5T6yBM2txtqUGcP34zypFhUHUxempAh5
QfcoKttYBBjys/MUgppyKB8UJ9E32wPmTe636DMdtIM/qqqd1mznQTcwovvcx7qd
+n1DGQk/tqj8UwPA1HUdgyWIeqTK5Ba58gELCkgAmpgN6uTD1rZ0KsfuWwET1HYk
6SRGEpeieNUCgYEAlYRbI4sDt8WfLfQnSCKYjxc7cn+vmgKL8b+2dDSGxtpv3NIz
g14Ks13Ar20/DKpGVGaGhEVeslcucW+IXP2PSX7ywAIDluRuka+yO6D5HWBxTMOS
6CIzXgjkeA9LdTvDpogGkE4XCgo8lWg03pc8sJBO9N9JYUHlT94p1ZWwVhkCgYEA
m3H61kT9e+SFHj+C3EQqx3103QQhjALu7isAwqa/NPARyrGei7zcgZYpXaKBhHJN
fTTM4ZefoeKJjllo85ge61rYEPxFxe0l6E996wEZgetuRYA7BhVv8JjHxZnuteEv
LwlECjGuryVB8rAyl2patROi7XR6lMuT1b8yALNviQ0CgYEAgMGeFSOwAzd7pjK5
YfqqPeqhYcRQRX7KXF2/PJdSQgXjfOghKcZ30l3b6AmlYNfrFmg3s0kgpnB5krPK
4iabl3gp/bIeBCZsVcNtogl80/XJLfkmpwVs9Uv0V9GQly8TlpD/3DrLZjGGbDx9
bqFu4A5GcyosdLoxowtl0J9RyB4=
-----END PRIVATE KEY-----
Loading

0 comments on commit c0cd558

Please sign in to comment.