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

Why ssl_trusted_certificate directive isn't defined in server block when I choose other type of certificate than Let's Encrypt? #401

Open
dominikkrulak opened this issue Oct 21, 2022 · 0 comments

Comments

@dominikkrulak
Copy link

Help request

Let's say I choose not to use Let's Encrypt certificate but any other paid certificate for domain.
When certification type Let's Encrypt is enabled I see ssl_trusted_certificate directive added.
When certification type custom certificate is enabled I see no ssl_trusted_certificate directive added.

Why is that?


I try to respond to "Why is that?" question rhetorically.

Is this because you assume that root and Intermediate CA certificates chain is merged to /etc/nginx/ssl/example.com.crt in ssl_certificate directive?

Wouldn't be more elegant to define root and Intermediate CA certificates under ssl_trusted_certificate directive and server certificate under ssl_certificate?

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