You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when establishing a WebSocket connection to our server this exception occurs.
Unacceptable certificate from abc.example.com: application verification failure
The exception is captured by const Poco::Net::SSLException &e , kindly refer the code below
I observed that this exception only occurs when the SSL cert received from the server contains different CN instead of the server endpoint I'm connecting to (in case Self Signed firewall certificates).
I printed the certificate , here is the sample as i cannot share the original certificate
Certificate Validation Success, Certificate Details: Subject: CN=*.xyz.com, Issued Name: C=GB,ST=Greater Manchester,L=Salford,O=Sectigo Limited,CN=Sectigo RSA Domain Validation Secure Server CA, Common Name: *.xyz.com, Serial Number: 90F3****DEE, Expires on: 2025-05-02 05:29:59, Signature Algorithm: sha256WithRSAEncryption
xyz.com is not the server I'm trying to connect to.
#1414 - this is similar to my issue but in my case I'm using WebSocket with HTTPClientSession
Thanks in advance for any suggestions.
The text was updated successfully, but these errors were encountered:
try using Poco::Net::Context::VERIFY_NONE
because if you use VERIFY_RELAXED you need to create the Poco::Net::Context giving the correct caLocation file. For example you can use a .pem file from mozilla firefox you can find it online
when establishing a WebSocket connection to our server this exception occurs.
Unacceptable certificate from abc.example.com: application verification failure
The exception is captured by const Poco::Net::SSLException &e , kindly refer the code below
initialize() will be called before connect()
I observed that this exception only occurs when the SSL cert received from the server contains different CN instead of the server endpoint I'm connecting to (in case Self Signed firewall certificates).
I printed the certificate , here is the sample as i cannot share the original certificate
xyz.com is not the server I'm trying to connect to.
#1414 - this is similar to my issue but in my case I'm using WebSocket with HTTPClientSession
Thanks in advance for any suggestions.
The text was updated successfully, but these errors were encountered: