Trying to compile Corda from scratch. I cloned version 4.3 from Github. Details and error codes below.I am using Oracle java version 1.8. I have asked this question on slack as well but didn't find anyone who has faced this issue before.
Task :node-api-tests:test net.corda.nodeapitests.internal.crypto.X509UtilitiesTest > create valid server certificate chain FAILED java.security.cert.CertificateException at X509UtilitiesTest.kt:166 net.corda.nodeapitests.internal.crypto.X509UtilitiesTest > create valid self-signed CA certificate FAILED java.security.cert.CertificateException at X509UtilitiesTest.kt:131 46 tests completed, 2 failed Task :node-api-tests:test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:node-api-tests:test’.