cloudamqp / cloudamqp/amqproxy
Add support for TLS when connecting from client to amqproxy
Nobody has claimed this yet.
- Dominant language
- Crystal
- Stars
- 408
- Forks
- 50
- Avg merge
- 18h 30m
- Merged PRs (30d)
- 3
Description
We want to run amqproxy as a standalone service instead of running it locally on each client. Right now it appears that amqproxy only supports TLS on the amqproxy -> RabbitMQ side, and does not support TLS for client -> amqproxy connections. This prevents us from safely exposing amqproxy as a network service.
Is your feature request related to a problem? Please describe.
Without inbound TLS, clients connecting to amqproxy must either:
- Communicate in plaintext, or
- Be deployed inside a tightly controlled private network (VPC peering, PrivateLink, IPSec, etc.)
This limits flexibility and makes it difficult to operate amqproxy as a shared or remote proxy service in production. We’d like to avoid running a local amqproxy instance beside every client application and in some cases it's not possible for us currently.
Describe the solution you'd like
Add TLS configuration support to amqproxy’s server listener so that inbound client connections can be secured.
Describe alternatives you've considered
- Running all clients within a secured private network. We are investigating this option to solve our problem in the short term.
- Running amqproxy locally per client. We may be able to do this in the future, but right now we need to run amqproxy as a standalone service that our different compute services will communicate to RabbitMQ through.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing amqproxy’s server listener and the existing TLS configuration used for connections from amqproxy to RabbitMQ. Define how inbound client TLS should be configured and verify that clients can establish secured connections while proxying to RabbitMQ; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal, rabbitmq
- Domain
- backend, networking, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100