Hi,

I think the easiest answer to my question is to use openssl commands from 
the MS Windows command prompt to convert already created keys to pkcs#1 
format in the following way.

from the folder where the certificates are stored issue:
c:\Program Files\OpenVPN\easy-rsa\CertFolder> openssl rsa -in 
<nameofserverkey>.key -outform pem > <nameofserverkey>.pem
c:\Program Files\OpenVPN\easy-rsa\CertFolder> openssl rsa -in 
<nameofclientkey>.key -outform pem > <nameofclientkey>.pem

Thanks
/Mikael





From:   Jan Just Keijser <[email protected]>
To:     [email protected], [email protected], 
Date:   2015-04-28 15:20
Subject:        Re: [Openvpn-users] Easy-rsa and pkcs#1 key generation



Hi,

On 28/04/15 10:43, [email protected] wrote:
Hi, 

is it at all possible to generate pkcs#1 keys in easy-rsa for MS Windows? 
if so how do I do it? 

I.e. keys with these headers: 
-----BEGIN RSA PRIVATE KEY----- 
. 
. 
. 
-----END RSA PRIVATE KEY----- 



this is explained in my book, the OpenVPN 2 Cookbook.
Basically, when you install OpenVPN also install the easy-rsa scripts ; 
that will give you a set of batch scripts that work almost the same as the 
Linux versions. By editing vars.bat then run
  vars.bat
  clean-all.bat
  build-ca.bat
  build-key.bat
you will end up with a client (or server) key/cert pair , with the key in 
PKCS#1 format.

HTH,

JJK

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to