mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Dogfood - Fix error in log on empty cert.00.pem, when retrieving rds tls certificate (#31515)
Fix for error log that is generated by csplit when determining the correct certificate to use. ``` Could not find certificate from cert.00.pem ```
This commit is contained in:
parent
79576fdaf5
commit
e2340385a9
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
apk add coreutils openssl
|
apk add coreutils openssl
|
||||||
|
|
||||||
wget --quiet https://truststore.pki.rds.amazonaws.com/${aws_region}/${aws_region}-bundle.pem -O ${aws_region}-bundle.dl.pem
|
wget --quiet https://truststore.pki.rds.amazonaws.com/${aws_region}/${aws_region}-bundle.pem -O ${aws_region}-bundle.dl.pem
|
||||||
csplit -k -f cert. -b '%02d.pem' ${aws_region}-bundle.dl.pem '/-----BEGIN CERTIFICATE-----/' '{*}'
|
csplit -z -k -f cert. -b '%02d.pem' ${aws_region}-bundle.dl.pem '/-----BEGIN CERTIFICATE-----/' '{*}'
|
||||||
|
|
||||||
for filename in cert.*;
|
for filename in cert.*;
|
||||||
do
|
do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue