feat: support tls config.

This commit is contained in:
tx7do
2024-11-13 11:27:13 +08:00
parent e755b6cfc8
commit 9e051505a1
19 changed files with 1749 additions and 700 deletions

View File

@@ -0,0 +1,23 @@
syntax = "proto3";
package conf;
option go_package = "github.com/tx7do/kratos-bootstrap/api/gen/go/conf/v1;conf";
message TLS {
message File {
optional string cert_path = 1;
optional string key_path = 2;
optional string ca_path = 3;
}
message Config {
optional bytes cert_pem = 1;
optional bytes key_pem = 2;
optional bytes ca_pem = 3;
}
optional File file = 1;
optional Config config = 2;
bool insecure_skip_verify = 3;
}