Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Nov 7, 2025

This commit simplifies the handling of self-signed SSL certificates for ng serve with SSR. Previously, tests and potentially users had to set NODE_TLS_REJECT_UNAUTHORIZED or NODE_EXTRA_CA_CERTS to bypass certificate validation issues with self-signed certificates.

Closes #31710

@alan-agius4 alan-agius4 requested a review from hybrist November 7, 2025 10:33
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Nov 7, 2025
@alan-agius4 alan-agius4 requested a review from hybrist November 7, 2025 17:39
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 7, 2025
This commit simplifies the handling of self-signed SSL certificates for  with SSR. Previously, tests and potentially users had to set  or configure  to bypass certificate validation issues with self-signed certificates.

Closes angular#31710
@alan-agius4 alan-agius4 added merge: squash commits When the PR is merged, a squash and merge should be performed merge: fix commit message When the PR is merged, rewrites/fixups of the commit messages are needed labels Nov 7, 2025
@alan-agius4 alan-agius4 changed the title fix(@angular/build): simplify SSL handling for with SSR fix(@angular/build): simplify SSL handling for ng serve with SSR Nov 8, 2025
@alan-agius4 alan-agius4 merged commit ad99e00 into angular:main Nov 8, 2025
33 checks passed
@alan-agius4
Copy link
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4 alan-agius4 deleted the serve-ssl-ssr branch November 8, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build merge: fix commit message When the PR is merged, rewrites/fixups of the commit messages are needed merge: squash commits When the PR is merged, a squash and merge should be performed target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HttpClient request fails in development during SSR with SSL enabled

2 participants