Phuc Duong
04/13/2020, 2:07 PM[root@test-osquery ~]# openssl s_client -connect <http://Fleet.mydomain.com.vn:8080|Fleet.mydomain.com.vn:8080> -CAfile /var/osquery/server.pem
CONNECTED(00000003)
depth=0 OU = Domain Control Validated, CN = *.<http://mydomain.com.vn|mydomain.com.vn>
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 OU = Domain Control Validated, CN = *.<http://mydomain.com.vn|mydomain.com.vn>
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
0 s:/OU=Domain Control Validated/CN=*.<http://mydomain.com.vn|mydomain.com.vn>
i:/C=BE/O=GlobalSign nv-sa/CN=AlphaSSL CA - SHA256 - G2
....
Start Time: 1586804604
Timeout : 300 (sec)
Verify return code: 21 (unable to verify the first certificate)
---
Could someone share me how to fix this issue without changing the cert to Self-Singed Cert ? Thanks so much