[strongSwan] peer cert verification: X509: temporary cert import operation failed
Thomas Jarosch
thomas.jarosch at intra2net.com
Fri Feb 16 09:51:22 CET 2018
Hi,
On Thursday, 15 February 2018 17:37:24 CET Thomas Jarosch wrote:
> Feb 15 17:20:11.324390: "companyserver" #1: Peer ID is ID_DER_ASN1_DN:
> 'CN=firewall.company.com, O=Company, OU=HQ' Feb 15 17:20:11.324416: |
> checking for CERT payloads
> Feb 15 17:20:11.324426: | found at last one CERT payload, calling
> pluto_process_certs() Feb 15 17:20:11.324498: | nothing to decode
> Feb 15 17:20:11.324509: "companyserver" #1: X509: temporary cert import
> operation failed Feb 15 17:20:11.324524: "companyserver" #1: cert verify
> failed with internal error Feb 15 17:20:11.324535: "companyserver" #1:
> X509: Certificate rejected for this connection Feb 15 17:20:11.324547:
> "companyserver" #1: X509: CERT payload bogus or revoked Feb 15
> 17:20:11.324558: | Peer ID failed to decode
> Feb 15 17:20:11.324567: | complete v1 state transition with
> INVALID_ID_INFORMATION
>
> What's puzzles me is the "X509: temporary cert import operation failed"
> error message. The output is from "plutodebug=all" already.
problem solved in the morning: Using the "ipsec" systemd service
was wrong and actually belonged to the libreswan package.
I confused these two as a few strongswan versions back the initscript
for strongswan was in fact /etc/rc.d/init.d/ipsec :)
After using the "strongswan" systemd service everything went smooth.
That also explains why it was suddenly using the nssdb
instead of the certificates from disk as I was used to it.
Cheers,
Thomas
More information about the Users
mailing list