Skip to content

fix: show OCSP stapling as informational, not pass/fail#307

Open
maximillions-dev wants to merge 1 commit into
lissy93:masterfrom
maximillions-dev:fix/ocsp-stapling-display
Open

fix: show OCSP stapling as informational, not pass/fail#307
maximillions-dev wants to merge 1 commit into
lissy93:masterfrom
maximillions-dev:fix/ocsp-stapling-display

Conversation

@maximillions-dev
Copy link
Copy Markdown

The TLS Connection card showed ❌ No when OCSP stapling wasn't enabled, which makes it look like a security failure. OCSP stapling is a performance optimization β€” absence isn't an issue.

Changed the card display from:

Before: ❌ No βœ… Yes
After: Not enabled Yes

No emoji, no red cross. Just factual.

The analysis rule already uses severity: 'info' for this check, so the advisory panel was correct β€” only the card display was misleading.

Verified with tsc and prettier, both clean.

The OCSP Stapling row in the TLS Connection card used the yesNo()
helper, rendering '❌ No' when the server doesn't staple OCSP
responses. Since OCSP stapling is a performance optimization rather
than a security requirement, displaying it as a failure is misleading.

Replaced with a neutral ocspStatus() that shows 'Yes' or 'Not enabled'
without emoji icons. The analysis rule (tls-connection.ts) already
uses severity 'info' for this check, so the Advisory panel was
correct; only the card display was wrong.

Closes lissy93#299
@netlify
Copy link
Copy Markdown

netlify Bot commented May 18, 2026

βœ… Deploy Preview for web-check ready!

Built without sensitive environment variables

Name Link
πŸ”¨ Latest commit 59a6c70
πŸ” Latest deploy log https://app.netlify.com/projects/web-check/deploys/6a0b01f72eab1900082f06ac
😎 Deploy Preview https://deploy-preview-307--web-check.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
πŸ€– Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Successfully merging this pull request may close these issues.

2 participants