mirror of
https://github.com/traefik/traefik.git
synced 2025-09-27 16:51:24 +02:00
Allow Default Certificate to work on macOS 10.15
This commit is contained in:
parent
d447a50b73
commit
4990f6c22d
@ -86,6 +86,7 @@ func derCert(privKey *rsa.PrivateKey, expiration time.Time, domain string) ([]by
|
|||||||
NotAfter: expiration,
|
NotAfter: expiration,
|
||||||
|
|
||||||
KeyUsage: x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature | x509.KeyUsageKeyAgreement | x509.KeyUsageDataEncipherment,
|
KeyUsage: x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature | x509.KeyUsageKeyAgreement | x509.KeyUsageDataEncipherment,
|
||||||
|
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
|
||||||
BasicConstraintsValid: true,
|
BasicConstraintsValid: true,
|
||||||
DNSNames: []string{domain},
|
DNSNames: []string{domain},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user