SSL VPN with certificate authentication
Hi,
I am currently testing SSL VPN multi-factor authentication. Since we already have PKI and smart cards running in the Microsoft AD environment, I followed the steps in the guide:
Everything executed smoothly, but I noticed a peculiar authentication mechanism. Fortigate's certificate multi-factor authentication matches if the account subject string on Fortigate matches part of the information in the certificate subject. I believe this is not a secure and rigorous matching method. The PKI user's subject should fully match the certificate subject.
- How can I avoid the following situation?
- Additionally, can Fortigate's certificate authentication authenticate the subject alternative name in the certificate?
The following is the verification process:
[366] peer_subject_cn_check-Cert subject 'CN = test3-jason'
[294] __RDN_match-Checking 'CN' val 'jason' -- match.
[324] __cert_subject_RDN_compare-Total matched RDNs in cert: 1
[391] peer_subject_cn_check-Subject is good.
[497] __check_add_peer-'jason' check ret:good
[612] __peer_user_clear_unmatched-Clear all user(s) other than 'jason'
[631] __peer_user_clear_unmatched-
[191] __get_default_ocsp_ctx-def_ocsp_ctx=(nil), no_ocsp_query=0, ocsp_enabled=0
[738] fnbamd_cert_check_group_list-Peer users
[741] fnbamd_cert_check_group_list- 'jason' ('N/A','N/A')
[867] __cert_verify_do_next-req_id=127465600
[99] __cert_chg_st- 'Validation' -> 'Done'

