|
It really depends on the application and if the programmer chooses toFor years I've thought about adding this option to my software but every
validate the certificates or not.
I have one application that does not validate the certificate chain at all
as the trading partner is on MPLS and using a self-signed certificate. (No
CA.)
I have another application that requires us to validate the entire chain.
(Trading partner's requirement.)
So I have coded my programs accordingly. For instance if you are using
the HTTP API from Scott Klement you can use the HTTPS_STRICT API.
From the example on how to use the https_strict API.
callp https_strict(*ON);
(By default, HTTPAPI instructs i5/OS to ignore any SSL errors related to
untrusted root certs, or expired certificates, as long as they contain
enough information to enable encryption.
The https_strict() API can turn "strict checking" on or off.
When on, i5/OS will only allow root certificates that are registered as
"trusted" in the DCM. It will also only allow certificates that are not
expired.)
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.