how to get certificate from openvpn code example
Example: certificate openvpn client
openssl pkcs12 -export -in cert -inkey key -certfile ca -name MyClient -out client.p12
openssl pkcs12 -export -in cert -inkey key -certfile ca -name MyClient -out client.p12