【发布时间】:2020-04-15 12:27:21
【问题描述】:
我正在尝试使用 SSL 设置 Artemis
我的etc/bootstrap.xml 文件看起来像:
<broker xmlns="http://activemq.org/schema">
<web bind="https://0.0.0.0:8161" path="web" keystorePath="keystore.p12" keystorePassword="123" truststorePath="trusstore.p12" truststorePassword="123">
<app url="activemq-branding" war="activemq-branding.war"/>
<app url="artemis-plugin" war="artemis-plugin.war"/>
<app url="console" war="console.war"/>
</web>
</broker>
我确实喜欢它是用the documentation 编写的,但是当我运行 artemis 服务时出现错误:
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 28; columnNumber: 188; cvc-complex-type.3.2.2: Attribute 'keystorePath' is not allowed to appear in element 'web'.]
我不明白我做错了什么?
【问题讨论】:
标签: activemq-artemis