I want to use Google Translation API in my Java Web App.
I have imported the certificate from https://translation.googleapis.com/$discovery/rest?version=v3 in cacerts.jks , but it doesn't work.
I am using Weblogic 12c and my Java version is jdk1.8.0_221
This is the server log:
Certificate chain received from translation.googleapis.com -
172.217.6.138 failed hostname verification check.
Certificate contained *.storage.googleapis.com but
check expected translation.googleapis.com
Hostname verification failed:
HostnameVerifier=weblogic.security.utils.SSLWLSHostnameVerifier,
hostname=translation.googleapis.com.