gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.5k stars 552 forks source link

Help: How can I add an SSL cert so I'm not using http? #203

Closed bowen-song closed 3 years ago

bowen-song commented 3 years ago

Hi, apologies if this isn't the correct place to ask this question - I'm pretty new with this stuff. Second, really appreciate the work you're doing with this project; it's very cool!

Now, to the question: How can I use my own ssl cert with netmaker?

Here's my current setup of the server:

In times past, I've used certbot with nginx on docker successfully, but I'm not sure how to go about using https with netmaker in this instance (I took a brief peek through the ui and it seems like you are using nginx so I believe this should be possible?). Thanks!

afeiszli commented 3 years ago

Hi bowen, I have a whole guide on setting up netmaker behind nginx reverse proxy with letsencrypt. This guide is not 100% functional yet (is planned for next release) and for now you should use the older versions of the images. Other than that, in general this should work: https://netmaker.readthedocs.io/en/develop/quick-start.html#prepare-nginx

bowen-song commented 3 years ago

Thanks for the guide, I'll check it out and report back if there are any issues!