Results 1 to 3 of 3

Thread: Custom SSL certificate error page

Hybrid View

  1. #1

    Default Custom SSL certificate error page

    Hi

    I donīt know this is the proper place to make this question..., any way there is.

    I configured my app to use SSL whit my welcome action, so the user has to use his certificate to authenticate.

    Code:
    <intercept-url pattern="/SecWelcome*" requires-hannel="https"/>		 									
    
    <port-mappings> 
            <port-mapping http="7001" https="7002"/> 		
    </port-mappings>
    Every thing works fine when the user do has a certificate, but in other case a error page is shown. For example, in firefox you get a ssl_error_handshake_failure_alert error.

    Is there any way to show a custom page in this case?

    I tried to use web.xml
    Code:
    <error-page>
        	<error-code>xxx</error-code>    	
        	<location>/pages/comun/error/xxx.jsp</location>
    </error-page>
    but it seems this error has not a valid error-code.

    Merry christmas

  2. #2
    Join Date
    Dec 2010
    Posts
    315

    Default

    How about if you declare a custom authenticationFailureHandler ref?

    I have an example of that at http://krams915.blogspot.com/2010/12...-using_26.html

  3. #3

    Default

    Thanks for your reply

    The problem is that there is not authentication process.
    As far as I know (try and error experience) itīs a two steps process:
    1- The user negociate the certificates with de server
    2- Once you know the certificate is valid, spring check access.

    Besides, if the user uses login/password access the system does redirects to a succesfull/error page.

    I think is a problem of configuration in web.xml, but, frankly, Iīm quite lost

    Thanks again for your time

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •