Skip to main content

Glassfish web service over ssl

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2011-10-01


We have a web service that was written and deployed to Glassfish v3.1 and we are trying to use it over ssl with apache and mod_jk. It seems when we hit the webservice with apache, mod_jk and a ssl certificate that we get the error "expected http, received https".

That seems to indicate to me that the web service is not listening for ssl, just regular http. How to i determine if it's a missing Glassfish configuration that we have or maybe that the web service written does not support SSL somehow? We tried to use keytool and make sure our jk-connector http listener listened over ssl and had a valid certificate but that seemed to make no difference, we still got the "expected http, received https" error.

Any thoughts or ideas would be greatly appreciated!