angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

SELF_SIGNED_CERT_IN_CHAIN

Open ovione opened this issue 7 years ago • 2 comments

🚀 Feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Description

I do a http.post and I proxy it with the proxy.conf.json to a site with https. The site I tried to post to has a self signed certificate. When I do a POST then I get a message in my server console

[HPM] Error occurred while trying to proxy request ?_action=logout from localhost:3000 to https://login.dev.data.intra/auth/json/sessions (SELF_SIGNED_CERT_IN_CHAIN) (https://nodejs.org/api/errors.html#errors_common_system_errors)

Describe the solution you'd like

I tries to use ng serve option --ssl true|false but keep having the error.

Describe alternatives you've considered

Should a proxy it with some flag or should I install the self singed certificate somewhere ?

ovione avatar Mar 07 '19 10:03 ovione

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.

If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.

alan-agius4 avatar Mar 07 '19 11:03 alan-agius4

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.