How to do client certificate authentication with Apache

后端 未结 2 1868
难免孤独
难免孤独 2021-01-31 11:22

The question is very clear but I did not find any useful tutorial online. So I wish I could have some luck here.

Basically, I want to build a client certificate authenti

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-31 12:23

    You'll find instructions on how to create a CA cert and certs signed by this CA cert here: http://pages.cs.wisc.edu/~zmiller/ca-howto/

    Things go like this:

    • you setup your root CA key and cert
    • client generates his private key and certificate request
    • they send you the certificate request
    • you generate the certificate using the certificate request, your root CA cert and root CA key
    • you return the certificate to the client

    You can then check that the client presents a certificate which is "signed" by the CA.

提交回复
热议问题