How to use network certificates in OpenWrt?


how to generate and use network certificates with wifi access point on openwrt?
I mean I want to use certificates for authentication.
if certificate is present on the device then only the device will be able to connect to the access point.

let me know if there is any way