microsoft / microsoft/aspire

Allow Configuring RabbitMQ to use TLS

Open
#6,543 3 comments 2 reactions 0 assignees View on GitHub
area-integrations security 🔐
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

I am trying to configure RabbitMQ with TLS enabled. But due to the internals are hardcoded to port "5672" and the scheme is hardcoded to "amqp", the connectionstring generated will always be stuck at connecting to amqp and is routed to port 5672.

![Image](https://github.com/user-attachments/assets/422a359b-e32c-46c9-9795-9043e009cc7b)

![Image](https://github.com/user-attachments/assets/6bc2feae-1713-495e-be55-0c4055457e3e)

### Describe the solution you'd like

When RabbitMQ is tls enabled,
1. Attaching the rabbitmq as reference to other projects, the connectionstring's scheme need to be amqps and the port is routed to 5671.
2. Allow the necessary certificates to be passed on to the projects that references to rabbitmq.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.