Hi All,
Previously I was using apache web server and tomcat for SSL redirection and web 
server, in that case redirection from apache to tomcat was working fine.

Now I have removed the apache web server and using tomcat only for ssl settings 
also [server.xml sslEnabled and other related settings], things are in general 
working fine, in one case redirection is not happening properly.

Following are the details about my server.xml
=
      <Connector port="80" address="<address>" protocol="HTTP/1.1"
                 connectionTimeout="20000"
                 maxPostSize="10485760" redirectPort="444" URIEncoding="UTF-8"/>

      <!--
      To disable TLSv1.0, add sslEnabledProtocols="TLSv1.1,TLSv1.2" to connector
      -->
      <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
                 maxThreads="150" scheme="https" secure="true"
                 keystoreFile="conf/my-server.keystore" keystorePass="<xxx>"  
keystoreType="jks"
                 compression="on" 
compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css,application/x-javascript,application/javascript"
                 address="<address>"
                 ciphers="<ciphers>"
                 clientAuth="false" sslProtocol="TLS"
                 sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"
                 redirectPort="444" maxPostSize="10485760"/>

    <Connector port="444" protocol="HTTP/1.1" SSLEnabled="true"
                 maxThreads="150" scheme="https" secure="true"
                 keystoreFile="conf/my-server.keystore" keystorePass="<xxx>"  
keystoreType="jks"
                 compression="on" 
compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css,application/x-javascript,application/javascript"
                 address="<address>"
                 truststoreFile="conf/ca.keystore" truststorePass="<yyy>" 
truststoreType="jks"
                clientAuth="true" sslProtocol="TLS"
                sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"
                ciphers="<ciphers>"
                redirectPort="443"  maxPostSize="10485760"/>
=

When I type,
http://<IP-Address<http://%3cIP-Address>>, I am able to access the server and 
able to perform the client-auth and server-auth operation

But when we try,
https://<IP-Address<https://%3cIP-Address>>, it fails


please help.


Regards
Manish

Reply via email to