Hello,
The same issue is happening to me. I have the same configuration as miked and I am using OpenJDK, but when I execute curl -v https://hooks.slack.com ; echo $?, it shows the certificate as on last answer.
Is it mandatory to use Oracle JDK, or is there something I need to check?
Regards