Skip to content

RDKB-65279 : Default OCSP stapling parameters#39

Open
Ananth916 wants to merge 2 commits into
developfrom
topic/RDKB-65279
Open

RDKB-65279 : Default OCSP stapling parameters#39
Ananth916 wants to merge 2 commits into
developfrom
topic/RDKB-65279

Conversation

@Ananth916

Copy link
Copy Markdown

Reason for change: Defaulting OCSP RFC to true
Test Procedure: Build & Verify
Risks: Low
Priority: P1

Copilot AI review requested due to automatic review settings June 5, 2026 08:00
@Ananth916 Ananth916 requested a review from a team as a code owner June 5, 2026 08:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates ocsp-support.sh to “default” OCSP stapling and OCSP CA behavior to enabled by writing EnableOCSPStapling / EnableOCSPCA into syscfg, aligning runtime behavior with the stated goal of defaulting OCSP-related RFC behavior to true.

Changes:

  • Adds logic to force-set EnableOCSPStapling=true when the current status is not "true".
  • Adds logic to force-set EnableOCSPCA=true when the current status is not "true".
  • Re-reads syscfg values after applying defaults and logs the resulting status.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ocsp-support.sh
Comment on lines +36 to +46
if [ "$StatusOCSPSTAPLE" != "true" ]; then
echo "Defaulting StatusOCSPSTAPLE set to true" >> $OCSP_LOG_FILE
syscfg set "EnableOCSPStapling" "true"
syscfg commit
fi

if [ "$StatusOCSPCA" != "true" ]; then
echo "Defaulting StatusOCSPCA set to true" >> $OCSP_LOG_FILE
syscfg set "EnableOCSPCA" "true"
syscfg commit
fi
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

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.

3 participants