pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #sandstorm
isd has quit [Quit: Leaving.]
Telesight has quit [Remote host closed the connection]
pie__ has joined #sandstorm
pie_ has quit [Ping timeout: 240 seconds]
sukhe has joined #sandstorm
<sukhe>
hi. I am getting "sandstorm/gateway.c++:988: error: refused HTTPS connection because no TLS keys are configured" when I try to enable HTTPS_PORT. what am I missing here? (I am not using sandcats.io but my own domain)
<sukhe>
do I _have_ to set up a reverse proxy with nginx to make this work?
<sknebel>
I think so
<sukhe>
sknebel: yeah I have come to the same conclusion as well but I will wait in case someone has any other ideas :)
xet7 has joined #sandstorm
<TimMc>
sukhe: You don't have to use a reverse proxy with the latest version (there's a hidden feature to hand a TLS cert and key to Sandstorm) but you do need a cert.
<TimMc>
I bought a wildcard cert for about $45 but Let's Encrypt just rolled out wildcard support recently, so you might go for that instead.
<sukhe>
TimMc: yeah I got the one from LetsEncrypt. can you please point me to the hidden feature if it is handy? I have tried all I could
afuentes has quit [Ping timeout: 248 seconds]
<TimMc>
sukhe: OK, here's the (I think still undocumented and UI-less) way to get Sandstorm to use yoru own cert and key:
<TimMc>
« you can give Sandstorm your key/cert by doing this at the JS console while logged in as admin: Meteor.call("setTlsKeys", { key: "<private-key-pem>", certChain: "<certificate-pem>" }) »
<TimMc>
« then set HTTPS_PORT=443 and EXPERIMENTAL_GATEWAY=true in sandstorm.conf »
<sukhe>
TimMc: interesting; I will try it. thanks!