Check X509 certificate revocation status in Spring-Security before authenticating

后端 未结 2 1446
无人共我
无人共我 2020-12-21 10:29

Is it possible to check the revocation status of a x509 client certificate through the CRL in spring-security before authenticating it? I\'ve checked documentations (http://

2条回答
  •  一向
    一向 (楼主)
    2020-12-21 10:49

    The SSL handshake is performed by the servlet container, rather than Spring Security, so any CRL checking should probably occur at that point. Spring Security treats it as a "pre-authentication" scenrario.

    Spring Security just reads the (already SSL-authenticated) certificate and allows you to link it to a local user account.

提交回复
热议问题