I installed the Twilio module in my Ignition Gateway and add the SID and Token correctly. When I click save changes then it says Faulted: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed in the Status window.
Any thoughts on why?
This computer is connected to the internet and doesn't have firewall issues.
I’ve only seen this when your network / IT department is intercepting all traffic but you haven’t added the corporate root CA used to do so to the Ignition supplemental certificate folder.
I've gotten this cert issue worked out and Twilio is active now however it is not sending text messages so I am trying to figure out what could be the cause.
I setup the users with phone numbers and made sure all that was setup correctly.
When I trigger an alarm then it doesn't trigger an event to send an email with Twilio.
Any thoughts?
Can you elaborate? We are having the same issue trying to get a 7.7.6 version of ignition to send messages via twilio, although we are using a java 8u191. Function works on our newer Ignition installs(8.1)
Can you post the exact error and stack trace you're getting?
PKIX validation usually fails when there's no path to a trusted root. Since this is Twilio we're talking about, it's a publicly accessible service using a certificate signed by a public CA. That means by far the most likely thing causing a PKIX failure is that your corporate network/IT setup is playing MITM using a corporate root CA certificate, but Ignition has its own CA store and that certificate isn't in there.
It's also possible that JDK 8u191 is old enough to not have some new CA cert being used.
1 Like