apupier commented on code in PR #12769: URL: https://github.com/apache/camel/pull/12769#discussion_r1464910997
########## components/camel-coap/src/test/java/org/apache/camel/coap/CoAPComponentTLSTestBase.java: ########## @@ -399,14 +405,21 @@ private void registerTLSConfiguration(CamelContext context) throws GeneralSecuri PrivateKey privateKey = (PrivateKey) keyStore.getKey("service", "security".toCharArray()); PublicKey publicKey = keyStore.getCertificate("service").getPublicKey(); - TrustedRpkStore trustedRpkStore = id -> { - return true; - }; - TrustedRpkStore failedTrustedRpkStore = id -> { - return false; - }; + // TrustedRpkStore trustedRpkStore = id -> { + // return true; + // }; + // TrustedRpkStore failedTrustedRpkStore = id -> { + // return false; + // }; + + NewAdvancedCertificateVerifier advancedCertificateVerifier = StaticNewAdvancedCertificateVerifier.builder() + .setTrustAllRPKs().setTrustAllCertificates().build(); + // NewAdvancedCertificateVerifier advancedCertificateVerifier = StaticNewAdvancedCertificateVerifier.builder() + // .setTrustedRPKs(new RawPublicKeyIdentity(publicKey)).build(); Review Comment: commented out code to remove -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org