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,
|
ExternalTrustDomain: clusterID,
|
||||||
NotBefore: primaryCert.NotBefore,
|
NotBefore: primaryCert.NotBefore,
|
||||||
NotAfter: primaryCert.NotAfter,
|
NotAfter: primaryCert.NotAfter,
|
||||||
RootCert: pemValue,
|
RootCert: lib.EnsureTrailingNewline(pemValue),
|
||||||
PrivateKeyType: keyType,
|
PrivateKeyType: keyType,
|
||||||
PrivateKeyBits: keyBits,
|
PrivateKeyBits: keyBits,
|
||||||
Active: true,
|
Active: true,
|
||||||
|
|
Loading…
Reference in New Issue