I'am running Appium java test cases to fetch some api but the api doesn't accessible and return an error
javax.mail.MessangingException: Connect Failed; nested exception is: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
I've created a certificate for my website www.example.com from here.
openssl req \
-x509 -nodes -days 365 -sha256 \
-newkey rsa:2048 -keyout mycert.pem -out mycert.pem
then try to import mycert.pem
to jre via
$JAVA_HOME/bin/keytool -import -alias mycertificate -keystore path_to_keystore -file certificate_file
but got another error
keytool input not an x.509 certificate
i've check the certificate is not corrupted with
openssl x509 -in mycert.pem -text