softwaremill / elasticmq

In-memory message queue with an Amazon SQS-compatible interface. Runs stand-alone or embedded.
https://softwaremill.com/open-source/
Apache License 2.0
2.51k stars 194 forks source link

HTTPS support? #24

Closed waisbrot closed 10 years ago

waisbrot commented 10 years ago

Does elasticmq support HTTPS? I'm trying the following configuration and the server only understands me when I make an HTTP connection to 443. Is there a setting I've missed?

node-address {
    protocol = https
    host = sqs.us-west-2.amazonaws.com
    port = 443
    context-path = ""
}

rest-sqs {
    enabled = true
    bind-port = 443
    bind-hostname = "0.0.0.0"
    // Possible values: relaxed, strict
    sqs-limits = relaxed
}

spray.can.server.parsing.illegal-header-warnings = off
adamw commented 10 years ago

No, https is not supported. I think instead of coding such support, it will be much easier to setup an apache/nginx proxy, in front of elasticmq, providing SSL.