VoIP Web interface too many redirects

A new VoIP system was installed today at the school I work for. I have Caddy setup for a reverse proxy to redirect to a few different internal sites. The web interface for the VoIP system provides its own SSL certificate, which I believe is breaking Caddy’s proxy at some point in in the process.

I receive a too many redirects error with this configuration:
externalvoip.com { proxy / 172.16.32.5 { transparent } }
If I force http on the internal address, I receive a 502 error.

externalvoip.com { proxy / https://172.16.32.5 { transparent } }

Any suggestions to fix this would be greatly appreciated.

It’s possible the certificate provided by the VoIP system isn’t validated.

If not, you’ll need Caddy to ignore the certificate verification. You can do that with the insecure_skip_verify subdirective for proxy.

  • insecure_skip_verify overrides verification of the backend TLS certificate, essentially disabling security features over HTTPS.

https://caddyserver.com/docs/proxy

That did it! Thank you so much.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.