koa-proxies icon indicating copy to clipboard operation
koa-proxies copied to clipboard

ERR_TLS_CERT_ALTNAME_INVALID from proxy.web()

Open chrisveness opened this issue 4 years ago • 0 comments

I'm trying to use koa-proxies to proxy requests through to Amazon AWS, but the proxied file is returning with status 500.

Investigating, I can see that the call to proxy.web() is returning an error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: www.mtl.local. is not in the cert's altnames: DNS:*.s3.amazonaws.com, DNS:s3.amazonaws.com.

https://github.com/vagusX/koa-proxies/blob/0d9619b873a5d7e6c109c2234f32efaaa2fcdba8/index.js#L109

Can you advise how I can resolve this?

chrisveness avatar Apr 22 '22 15:04 chrisveness