AWS AmazonRDS: Oracle SSL option: examples for cipher suites and TLS 1.2
Summary
Adds AWS CLI and JSON-file examples showing how to add the Oracle SSL option with SQLNET.SSL_VERSION=1.2 and multiple SQLNET.CIPHER_SUITE values, including quoting guidance to avoid comma-splitting.
Security assessment
The added examples document configuring TLS 1.2 and strong ECDHE/GCM cipher suites for Oracle SSL connections, which is encryption hardening guidance rather than a fix for a specific vulnerability.
Evidence
--options 'OptionName=SSL,Port=2484,VpcSecurityGroupMemberships="sg-68184619",OptionSettings=[{Name=SQLNET.SSL_VERSION,Value=1.2},{Name=SQLNET.CIPHER_SUITE,Value="TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"}]'
Diff
diff --git a/AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.SSL.OptionGroup.md b/AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.SSL.OptionGroup.md index 6651b1f..50f9631 100644 --- a//AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.SSL.OptionGroup.md +++ b//AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.SSL.OptionGroup.md @@ -61,0 +62,30 @@ For Windows: +You can also specify cipher suites with the `SQLNET.CIPHER_SUITE` option setting. To specify multiple cipher suites, separate them with commas, don't include spaces, and enclose the value in double quotation marks. Without the quotation marks, the AWS CLI treats each comma as a separator between option settings. + +The following example adds the `SSL` option with two cipher suites and TLS 1.2. + +###### Example + +For Linux, macOS, or Unix: + + aws rds add-option-to-option-group --option-group-name ora-option-group \ + --options 'OptionName=SSL,Port=2484,VpcSecurityGroupMemberships="sg-68184619",OptionSettings=[{Name=SQLNET.SSL_VERSION,Value=1.2},{Name=SQLNET.CIPHER_SUITE,Value="TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"}]' + +Alternatively, define the option in a JSON file and pass the file with `file://`. This approach works on any operating system and avoids quoting issues. For example, create a file named `ssl-option.json` with the following content. + + [ + { + "OptionName": "SSL", + "Port": 2484, + "VpcSecurityGroupMemberships": ["sg-68184619"], + "OptionSettings": [ + { "Name": "SQLNET.SSL_VERSION", "Value": "1.2" }, + { "Name": "SQLNET.CIPHER_SUITE", + "Value": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" } + ] + } + ] + +Then run the following command. + + aws rds add-option-to-option-group --option-group-name ora-option-group --options file://ssl-option.json +