Class SslConfigurationKeys

java.lang.Object
org.elasticsearch.common.ssl.SslConfigurationKeys

public class SslConfigurationKeys
extends java.lang.Object
Utility class for handling the standard setting keys for use in SSL configuration.
See Also:
SslConfiguration, SslConfigurationLoader
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String CERTIFICATE
    The path to a PEM formatted file that contains the certificate to be used as part of key management
    static java.lang.String CERTIFICATE_AUTHORITIES
    A list of paths to PEM formatted certificates that should be trusted as CAs
    static java.lang.String CIPHERS
    The SSL/TLS cipher suites that should be used
    static java.lang.String CLIENT_AUTH
    When operating as a server, whether to request/require client certificates
    static java.lang.String KEY
    The path to a PEM formatted file that contains the private key for the configured CERTIFICATE.
    static java.lang.String KEY_LEGACY_PASSPHRASE
    The password to read the configured KEY, as a non-secure setting.
    static java.lang.String KEY_SECURE_PASSPHRASE
    The password to read the configured KEY, as a secure setting.
    static java.lang.String KEYSTORE_ALGORITHM
    The key management algorithm to use when connstructing a Key manager from a keystore.
    static java.lang.String KEYSTORE_LEGACY_KEY_PASSWORD
    The password for the key within the configured keystore, as a non-secure setting.
    static java.lang.String KEYSTORE_LEGACY_PASSWORD
    The password for the file configured in KEYSTORE_PATH, as a non-secure setting.
    static java.lang.String KEYSTORE_PATH
    The path to a KeyStore file (in a format supported by this JRE) that should be used for key management
    static java.lang.String KEYSTORE_SECURE_KEY_PASSWORD
    The password for the key within the configured keystore, as a secure setting.
    static java.lang.String KEYSTORE_SECURE_PASSWORD
    The password for the file configured in KEYSTORE_PATH, as a secure setting.
    static java.lang.String KEYSTORE_TYPE
    The keystore type for the file configured in KEYSTORE_PATH.
    static java.lang.String PROTOCOLS
    The SSL/TLS protocols (i.e.
    static java.lang.String TRUSTSTORE_ALGORITHM
    The trust management algorithm to use when configuring trust with a truststore.
    static java.lang.String TRUSTSTORE_LEGACY_PASSWORD
    The password for the file configured in TRUSTSTORE_PATH, as a non-secure setting.
    static java.lang.String TRUSTSTORE_PATH
    The path to a KeyStore file (in a format supported by this JRE) that should be used as a trust-store
    static java.lang.String TRUSTSTORE_SECURE_PASSWORD
    The password for the file configured in TRUSTSTORE_PATH, as a secure setting.
    static java.lang.String TRUSTSTORE_TYPE
    The keystore type for the file configured in TRUSTSTORE_PATH.
    static java.lang.String VERIFICATION_MODE
    Whether certificate and/or hostname verification should be used
  • Method Summary

    Modifier and Type Method Description
    static java.util.List<java.lang.String> getListKeys()
    The list of keys that are used to load a non-secure, list setting
    static java.util.List<java.lang.String> getSecureStringKeys()
    The list of keys that are used to load a secure setting (such as a password) that would typically be stored in the elasticsearch keystore.
    static java.util.List<java.lang.String> getStringKeys()
    The list of keys that are used to load a non-secure, non-list setting
    static boolean isDeprecated​(java.lang.String key)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait