[strongSwan] ipsec.secrets file coded in unknown format, discarded

Tobias Brunner tobias at strongswan.org
Mon Jul 22 17:03:51 CEST 2013


Hi Damien,

> # From /var/log/syslog:
> charon: 00[CFG] loading secrets from '../ipsec.secrets'
> charon: 00[LIB]   file coded in unknown format, discarded

This is logged if the pem plugin fails to parse the private key file.
Make sure the file you configured in ipsec.secrets is actually a valid
PEM encoded file.  If that is the case, you could try increasing the log
level for the ASN log group (see [1]) to debug this further.

Regards,
Tobias

[1] http://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration




More information about the Users mailing list