Hello,
I’m running some tests with the broker in the Software (Docker) version using SAP Cloud Integration with the Advanced Event Mesh adapter.
It works for communication using the SMF protocol without a secure connection (SSL).
When communicating with the SMF protocol and a secure connection (SSL), the following error is displayed when deploying iFlow:
[CONTENT][CONTENT_DEPLOY][InstanceError] : {“message”:“EXCEPTION”,“parameters”:[“org.apache.camel.RuntimeCamelException: com.solacesystems.jcsmp.JCSMPTransportException: ValidatorException - PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”],“childMessageInstances”:[{“message”:“CAUSE”,“parameters”:["com.solacesystems.jcsmp.JCSMPTransportException: ValidatorException - PKIX path building failed: sun.security.provider.certpath.SunCertPathBuild
Logging into the Broker client, the error is displayed Below:
event: SYSTEM: SYSTEM_SSL_CONNECTION_REJECTED: - - SSL Connection rejected: reason (ssl/tls alert certificate unknown); connection to XXXXX:5
5443 from YYYYY:41984
The broker was installed on an EC2 machine in AWS, and the communication ports were opened to send and receive messages/events.
To enable the SSL connection, a self-signed certificate was created:
openssl req -x509 -nodes -days 3650 \
-newkey rsa:2048 \
-keyout server.key \
-out server.crt \
-config san.cnf \
-extensions req_ext
cat server.crt server.key > server.pem
Certificate imported and enabled in the Broker:
docker exec -it solace /usr/sw/loads/currentload/bin/cli -A
enable
configure
ssl
server-certificate server.pem
Info:
Flags Legend:
TP - Transport
S - SSL (Y=Yes, N=No, -=not-applicable)
C - Compressed (Y=Yes, N=No, -=not-applicable)
VRF - VRF (Mgmt=management, MsgBB=msg-backbone)
A - Admin State (U=Up, D=Down, -=not-applicable)
O - Oper State (U=Up, D=Down, -=not-applicable)
Service TP S C VRF MsgVpn Port A O Failed Reason
SMF TCP N N MsgBB 55555 U U
SMF TCP N Y MsgBB 55003 U U
SMF TCP Y N MsgBB 55443 U U
REST WEB N - MsgBB default 9000 U U
REST WEB Y - MsgBB default 9443 U U
SMF WEB N - MsgBB 8008 U U
SMF WEB Y - MsgBB 1443 U U
MQTT TCP N - MsgBB default 1883 U U
—Press any key to continue, or `q’ to quit—
MQTT TCP Y - MsgBB default 8883 U U
MQTT WEB N - MsgBB default 8000 U U
MQTT WEB Y - MsgBB default 8443 U U
AMQP TCP Y - MsgBB U D Not Permitted
AMQP TCP N - MsgBB default 5672 U U
AMQP TCP Y - MsgBB default 5671 U U
I would like to understand the reason for the connection refusal, given that the certificate was imported into SAP Cloud Integration.
Thanks