Glassfish 3.1.2 configuration Client Certificate for Mutual Authentication

后端 未结 4 660
[愿得一人]
[愿得一人] 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:23

    The login-config section is incomplete in your web.xml

    
        CLIENT-CERT
        certificate
    
    

    The realm-name content must match the name attribute of auth-realm element in domain.xml, which in your case is "certificate"

    [updated]

    In addition, the CA certificate must be imported in the server's truststore

    ${com.sun.aas.instanceRoot}/config/cacerts.jks
    

提交回复
热议问题