【问题标题】:Camel Restlet -How to expose service using SSLCamel Restlet - 如何使用 SSL 公开服务
【发布时间】:2014-10-22 08:58:20
【问题描述】:

我使用最新的 Apache Camel (2.14) 公开了一些 REST 服务,更准确地说是使用 Restlet 组件 (http://camel.apache.org/restlet.html)。

有没有办法在 HTTPS 下公开服务?我找不到任何说明如何设置 SSL 密钥库、密钥库密码等的文档...

【问题讨论】:

    标签: java ssl https apache-camel restlet


    【解决方案1】:

    目前camel-restlet不支持设置SSLContext信息,我只填一个JIRA

    【讨论】:

    • 嗨@Willem Jiang,是否可以像 from("restlet:/users/?restletMethods=post&sslContextParameters=#mySSLContextParameters") 那样为abbr url添加ssl支持,或者有没有方便的方法在路由dsl中配置主机和端口,不仅仅是硬代码,谢谢。
    • 从 Camel 2.15.0 开始,您可以像您展示的那样从 URI 设置 sslContextParameters。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多