Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CA-403767: verifyPeer can't use root CA for appliance certficate chec…
…king It is expected to use root CA certficate to verify an appliance's server certificate in a xapi outgoing TLS connection. Prior to this fix, the related stunnel configurations are: "verifyPeer=yes", and "checkHost=<hostname>". The 'verifyPeer' option of stunnel doesn't treat the CA bundle as root CA certificates. The 'checkHost' option of stunnel only check the host name against the one in server certificate. In other words, the issue is that the root CA based checking doesn't work for appliance. This fix addes 'verifyChain' for the appliance to ensure the outgoing connection from xapi will verify the appliance's server certificates by root CA certificate. Signed-off-by: Ming Lu <ming.lu@cloud.com>
- Loading branch information