Class HostedSslConnectorFactory

    • Method Detail

      • withProvidedCertificate

        public static HostedSslConnectorFactory withProvidedCertificate​(String serverName,
                                                                        com.yahoo.config.model.api.EndpointCertificateSecrets endpointCertificateSecrets,
                                                                        boolean enforceHandshakeClientAuth,
                                                                        Collection<String> tlsCiphersOverride)
        Create connector factory that uses a certificate provided by the config-model / configserver and default hosted Vespa truststore.
      • withProvidedCertificateAndTruststore

        public static HostedSslConnectorFactory withProvidedCertificateAndTruststore​(String serverName,
                                                                                     com.yahoo.config.model.api.EndpointCertificateSecrets endpointCertificateSecrets,
                                                                                     String tlsCaCertificates,
                                                                                     Collection<String> tlsCiphersOverride)
        Create connector factory that uses a certificate provided by the config-model / configserver and a truststore configured by the application.
      • withDefaultCertificateAndTruststore

        public static HostedSslConnectorFactory withDefaultCertificateAndTruststore​(String serverName,
                                                                                    Collection<String> tlsCiphersOverride)
        Create connector factory that uses the default certificate and truststore provided by Vespa (through Vespa-global TLS configuration).
      • getConfig

        public void getConfig​(com.yahoo.jdisc.http.ConnectorConfig.Builder connectorBuilder)
        Specified by:
        getConfig in interface com.yahoo.jdisc.http.ConnectorConfig.Producer
        Overrides:
        getConfig in class ConnectorFactory