Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.28 KB

ciphers.md

File metadata and controls

21 lines (13 loc) · 1.28 KB

How to set ciphers used in API ML services

To set ciphers supported by the HTTPS servers in API ML services you set the following property for all services (Gateway, Discovery Service, and API Catalog):

-Dapiml.security.ssl.ciphers=<cipher-list>

The default value is in the application.yml files.

Example: gateway-service/src/main/resources/application.yml. The default configuration is in the resulting JAR files.

On z/OS, you can override the default configuration in $ZOWE_ROOT_DIR/components/api-mediation/bin/start.sh.

On localhost, the default configuration can be overridden on config/local/gateway-service.yml and other YAML files for development purposes without rebuilding the JAR files.

Default cipher list

TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384

The IANA ciphers names are supported. The names of ciphers are available at https://wiki.mozilla.org/Security/Server_Side_TLS#Cipher_suites or https://testssl.net/openssl-iana.mapping.html.