Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.이 콘텐츠는 선택한 언어로 제공되지 않습니다.
6.6. Setting Security Context for the Openwire/SSL Protocol
Overview 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Apart from configuration using JSSE system properties, the Openwire/SSL protocol (with schema,
ssl:
) also supports an option to set its SSL security context using the broker configuration file.
Note
The methods for setting the security context described in this section are available exclusively for the Openwire/SSL protocol. These features are not supported by the HTTPS protocol.
Setting security context in the broker configuration file 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
To configure the Openwire/SSL security context in the broker configuration file, edit the attributes in the
sslContext
element. For example, the default broker configuration file, conf/activemq.xml
, includes the following entry:
Where the
activemq.base
property is defined in the activemq[.bat|.sh]
script. You can specify any of the following sslContext
attributes:
keyStore
—equivalent to settingjavax.net.ssl.keyStore
.keyStorePassword
—equivalent to settingjavax.net.ssl.keyStorePassword
.keyStoreType
—equivalent to settingjavax.net.ssl.keyStoreType
.keyStoreAlgorithm
—defaults to JKS.trustStore
—equivalent to settingjavax.net.ssl.trustStore
.trustStorePassword
—equivalent to settingjavax.net.ssl.trustStorePassword
.trustStoreType
—equivalent to settingjavax.net.ssl.trustStoreType
.