[
https://issues.apache.org/jira/browse/CLOUDSTACK-6365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964070#comment-13964070
]
Murali Reddy commented on CLOUDSTACK-6365:
------------------------------------------
To enable 'virtualHost' property need to be set in the config file appropriate
virtual host name as below. Username and password specified should be that of
virtual host as well.
<bean id="eventNotificationBus"
class="org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus">
<property name="name" value="eventNotificationBus"/>
<property name="server" value="127.0.0.1"/>
<property name="port" value="5672"/>
<property name="username" value="temp"/>
<property name="password" value="password"/>
<property name="virtualHost" value="temp"/>
<property name="exchange" value="cloudstack-events"/>
</bean>
To enable SSL, 'useSsl' property need to be set to true in the spring config
file as below. RabbitMQ server need to be setup with proper SSL certficates as
described in
https://www.rabbitmq.com/ssl.html
<bean id="eventNotificationBus"
class="org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus">
<property name="name" value="eventNotificationBus"/>
<property name="server" value="127.0.0.1"/>
<property name="port" value="5672"/>
<property name="username" value="temp"/>
<property name="password" value="password"/>
<property name="useSsl" value="true"/>
<property name="exchange" value="cloudstack-events"/>
</bean>
> support virtual host and ssl in rabbitMQ event bus
> --------------------------------------------------
>
> Key: CLOUDSTACK-6365
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6365
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.1.0, 4.2.0, 4.3.0, 4.4.0
> Reporter: Murali Reddy
> Assignee: Murali Reddy
> Fix For: 4.4.0
>
>
> AMQP servers has support for virtual host to isolate the different
> application/users using same server. In any practical deployments its likely
> that virtual hosts will be used. currently integration with AMQP servers for
> event bus does not support virtual host.
> Also current communication between the management server (AMQP client) and
> AMQP server is not secure. AQMP supports ssl which needs to be supported by
> CloudStack.
> This bug is to add virtual host and ssl support in to RabbitMQ plug-in .
--
This message was sent by Atlassian JIRA
(v6.2#6252)