FreeTakServer icon indicating copy to clipboard operation
FreeTakServer copied to clipboard

Certificate Packages using the wrong IP Address

Open TLeggett68 opened this issue 11 months ago • 4 comments

Probably not an issue per say. While using ZeroTier, generated certificates are being created with the servers physical IP and not the ZeroTier assigned IP for that device. Is there a work around to force the use of the ZT IP? All IP addresses within the config.py point towards the ZT assigned IP. The UI Data package IP has no effect on the IP Address in the certificate.

TLeggett68 avatar Mar 16 '24 04:03 TLeggett68

Just wanted to add, all IP addresses in the MainConfig.yaml also point towards the zero tier device IP as well. Im not sure why FTS still associates the device IP. If i navigate to zerotierIP:5000 from outside the local network, i can access the UI.

TLeggett68 avatar Mar 18 '24 04:03 TLeggett68

hey there, sorry for the delay, if you update to version 2.2.1 and set the following variables in your /opt/FTSConfig.yaml file

Addresses:
  FTS_DP_ADDRESS=[YOUR ZT IP]
  FTS_USER_ADDRESS=[YOUR ZT IP]

simply restart your server, regenerate your certificates and then they should contain your ZT IP.

naman108 avatar May 10 '24 13:05 naman108

Hey @TLeggett68 , have you tried implementing the fix above yet?

nir2602 avatar May 21 '24 20:05 nir2602

@nir2602 I have not tried it yet. I’ll give it a shot tonight or tomorrow and report back. Thank you for taking the time to check it out.

TLeggett68 avatar Jun 03 '24 04:06 TLeggett68