mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-07 21:19:51 +00:00
commit
308b21bb33
@ -386,7 +386,7 @@ type AccessConfigForWeComBot struct {
|
|||||||
|
|
||||||
type AccessConfigForWestcn struct {
|
type AccessConfigForWestcn struct {
|
||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
ApiPassword string `json:"password"`
|
ApiPassword string `json:"apiPassword"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type AccessConfigForZeroSSL struct {
|
type AccessConfigForZeroSSL struct {
|
||||||
|
@ -116,7 +116,7 @@ func (d *DeployerProvider) Deploy(ctx context.Context, certPEM string, privkeyPE
|
|||||||
SiteId: siteId,
|
SiteId: siteId,
|
||||||
Type: typeutil.ToPtr("openCert"),
|
Type: typeutil.ToPtr("openCert"),
|
||||||
Server: &btsdk.SiteServerInfo{
|
Server: &btsdk.SiteServerInfo{
|
||||||
ListenSSLPort: typeutil.ToPtr(d.config.SitePort),
|
ListenSSLPorts: typeutil.ToPtr([]int32{d.config.SitePort}),
|
||||||
SSL: &btsdk.SiteServerSSLInfo{
|
SSL: &btsdk.SiteServerSSLInfo{
|
||||||
IsSSL: typeutil.ToPtr(int32(1)),
|
IsSSL: typeutil.ToPtr(int32(1)),
|
||||||
FullChain: typeutil.ToPtr(certPEM),
|
FullChain: typeutil.ToPtr(certPEM),
|
||||||
|
@ -37,7 +37,7 @@ type GetSiteListResponse struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type SiteServerInfo struct {
|
type SiteServerInfo struct {
|
||||||
ListenSSLPort *int32 `json:"listen_ssl_port,omitempty"`
|
ListenSSLPorts *[]int32 `json:"listen_ssl_port,omitempty"`
|
||||||
SSL *SiteServerSSLInfo `json:"ssl,omitempty"`
|
SSL *SiteServerSSLInfo `json:"ssl,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user