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

Damien Benoist dams.benoist at gmail.com
Tue Jul 23 12:00:44 CEST 2013

Hi Tobias,

Yes that was the private key file that was invalid.


2013/7/22 Tobias Brunner <tobias at strongswan.org>:
> 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