Solution for General SSLEngine problem

{"errors":[{"code":"General SSLEngine problem","message":" General SSLEngine problem\n\tat\n\tat$1.onFailure
openssl s_client -connect ${SERVERHOST}:${SERVERPORT} </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ${SERVERHOST}.cert
keytool -import -noprompt -trustcacerts -alias ${SERVERHOST} -file ${SERVERHOST}.cert -keystore ${KEYSTORE} -storepass ${KEYSTOREPASSWORD}
keytool -list -v -keystore ${KEYSTORE} -storepass ${KEYSTOREPASSWORD} -alias ${SERVERHOST}
openssl s_client -connect </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > -import -noprompt -trustcacerts -alias -file -keystore /usr/lib/jvm/java/jre/lib/security/cacerts -storepass changeitkeytool -list -v -keystore /usr/lib/jvm/java/jre/lib/security/cacerts -storepass changeit -alias
ws.ssl {
trustManager = {
stores = [
{ path: ${}/truststore}
{ path: ${java.home}/lib/security/cacerts }




Software Engineer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

4 Key Cloud Migration Strategies To Accelerate Your Digital Era

Google is hiring secretly by Google Foobar Challenge!!!

Did Windows 7 Tell Me How to Pass My Gamified Assessment

How to communicate with the Cardano node on a remote host

Flutters’ Stable Experience Parity Is Becoming a Problem

Introduction to Kubernetes(K8s) & Use Cases solved by K8s in Industries

Automating Youtube views

How to renew your tablet keyboard

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ashwini Anand

Ashwini Anand

Software Engineer.

More from Medium

A New Approach to Fraud Credit Card Transaction Prevention

Detect Sensitive Data (PII) by Amazon Macie

How does java implement the Enhanced For loop?

Convenient Way to Mutate Immutable Objects