Troubleshooting Android App Connection Issues Caused by Apache OCSP Stapling and DigiCert Response Failures
Original Question or Issue:
- Upgrade FileCloud Server to version 23.263.2.
- Attempt to connect to the FileCloud server using the Android app.
- The Android app fails to establish a connection.
Environment:
- Product - FileCloud Server
- Version - 23.263.2
- Platform - Windows
Steps to Reproduce:
- Upgrade FileCloud Server to version 23.263.2.
- Attempt to connect to the FileCloud server using the Android app.
- The Android app fails to establish a connection.
Error or Log Message:
The server sends a placeholder OCSP response indicating "try again later" because it cannot retrieve the OCSP response from DigiCert.
This causes Android devices to reject the connection, despite the SSL certificate being valid.
Defect or Enhancement Number:
Cause:
The issue was identified by the Development team as being related to the server's inability to retrieve the OCSP response from DigiCert.
Although the SSL certificate was valid, Apache returned a placeholder OCSP response ("try again later") during the SSL/TLS handshake. Android devices rejected the connection because of this response.
Resolution or Workaround:
Three server-side options were provided to address the issue:
Option 1: Allow outbound access to DigiCert (Recommended)
- Allow the FileCloud server to access
ocsp.digicert.comover HTTP (TCP port 80). - Ensure DNS resolution is allowed.
- If a proxy is used, allow the connection through the proxy.
- Restart Apache after applying the firewall changes.
Option 2: Disable the placeholder OCSP response
Add the following directives to the Apache SSL configuration:
SSLStaplingFakeTryLater offSSLStaplingReturnResponderErrors off
Restart Apache after applying the changes.
Option 3: Disable OCSP stapling
Add the following directive to httpd-ssl.conf:
SSLUseStapling off
Restart Apache after applying the changes.
Options 2 and 3 were provided as alternatives because the customer had concerns about allowing outbound internet access from the FileCloud server.
Notes: