Topic: [SOLVED] ASN no signer to confirm failure when a clients connecting
I implement a process based on wolfssl in QNX platform.
Set the CipherSuit(ECDHE-ECDSA-AES128-GCM-SHA256), load server.cert, server.key, ca.cert.
Then a client connecting with some corresponding authentications, Verification OK.
However, server-side load certchain.cert instead of ca.cert, the Verification is not OK.
And the -188 error is printed in the server-side function VerifyCallback().
I made the certification chain by writing server.cert and ca.cert to a new file certchain.cert.
Is this method of make certification chain correct?
And What can be the cause of the error -188 and how can I solve this?
Thank You.
server.cer:
-----BEGIN CERTIFICATE-----
MIIBzjCCAXSgAwIBAgIIAT8Lw/rhH90wCgYIKoZIzj0EAwIwbTELMAkGA1UEBhMC
ZGUxDzANBgNVBAgMBmJlcmxpbjEPMA0GA1UEBwwGYmVybGluMQwwCgYDVQQKDANp
YXYxDjAMBgNVBAsMBXZjZDIxMR4wHAYDVQQDDBVWSU49V1ZXWlpaM0NaRlA0MDAx
NjgwIhgPMjAxNTAxMzEwNzA4MTFaGA8yMDE2MDYxNTA3MDgxMVowaTELMAkGA1UE
BhMCZGUxDzANBgNVBAgMBmJlcmxpbjEPMA0GA1UEBwwGYmVybGluMQwwCgYDVQQK
DANpYXYxDjAMBgNVBAsMBXZjZDIxMRowGAYDVQQDDBFVU0FHRT1WaVdpIFNlcnZl
cjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGbsi52pPLltJC0kg2NRIThRcWtU
R93q84fsscTB2cxecauTHU4mMA62IqAFoc2ueI32zGVqxZNrX5dGr6LCwQcwCgYI
KoZIzj0EAwIDSAAwRQIhANYv2Gc4UUIKD6hsT/EaKecFxfz1LgYv4uFRlyAoLev1
AiBJDvBX0+pPjgTSX+zajNiIBnssitpNtWMG3+osJuMH4A==
-----END CERTIFICATE-----
ca.cer:
-----BEGIN CERTIFICATE-----
MIIB4zCCAYqgAwIBAgIIAb9ffAF3qDYwCgYIKoZIzj0EAwIwbTELMAkGA1UEBhMC
ZGUxDzANBgNVBAgMBmJlcmxpbjEPMA0GA1UEBww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