Fixing Expired Cert on Existing Frontend

I managed to get Zrok setup and working a while back, but I've realized the certs for my API endpoint have expired (api.zrok.mysite.com)

I'm not sure how to renew this. I don't think I used Nginx originally since my nginx config seems to be empty.

I generated fresh certificates manually with certbot but how do I get the frontend / API server to use them? I can't even run zrok admin list frontends because I get an SSL error as it tries to hit api.zrok.mysite.com

Hi @0xRy4n, welcome to the community and to zrok! (and OpenZiti/BrowZer)

I'm not exactly sure how you deployed zrok to begin with. If it was me, I would probably try to find the services that are running, trace the config files back and figure it out from there.

You could do sudo ss -lntp and find what process has the port and go from there?

sudo ss -lntp
State                      Recv-Q                     Send-Q                                         Local Address:Port                                          Peer Address:Port                    Process
LISTEN                     0                          4096                                                 0.0.0.0:2000                                               0.0.0.0:*                        users:(("docker-proxy",pid=182459,fd=4))
LISTEN                     0                          511                                                  0.0.0.0:8445                                               0.0.0.0:*                        users:(("nginx",pid=181396,fd=9),("nginx",pid=181395,fd=9))
LISTEN                     0                          4096                                                 0.0.0.0:8446                                               0.0.0.0:*                        users:(("docker-proxy",pid=182390,fd=4))
LISTEN                     0                          4096                                                 0.0.0.0:4100                                               0.0.0.0:*                        users:(("docker-proxy",pid=182386,fd=4))
LISTEN                     0                          128                                                  0.0.0.0:22                                                 0.0.0.0:*                        users:(("sshd",pid=2102618,fd=3))
LISTEN                     0                          4096                                                 0.0.0.0:443                                                0.0.0.0:*                        users:(("docker-proxy",pid=182380,fd=4))
LISTEN                     0                          4096                                                 0.0.0.0:8558                                               0.0.0.0:*                        users:(("docker-proxy",pid=2222548,fd=4))
LISTEN                     0                          511                                                  0.0.0.0:8448                                               0.0.0.0:*                        users:(("nginx",pid=181396,fd=10),("nginx",pid=181395,fd=10))
LISTEN                     0                          4096                                           127.0.0.53%lo:53                                                 0.0.0.0:*                        users:(("systemd-resolve",pid=2102625,fd=14))
LISTEN                     0                          4096                                                    [::]:2000                                                  [::]:*                        users:(("docker-proxy",pid=182486,fd=4))
LISTEN                     0                          4096                                                       *:10080                                                    *:*                        users:(("ziti",pid=181692,fd=7))
LISTEN                     0                          4096                                                    [::]:8446                                                  [::]:*                        users:(("docker-proxy",pid=182403,fd=4))
LISTEN                     0                          4096                                                       *:8441                                                     *:*                        users:(("ziti",pid=181273,fd=10))
LISTEN                     0                          4096                                                       *:6262                                                     *:*                        users:(("ziti",pid=181273,fd=9))
LISTEN                     0                          4096                                                    [::]:4100                                                  [::]:*                        users:(("docker-proxy",pid=182407,fd=4))
LISTEN                     0                          128                                                     [::]:22                                                    [::]:*                        users:(("sshd",pid=2102618,fd=4))
LISTEN                     0                          4096                                                    [::]:443                                                   [::]:*                        users:(("docker-proxy",pid=182388,fd=4))
LISTEN                     0                          4096                                                    [::]:8558                                                  [::]:*                        users:(("docker-proxy",pid=2222554,fd=4))
LISTEN                     0                          4096                                                       *:8505                                                     *:*                        users:(("ziti",pid=181692,fd=9))
LISTEN                     0                          4096                                                       *:3022                                                     *:*                        users:(("ziti",pid=181692,fd=8))
LISTEN                     0                          4096                                                       *:9001                                                     *:*                        users:(("zrok",pid=181634,fd=3))
LISTEN                     0                          4096                                                       *:9000                                                     *:*                        users:(("zrok",pid=181495,fd=10))