【activemq artemis】安全相關配置

acceptor結點:

<acceptor name="artemis">tcp://0.0.0.0:{port1}?remotingThreads=200;sslEnabled=true;keyStorePath=/etc/artemis_ssl/artemiskeystore.jks;keyStorePassword=artemis;trustStorePath=/etc/artemis_ssl/artemistruststore.jks;trustStorePassword=artemis;directDeliver=false;tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,STOMP,MQTT,OPENWIRE;useEpoll=true;producerMaxRate=5;anycastPrefix=anycast://;multicastPrefix=multicast://</acceptor>

劃重點:sslEnabled=true

keyStorePath證書路徑

keyStorePassword證書密碼

 

參考文章:https://blog.csdn.net/yongf_xu/article/details/84637642

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章