Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR_TLS_CERT_ALTNAME_INVALID from proxy.web() #67

Open
chrisveness opened this issue Apr 22, 2022 · 0 comments
Open

ERR_TLS_CERT_ALTNAME_INVALID from proxy.web() #67

chrisveness opened this issue Apr 22, 2022 · 0 comments

Comments

@chrisveness
Copy link

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.

proxy.web(ctx.req, ctx.res, httpProxyOpts, e => {

Can you advise how I can resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant