AWS AmazonRDS documentation change
Summary
Formatting changes to SSL certificate rotation script (removed line breaks in code blocks)
Security assessment
The change only reformats shell script code blocks (e.g., consolidating lines). No functional or security-related content was added or modified. Purely a documentation style update.
Diff
diff --git a/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.md b/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.md index 7e371bfd0..e79ec815e 100644 --- a//AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.md +++ b//AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.md @@ -226,4 +226 @@ The following is a sample shell script that imports the certificate bundle into - fi - - truststore=${mydir}/rds-truststore.jks - storepassword=changeit + fi truststore=${mydir}/rds-truststore.jks storepassword=changeit @@ -234,2 +231 @@ The following is a sample shell script that imports the certificate bundle into - for CERT in rds-ca-*; do - alias=$(openssl x509 -noout -text -in $CERT | perl -ne 'next unless /Subject:/; s/.*(CN=|CN = )//; print') + for CERT in rds-ca-*; do alias=$(openssl x509 -noout -text -in $CERT | perl -ne 'next unless /Subject:/; s/.*(CN=|CN = )//; print') @@ -246,2 +242 @@ The following is a sample shell script that imports the certificate bundle into - do - expiry=`keytool -list -v -keystore "$truststore" -storepass ${storepassword} -alias "${alias}" | grep Valid | perl -ne 'if(/until: (.*?)\n/) { print "$1\n"; }'` + do expiry=`keytool -list -v -keystore "$truststore" -storepass ${storepassword} -alias "${alias}" | grep Valid | perl -ne 'if(/until: (.*?)\n/) { print "$1\n"; }'` @@ -262,4 +257 @@ The following is a sample shell script that imports the certificate bundle into - fi - - truststore=${mydir}/rds-truststore.jks - storepassword=changeit + fi truststore=${mydir}/rds-truststore.jks storepassword=changeit @@ -270,2 +262 @@ The following is a sample shell script that imports the certificate bundle into - for CERT in rds-ca-*; do - alias=$(openssl x509 -noout -text -in $CERT | perl -ne 'next unless /Subject:/; s/.*(CN=|CN = )//; print') + for CERT in rds-ca-*; do alias=$(openssl x509 -noout -text -in $CERT | perl -ne 'next unless /Subject:/; s/.*(CN=|CN = )//; print') @@ -282,2 +273 @@ The following is a sample shell script that imports the certificate bundle into - do - expiry=`keytool -list -v -keystore "$truststore" -storepass ${storepassword} -alias "${alias}" | grep Valid | perl -ne 'if(/until: (.*?)\n/) { print "$1\n"; }'` + do expiry=`keytool -list -v -keystore "$truststore" -storepass ${storepassword} -alias "${alias}" | grep Valid | perl -ne 'if(/until: (.*?)\n/) { print "$1\n"; }'`