Login failed for an unknown reason .
Hi,
Problem Summary
—————————————————
weblogic.socket.UnrecoverableConnectException Login failed for an unknown reason
Problem Description
—————————————————
We tried to login agile server through java code. But we were not able to connect agile server. Please find the attachement.
after ssl configuration we facing this Issue. please let me know the Solutions.
Thanks,
Madhu
Hi Madhu,
If you are running a standalone code from eclipse, add -Dweblogic.security.SSL.protocolVersion=TLS1 in Run Configurations’ Program arguments as well as VM arguments.
In case you are executing the code via shell script then add the three parameters in the line where you are executing Java-code
e.g. java -Dweblogic.security.SSL.protocolVersion=TLS1 -Dhttps.protocols=”TLSv1″ -Djdk.tls.client.protocols=”TLSv1″ FullyQualifiedNameOfYourCode.YourMainClass
Regards,
Arif
Hi Arif,
After adding Dweblogic.security.SSL.protocolVersion=TLS1 in Run Configurations’ Program arguments as well as VM arguments.
We got following error.
Error: Could not find or load main class Dweblogic.security.SSL.protocolVersion=TLS1
Please let me know the solution.
Thanks,
Madhu
Hi Madhu,
I suggest you check with network team. I did a quick fact-finding and could see most of the times the issue is faced when you have installed new anti-virus software or some configuration changed w.r.t Weblogic service.
If it is not resolved then i suggest you to log a SR with Oracle support.
Regards,
Arif
Hi,
Whether we need to import certificate to local jre? if yes we tried but ended up getting bellow error
C:Userskkp>keytool -import -trustcacerts -file C:AgileSSLSSLKey.keystore -alias server -keystore “c:Program FilesJavajre1.8.0_131libsec
uritycacerts” -storepass changeit
keytool error: java.lang.Exception: Input not an X.509 certificate