I want to make custom certificates for OpenVPN without using the username and the password authentication option but rather directly putting the authentication credentials within the client certificate. This will be used for a more flexible authentication system across multiple nodes without the need to create client certificates locally on each node.
Basically, the client certificate will remain the same except for the fact that there is a token inside the certificate itself, and when the client connects to a node. The node will authenticate the client with the token. What is the best way to achieve this without the use of usernames and passwords.
Thank you.