Does AJP13 can supprt SSL? If yes, where can I find documents on that matter?
I have read that it supports SSL and make the following settings in Apache's httpd.conf
=========================================
httpd.conf
=========================================
LoadModule jk_module modules/mod_jk_2.0.45.dll
Listen 80
<IfModule mod_ssl.c>
Include conf/ssl/ssl.conf
</IfModule>
Include conf/jk/mod_jk.conf
<VirtualHost _default_:443>
SSLEngine on
ServerAdmin
[email protected] ErrorLog logs/AJP13.error_log
CustomLog logs/AJP13.access_log common
</VirtualHost>
=========================================
ssl.conf
=========================================
Listen 443
SSLPassPhraseDialog builtin
SSLSessionCache none
SSLSessionCacheTimeout 300
SSLMutex none
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLOptions +StdEnvVars +ExportCertData
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
LogFormat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" common
CustomLog logs/ssl_request_log common
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key
=========================================
mod_jk.conf
=========================================
JkWorkersFile conf/jk/workers.properties
JkLogFile logs/jk.log
JkLogLevel emerg
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkExtractSSL On
JkHTTPSIndicator HTTPS
JkSESSIONIndicator SSL_SESSION_ID
JkCIPHERIndicator SSL_CIPHER
JkCERTSIndicator SSL_CLIENT_CERT
JkMount /* loadbalancer
JkMount / loadbalancer
The problem is that Jetty throws exception that it can not recognize parameters although in mod_jk.conf Jk directives provide HTTPS, SSL_SESSION_ID, SSL_CIPHER and SSL_CLIENT_CERT
--------------------------
Console output:
11:45:30,648 WARN [jbossweb] WARNING: Unknown attr: 11=�6; jsessionid=981031052403183774
☺0 ♣ Saction=inspectMBean&name=jboss.deployment%3Atype%3DDeploymentScanner%2Cflavor%3DURL
♠
11:45:30,648 WARN [jbossweb] WARNING:
java.lang.StringIndexOutOfBoundsException: String index out of range: 27818
at java.lang.String.checkBounds(String.java:292)
at java.lang.String.<init>(String.java:326)
at org.mortbay.http.ajp.AJP13Packet.getString(AJP13Packet.java:288)
at org.mortbay.http.ajp.AJP13Connection.handleNext(AJP13Connection.java:196)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
at org.mortbay.http.ajp.AJP13Listener.handleConnection(AJP13Listener.java:204)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
----------------------------
Any suggestions will be in great help
Thanks in advance
[ May 21, 2003: Message edited by: Deyan Sultov ]
[ May 22, 2003: Message edited by: Deyan Sultov ]