I have a modem that will only take .p12 files to add certificates.
I am using TLS auth on my OVPN server instance and am wondering if source ./vars then ./build-key-pkcs12 will wrap up the ca certificate the client key and certificate plus the ta.key into the .p12 file.
Or is there some other way to include the files in this export?
Scripts to manage certificates or generate config files
2 posts • Page 1 of 1
- OpenVPN Protagonist
- Posts: 6477
- Joined: Fri Jun 03, 2016 1:17 pm
No it will not.
I believe it is possible but not with the tools we use.
Openssl only supports including a single private key from the command line interface.
Also, if you did somehow manage to include the ta.key into your .p12 file .. openvpn will not use it.
You may be able to INLINE all the files.