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

OCSP Stapling added #798

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

adityapatadia
Copy link

No description provided.

@adityapatadia adityapatadia mentioned this pull request May 6, 2024
@tgxworld
Copy link
Contributor

tgxworld commented May 9, 2024

@adityapatadia Thank you for the contribution 👍 I understand how enabling OSCP stapling can be useful but I would like to understand further why you are proposing this as a default for all Discourse instances that uses web.letsencrypt.ssl.template.yml.

@@ -125,6 +125,10 @@ hooks:
to: |
ssl_certificate_key /shared/ssl/$$ENV_DISCOURSE_HOSTNAME.key;
ssl_certificate_key /shared/ssl/$$ENV_DISCOURSE_HOSTNAME_ecc.key;
ssl_stapling on;
ssl_stapling_verify on;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Nginx's doc,

For verification to work, the certificate of the server certificate issuer, the root certificate, and all intermediate certificates should be configured as trusted using the ssl_trusted_certificate directive.

Are we missing the ssl_trusted_certificate directive for this to work?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not required.

@adityapatadia
Copy link
Author

adityapatadia commented May 9, 2024 via email

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

Successfully merging this pull request may close these issues.

2 participants