I still cant seem to get this error message to go away. I have completely redone my JBoss setup and double checked everything. I have SSL support on port 8443. I am able to make SSL calls to an ActiveDirectory server with no errors reported. I am also able to make standard HTTPS SSL calls using httpComponents. I even have two webservice endpoints under jbossWS, both of which are SSL only, and they work. I am only getting SSL errors when calling someone elses Web Service.
I am getting closer. I am now able to make webservice calls without the warning/error . But its very strange how I got it to work. Removing the settings from jbossweb /server.xml and leaving the settings in run.conf.bat made the errors go away. For some reason I still get the errors if I have the settings in the XML file, although I get no errors on startup and HTTPS:8443 works fine.
I jumped the gun on this one. The error is still there.
I am missing something, but I cant figure it out. I understand that this issue seems to have been covered a few times, but everything everyone says as being a solution is something I have already done before I even looked for a solution. I must be looking over some small detail..... below is what Iv done (for the 100th time in a row). Yet still have the error, although I have full SSL support.
Please note that the * is just to cover the real values.
keytool -genkey -alias jboss -keyalg RSA -dname "CN=localhost,OU=*,O=*,L=*,S=*,C=US" -keystore .keystore
keytool -export -alias jboss -file jboss.cer
keytool -import -alias jboss -keystore .truststore -file jboss.cer
set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.ssl.keyStore=%JBOSS_HOME%/server/default/conf/.keystore"
set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.ssl.keyStorePassword=*"
set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.ssl.trustStore=%JBOSS_HOME%/server/default/conf/.truststore"
set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.ssl.trustStorePassword=*"
<Connector protocol="HTTP/1.1" SSLEnabled="true"
scheme="https" secure="true" clientAuth="true"
sslProtocol = "TLS" />