The trace below indicated that the cert is not trusted.
I notice that you are using mykeystore.jks.
The default KeyStore is keystore.jks and default TrustStore is cacerts.jks.
Please make sure that the corresponding CA certs or the cert (if it is
self-signed) is in imported into cacerts.jks.