[XCA] How to export certificates and keys

Scripts to manage certificates or generate config files
Post Reply
Tom7320
OpenVpn Newbie
Posts: 1
Joined: Thu Jan 28, 2016 7:44 pm

[XCA] How to export certificates and keys

Post by Tom7320 » Thu Jan 28, 2016 7:53 pm

Hello!

I try to use XCA to generate my certificates and keys for OpenVPN. This seems to work quite well, but I do not know what the appropriate cert an key export format for OpenVPN is?! "PEM private" to export my keys does not seem to work.
Thus my question in short: how do I use XCA to generate and export my certs and keys? I need separate files since I want to put them [inline] to the client config file....

THX a lot!

Thorsten

jgelinas3838
OpenVPN User
Posts: 19
Joined: Sun Mar 12, 2017 3:29 pm

Re: [XCA] How to export certificates and keys

Post by jgelinas3838 » Sun Mar 12, 2017 7:01 pm

Yes, this would be a nice one to know. I too am using XCA to create my certs.

TiTex
OpenVPN Expert
Posts: 209
Joined: Tue Apr 12, 2011 6:22 am

Re: [XCA] How to export certificates and keys

Post by TiTex » Mon Mar 13, 2017 12:43 pm

Open XCA ,
on Private Keys choose the private key that you want to export , on the right side click on Export , Export Format -> PEM private
on Certificates tab expand your CA, you should have the signed certificates underneath it , click on the one you want to export , on the right side click on Export -> Export format -> PEM (*.crt)

Post Reply