[strongSwan] ipsec pool file with certificates

Martin Willi martin at strongswan.org
Thu Oct 28 15:28:30 CEST 2010


Hi Claude,

> * 192.168.122.190="C=LU, ST=n/a, L=Luxembourg, O=Fondation RESTENA, CN=Test Certificate"

How did you store these identities in the database?

strongSwan expects these identities in the encoded ASN1 form. We ship a
helper script with our distribution to convert identities to valid SQL
code:

./scripts/id2sql "O=strongswan, CN=test"

> type	encoding
> 9,	X'302431133011060355040a130a7374726f6e677377616e310d300b0603550403130474657374'

Regards
Martin





More information about the Users mailing list