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