[SSL证书]免费证书申请增加HTTP认证方式

This commit is contained in:
GoEdgeLab
2020-12-03 18:19:37 +08:00
parent 441d967eac
commit 87eacab277
6 changed files with 454 additions and 101 deletions

View File

@@ -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;

View 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;
}

View File

@@ -71,6 +71,7 @@ message CreateACMETaskRequest {
string dnsDomain = 3;
repeated string domains = 4;
bool autoRenew = 5;
string authType = 6;
}
message CreateACMETaskResponse {