You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2025/10/10 13:41:45 UTC
(tomcat) branch 10.1.x updated: Test OCSP with BoringSSL and LibreSSL
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new d7c76ca687 Test OCSP with BoringSSL and LibreSSL
d7c76ca687 is described below
commit d7c76ca68710dbdee706e75a71e44495d81d8509
Author: remm <re...@apache.org>
AuthorDate: Fri Oct 10 15:39:10 2025 +0200
Test OCSP with BoringSSL and LibreSSL
BoringSSL does not work anymore due to:
https://boringssl.googlesource.com/boringssl/+/1749dc9a70fd9cbb3221c47ef30cffd6fda06846
---
test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java b/test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java
index 4719020ec1..f507b89c6e 100644
--- a/test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java
+++ b/test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java
@@ -75,6 +75,7 @@ import org.apache.tomcat.util.net.Constants;
import org.apache.tomcat.util.net.SSLHostConfig;
import org.apache.tomcat.util.net.SSLHostConfigCertificate;
import org.apache.tomcat.util.net.TesterSupport;
+import org.apache.tomcat.util.net.openssl.OpenSSLStatus;
import com.sun.net.httpserver.Headers;
import com.sun.net.httpserver.HttpServer;
@@ -206,6 +207,10 @@ public class TestOcspIntegration extends TomcatBaseTest {
private int testOCSP(String pathToOcspResponse, boolean serverSideVerificationEnabled,
boolean clientSideOcspVerificationEnabled, boolean clientDiscoversResponderFromAIA, int ocspResponderPort)
throws Exception {
+
+ Assume.assumeFalse("BoringSSL does not allow supporting OCSP",
+ TesterSupport.isOpenSSLVariant(sslImplementationName, OpenSSLStatus.Name.BORINGSSL));
+
File certificateFile = new File(getPath(SERVER_CERTIFICATE_PATH));
File certificateKeyFile = new File(getPath(SERVER_CERTIFICATE_KEY_PATH));
File certificateChainFile = new File(getPath(CA_CERTIFICATE_PATH));
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org