Koozali.org: home of the SME Server

FreeSwan on 6.0 no Encryption key

glowthian

FreeSwan on 6.0 no Encryption key
« on: October 01, 2004, 03:09:18 PM »
After installing the 3 rpm's everything looks good  except no encryption key shows up, any ideas?

I did run /sbin/e-smith/signal-event ipsec-install
with no problems.
Greg

Offline ldkeen

  • *
  • 403
  • +0/-0
FreeSwan on 6.0 no Encryption key
« Reply #1 on: October 01, 2004, 04:28:54 PM »
Greg,
What version of devinfo-freeswan did you install? I know devinfo-freeswan-1.99-8sme56 definitely works, I haven't tried the latest vesion yet which I believe is smeserver-freeswan-1.99-10psc.noarch.rpm. You can manually copy the key from /etc/ipsec.secrets if the panel isn't displaying the data. Look for the line begining with "pubkey="
Lloyd

glowthian

FreeSwan on 6.0 no Encryption key
« Reply #2 on: October 01, 2004, 06:20:58 PM »
No encription key in the file /etc/ipsec.secrets using either version freeswan-1.99-8sme56 or  smeserver-freeswan-1.99-10psc.noarch.rpm
Did a new install with no luck.
I am using the latest version of 6.0 with no patches

Greg

Offline ldkeen

  • *
  • 403
  • +0/-0
FreeSwan on 6.0 no Encryption key
« Reply #3 on: October 01, 2004, 09:58:23 PM »
Can you post the output of the following:
#rpm -q freeswan  freeswan-module  devinfo-freeswan smeserver-freeswan
Lloyd

Medimo

FreeSwan on 6.0 no Encryption key
« Reply #4 on: October 04, 2004, 07:56:38 PM »
Do you have the templates?
there should be something like ipsec.conf and ipsec.secrets in /etc/e-smith/templates-custom/etc/

If there are, then you can manually make a new key by expanding the template ipsec.secrets:
/sbin/e-smith/expand-template /etc/ipsec-secrets
(or run the ipsec-install event again?)

If there arenot, you probably didn't install the devinfo*.rpm correctly...

Medimo.