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