mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-28 05:16:39 +08:00
[SSL证书]免费证书申请增加HTTP认证方式
This commit is contained in:
@@ -15,6 +15,7 @@ message ACMETask {
|
||||
repeated string domains = 4;
|
||||
int64 createdAt = 5;
|
||||
bool autoRenew = 6;
|
||||
string authType = 7;
|
||||
|
||||
ACMEUser acmeUser = 30;
|
||||
DNSProvider dnsProvider = 31;
|
||||
|
||||
19
pkg/rpc/protos/service_acme_authentication.proto
Normal file
19
pkg/rpc/protos/service_acme_authentication.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
// ACME认证相关信息
|
||||
service ACMEAuthenticationService {
|
||||
// 获取Key
|
||||
rpc findACMEAuthenticationKeyWithToken (FindACMEAuthenticationKeyWithTokenRequest) returns (FindACMEAuthenticationKeyWithTokenResponse);
|
||||
}
|
||||
|
||||
// 获取Key
|
||||
message FindACMEAuthenticationKeyWithTokenRequest {
|
||||
string token = 1;
|
||||
}
|
||||
|
||||
message FindACMEAuthenticationKeyWithTokenResponse {
|
||||
string key = 1;
|
||||
}
|
||||
@@ -71,6 +71,7 @@ message CreateACMETaskRequest {
|
||||
string dnsDomain = 3;
|
||||
repeated string domains = 4;
|
||||
bool autoRenew = 5;
|
||||
string authType = 6;
|
||||
}
|
||||
|
||||
message CreateACMETaskResponse {
|
||||
|
||||
Reference in New Issue
Block a user