Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [Users] key creation

From: Dennis Bieling <dennis.bieling(at)epigenomics.com>
Date: Thu Oct 02 2003 - 09:02:44 EDT

Hi Mark,

I'm not quite sure if I got your problem right, but the procedures to create/install the needed keys/certificate for a x509 patched freeswan are :

  1. Generate a selfsigned Root CA, if you don't have one. 1.1. Generating the private key for the root CA: openssl genrsa -des3 -out private/cakey.pem 2048 1.2. Generate the certificate and sign it with the private key: openssl req -new -x509 -days 1460 -key private/cakey.pem -out cacert.pem
  2. Create a certificate for the gateway machine: 2.1. Generating the private key: openssl genrsa -des3 -out private/gatewayKey.pem 1024 2.2.Create the certificate request: openssl req -new -key private/gatewayKey.pem -out gatewayReq.pem 2.3.Sign the request: openssl ca -notext -in gatewayReq.pem -out gatewayCert.pem

Out of historical reasons, you have to put the certificate also in a binary form into /etc/x509cert.der:

openssl x509 -in gatewayCert.pem
  -outform der -out /etc/x509cert.der

Now setup the /etc/ipsec.secrets file.
If you are using certificates, it is enough to just enter the name for the private key and the passphrased used to decode for example:

: RSA gatewayKey.pem "passphrase"

The last step will be to setup the /etc/ipsec.conf file matching your connections and maybe some additional erouting.

Do you need help?X

That's all !

Best regards

Dennis

Mark Ireland-Spicer wrote:
> I have installed FreeSWAN from RPM on my RH8 system. When I ran 'verify'



FreeS/WAN Users mailing list
users@lists.freeswan.org
https://mj2.freeswan.org/cgi-bin/mj_wwwusr Received on Thu Oct 2 09:20:48 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:01:39 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library