key-networks / ztncui

ZeroTier network controller UI
GNU General Public License v3.0
1.53k stars 228 forks source link

certbot webroot cannot find public folder #37

Closed penguinthingie closed 3 years ago

penguinthingie commented 4 years ago

Hello,

This project looks great and i am looking to try it out, coming across an issue with generating a certificate with certbot. I am running the .deb install which install an executable onto /opt/key-networks/ztncui, i don't see any folders there called public that certbot could attempt to create a temporary file to complete the verification process. Am i missing something?

Thanks for your help!

key-networks commented 4 years ago

Unfortunately the instructions at https://github.com/key-networks/ztncui are for using the source code, not the .deb or .rpm packages. You could try using certbot in standalone or manual modes to generate the certificate and then copy the private key and certificate to /opt/key-networks/ztncui/etc/tls, overwriting privkey.pem and fullchain.pem, respectively.

penguinthingie commented 4 years ago

Understood. Any chance to allow customization on the UI portion with the .deb or .rpm version?

key-networks commented 4 years ago

It's all compiled into a package with pkg, so no easy way with the packaged version. You could try from source, though.