Glassfish 3.1.2 configuration Client Certificate for Mutual Authentication

后端 未结 4 662
[愿得一人]
[愿得一人] 2021-01-01 05:42

I need help in configuring GF3.1.2 i have done following changes, please do let me know if i am missing anything important as after changes it is NOT working. my id is niles

4条回答
  •  暖寄归人
    2021-01-01 06:30

    Actually I tries on glassfish 3.1.2 and it worked under following conditions:

    1.I have to use the same key(trust) store of jks type and in the same location. In order to talk with other certificate formats you have to convert them to format jks format can handle.

    2.in a glassfish-web.xml you should have like this mapping

        
          manager   
        authorized
        
    

    3.in a domain.xml file you should have the followings:

    
                  
                 
    

    Note: in web.xml you have to have realm name matching domain.xml file

提交回复
热议问题