mirror of https://github.com/hashicorp/consul
Ensure trailing newline
parent
523d313671
commit
8a113841d4
|
@ -272,7 +272,7 @@ func newCARoot(pemValue, provider, clusterID string) (*structs.CARoot, error) {
|
|||
ExternalTrustDomain: clusterID,
|
||||
NotBefore: primaryCert.NotBefore,
|
||||
NotAfter: primaryCert.NotAfter,
|
||||
RootCert: pemValue,
|
||||
RootCert: lib.EnsureTrailingNewline(pemValue),
|
||||
PrivateKeyType: keyType,
|
||||
PrivateKeyBits: keyBits,
|
||||
Active: true,
|
||||
|
|
Loading…
Reference in New Issue