mirror of
https://github.com/usual2970/certimate.git
synced 2025-09-21 15:36:01 +00:00
feat: rename domain
to subjectAltNames
This commit is contained in:
@@ -96,7 +96,7 @@ func (a *applyNode) Run(ctx context.Context) error {
|
||||
}
|
||||
|
||||
certificateRecord := &domain.Certificate{
|
||||
SAN: strings.Join(cert.DNSNames, ";"),
|
||||
SubjectAltNames: strings.Join(cert.DNSNames, ";"),
|
||||
Certificate: certificate.Certificate,
|
||||
PrivateKey: certificate.PrivateKey,
|
||||
IssuerCertificate: certificate.IssuerCertificate,
|
||||
|
@@ -66,8 +66,8 @@ func (d *deployNode) Run(ctx context.Context) error {
|
||||
}
|
||||
|
||||
option := &deployer.DeployerOption{
|
||||
DomainId: d.node.Id,
|
||||
Domain: cert.SAN,
|
||||
NodeId: d.node.Id,
|
||||
Domains: cert.SubjectAltNames,
|
||||
AccessConfig: access.Config,
|
||||
AccessRecord: access,
|
||||
Certificate: applicant.Certificate{
|
||||
|
Reference in New Issue
Block a user