[
https://issues.apache.org/jira/browse/FLINK-25866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483756#comment-17483756
]
Fil Karnicki commented on FLINK-25866:
--------------------------------------
How about we make the settings as close to
[kafka|https://docs.confluent.io/platform/current/kafka/authentication_ssl.html#brokers]
as we can, since people who will want SSL auth for remote functions will
likely be using SSL for kafka, so something like:
{code:java}
kind: io.statefun.kafka.v1/ingress
spec:
id: greeter.fns/in
(...)
properties:
- security.protocol: SSL
- ssl.truststore.location: x
- ssl.truststore.password: x
- ssl.keystore.location: x
- ssl.keystore.password: x
- ssl.key.password: x
---
kind: io.statefun.endpoints.v2/http
spec:
functions: greeter.fns/*
urlPathTemplate: https://greeter-functions:1108/
transport:
type: io.statefun.transports.v1/async
ssl_truststore_location: x
ssl_truststore_password: x
ssl_keystore_location: x
ssl_keystore_password: x
ssl_key_password: x{code}
?
> Support additional TLS configuration.
> -------------------------------------
>
> Key: FLINK-25866
> URL: https://issues.apache.org/jira/browse/FLINK-25866
> Project: Flink
> Issue Type: Improvement
> Components: Stateful Functions
> Reporter: Igal Shilman
> Priority: Major
>
> Currently the default HTTP client used to invoke remote functions does not
> support customising the TLS settings as part of the endpoint spec definition.
> This includes
> using self-signed certificates, and providing client side certificates for
> authentication (which is a slightly different requirement).
> This issue is about including additional TLS settings to the default endpoint
> resource definition, and supporting them in statefun-core.
> User mailing list threads:
> * [client cert auth in remote
> function|https://lists.apache.org/thread/97nw245kxqp32qglwfynhhgyhgp2pxvg]
> * [endpoint self-signed certificate
> problem|https://lists.apache.org/thread/y2m2bpwg4n71rxfont6pgky2t8m19n7w]
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)