Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions ocsp-support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,21 @@ if [ -z "$StatusOCSPCA" ]; then
StatusOCSPCA=`dmcli eRT getv Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.CRL.DirectOCSP | grep value | awk '{print $5}'`
fi

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
Comment on lines +36 to +46

StatusOCSPSTAPLE=`syscfg get EnableOCSPStapling`
StatusOCSPCA=`syscfg get EnableOCSPCA`

echo "status of RFC StatusOCSPSTAPLE $StatusOCSPSTAPLE StatusOCSPCA $StatusOCSPCA" >> $OCSP_LOG_FILE

if [ "$StatusOCSPSTAPLE" = "true" ]; then
Expand Down
Loading