try to put the file in a subdirectory of the jboss installation.
Thanks for the reply
I have two concerns over here.
1:- I have tried copying the SSL KeyStore files to the CONF directory, still it throws up the same error.
2:- Secondly there should not be any dependency about the location of the Certificate files.
Any pointers would be highly appreciated.
Replace protocol="HTTP/1.1" with protocol="org.apache.coyote.http11.Http11NioProtocol"
Apparently the protocol handler that is instantiated when protocol="HTTP/1.1" does not have the clientAuth, keystorePath, and keystorePass properties.
Nio is not in EAP/JBossWeb: JBossWeb isn't Tomcat
BTW: Back to the orginal post... It seems that using Native, native needs the certificate and key in 2 files in PEM format, the most easy it to use openssl to generate the files, something like:
openssl genrsa -des3 -out newkey.pem 1024
openssl req -new -key newkey.pem -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey newkey.pem -out newcert.pem
SSLCertificateKeyFile="newkey.pem" in the connector.
Is this not the Tomcat integration section? :-P
I just ran into this same issue configuring JBOSS 4.2.3, which is why I proposed this fix.
There isn't a Http11NioProtocol in the jboss integration so I don't see how your suggestion could work.
Respectfully, I am not looking for a debate of whether or not Http11NioProtocol exists within a specific version of JBoss. The fix came straight out of the JBoss docs.
Albeit, the docs are not for EAP, however they worked for me with JBoss 4.2.3, which I thought might help in this situation.
I have fixed the jbossweb docs... Again protocol="org.apache.coyote.http11.Http11NioProtocol" shouldn't work: we removed the sources of corresponding classes years ago.
I had this same issue. I was able to resolve it by changing the protocol on my connector like so:
<Connector protocol=”org.apache.coyote.http11.Http11Protocol" SSLEnabled=”true”
scheme=”https” secure=”true” clientAuth=”false”
keystorePass=”password” sslProtocol = “TLS” />
Hope this helps