Skip to content

Commit c66234e

Browse files
author
Matheus Politano
committed
chore: delete unsed hcl file
1 parent e716942 commit c66234e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stackit/internal/services/cdn/cdn_acc_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ var (
4242
// Build the full domain name here so we can use it to sign the certificate
4343
fullDomainNameHttp = fmt.Sprintf("%s.%s", dnsRecordNameHttp, dnsNameHttp)
4444

45-
// Pass the full domain to the certificate generation
4645
cert, key = makeCertAndKey(testutil.OrganizationId, fullDomainNameHttp)
4746
)
4847

@@ -114,7 +113,7 @@ func makeCertAndKey(organization string, domain string) (cert, key []byte) {
114113
Organization: []string{organization},
115114
CommonName: domain, // Required by most modern TLS validations
116115
},
117-
DNSNames: []string{domain}, // Subject Alternative Name (SAN) is strictly required now
116+
DNSNames: []string{domain},
118117
NotBefore: time.Now(),
119118
NotAfter: time.Now().Add(time.Hour),
120119
KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageCertSign,

0 commit comments

Comments
 (0)