Windows agent does not connect when using a CA signed certificate.
Error in the Agent log:
20230531/152352.143 - U02000378 Loading certificates from directory: 'E:\####\Automic\cert'.
20230531/152352.143 - U02000377 Certificate loaded from file 'sample.cer'.
20230531/152352.159 - U02001073 Certificate verification for Issuer 'sample cert' failed.
20230531/152352.159 - U02000327 Unexpected error on connection '*SERVER' (socket handle = '1'), reason '"category: 'sample certificate verify failed (SSL routines, tls_process_server_certificate)"'.
20230531/152352.159 - U02000343 Server connection has been closed.
Or:
20230719/163257.018 - U02000378 Loading certificates from directory: 'E:\####\Automic\cert'.
20230719/163257.018 - U02000377 Certificate loaded from file 'E:\Automic\cert\sample.cer'.
20230719/163257.050 - U02001073 Certificate verification for Issuer 'sample cert' failed.
20230719/163257.050 - U02000327 Unexpected error on connection '*SERVER' (socket handle = '1'), reason '"category: 'asio.ssl', (337047686) certificate verify failed (SSL routines, tls_process_server_certificate)"'.
20230719/163257.050 - U02000343 Server connection has been closed.
Release : 21.0.5
The intermediate and/or root certificate that was used to sign the certificate is not available in the Windows Local Computer\Trusted Root Certification Authorities\Certificates and needs to be imported.