If you want to disable OCSP in Firefox, follow these steps:
1. Press the three-dot menu on top of your screen.
2. Click on Settings.
3. Hit Privacy & Security.
4. Then select Certificates and uncheck Query OCSP responder servers to confirm the current validity of certificates.