Generated the client certificate 'Not trusted' error.
I am working on C/C++ application on Linux for use with a Solace messaging appliance.
I received the Client Certificate signed by our CA .
When I run the secureSession.c example from C CSMP API Documentation I have the following error:
“The peer certificate is not trusted, rc='self signed certificate in certificate chain'”
Please see below output for the details.
Do you have any suggestions?
[[email protected][Output]50222 bin]$ ./SecureSSL --cip=https:solace-amer-dev.us.net.intra:55443 [email protected]_dev_us --dir=/home/ld72277/solace/certificates --cert=/home/ld72277/solace/certificates/cu_cbm_dev_us.pem --key=/home/ld72277/solace/certificates/keys/cu_cbm_dev_us.key --auth=1
secureSession.c (Copyright 2009-2020 Solace Corporation. All rights reserved.)
CCSMP Version 188.8.131.52 (Feb 27 2019 16:55:39) Variant: Linux26-x86_64_opt - C SDK
SDK WARNING Fri Oct 09 16:59:24.316 2020 solClientSSL.c:397 (7fc015ec4700) Session '(c0,s1)_gpfgba_dev_us': The peer certificate is not trusted, rc='self signed certificate in certificate chain'