Networking Forums

Networking Forums > Computer Networking > Linux Networking > FreeSwan and certificates

Reply
Thread Tools Display Modes

FreeSwan and certificates

 
 
Mitja Sladovic
Guest
Posts: n/a

 
      04-09-2004, 03:19 PM
Hi

I have Linux FreeS/WAN super-freeswan-1.99.8 with X509 patch on server side,
with working WinXP native IPSEC connections (where i'm CA).

Now I want to add cert to freeswan from custumer, where he is a CA.
He gives me cert.pfx and cert-ca.p7b (CA Cert).

So i converted those certs in PEM format:
Private cert:
openssl pkcs12 -in cert.pfx -out cert_pem.pem
openssl rsa -in cert_pem.pem -out cert.pem # to remove password

CA cert:
openssl pkcs7 -inform DER -in cert-ca.p7b -print_certs -text -out cert-ca.pem

I configured ipsec.conf:
conn customer
left=(my IP)
leftsubnet=192.168.1.0/24
leftcert=/etc/ipsec.d/cert.pem
right=(Customer's IP)
rightsubnet=10.0.10.0/24
rightcert=/etc/ipsec.d/cert-ca.pem
rightca=%same
pfs=yes
auto=start


Is certificate convertion process OK?
IS ipsec.conf configuration OK?
What should I define in ipsec.secrets?

Thanks a lot!!!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN with Certificates SuperPlay Windows Networking 0 06-13-2007 02:04 PM
Certificates Dumb Luck Windows Networking 1 03-23-2007 05:28 AM
VPN and Certificates SeanB Windows Networking 0 09-08-2005 10:31 AM
freeswan help!!! travisb Linux Networking 4 10-08-2004 08:57 AM
need help with freeswan! Holger Mengel Linux Networking 0 02-13-2004 07:52 AM



1 2 3 4 5 6 7 8 9 10 11