Relax or restore TLS certificate checking
browser_relax_certificate_checksTemporarily disables Firefox certificate pinning and OCSP checks so self-signed or internal test certificates work; set relax to false to restore prior preferences.
Instructions
SECURITY SENSITIVE. Switches the certificate-checking preferences that make a self-signed or internally issued test certificate usable: cert pinning, OCSP and OCSP stapling/must-staple. relax:true turns those checks off; relax:false puts them back. Restoring is precise: a preference that had no user value before is cleared so it falls back to the Firefox default again, instead of being overwritten with a guess. The pre-relax values are remembered by THIS SERVER PROCESS, so restore only works while it is alive; if the server restarted, restore reports that instead of guessing. Some TLS changes only affect new connections.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"relax": "<relax>"
},
"name": "browser_relax_certificate_checks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relax | Yes | true to relax the checks (unsafe), false to restore what was there before |