Hi there,
I just wanted to share my basic notes to get https on my instance, in case it may help someone. It doesn't cover all the possible setup, but if you installed sandstorm with classical ports, and pxoxied it with nginx or apache, it will get you started :
1.Have your DNS entry pointing to your server’s IP for *.sandstorm.yourdomain.ext and *.sandstorm.yourdomain.ext
2.Install certbot on your server. See
https://certbot.eff.org/3. Run
certbot certonly \
--server
https://acme-v02.api.letsencrypt.org/directory \
--manual --preferred-challenges dns \
-d *.sandstorm.yourdomain.ext -d sandstorm.yourdomain.ext
Agree on TOS and give your email for certbot
When asked, enter the DNS's TXT entry as showed by certbot for _acme-challenge.sandstorm.yourdomain.ext
Finalise the creation of the certificate by pressing enter after 10 minutes so that the txt entry may be propagated
4. Adjust your nginx or apache config that is the sandstorm’s proxy by adding the certificate’s key and chain, and redirect http to https
5. Restart nginx
6. edit /opt/sandstorm/sandstorm.conf to add https to BASE_URL
7. Restart sandstorm
DONE!
PS: I also had to change google cloud app setting with https urls to enable oath with google
Cheers!