I don’t have access to a centos box currently, but...
# general
s
I don’t have access to a centos box currently, but fwiw I tried it locally by creating a self signed cert and serving a simple python https server, and it seems to work:
Copy code
osquery> select * from curl_certificate where hostname = "localhost:4443";
                hostname = localhost:4443
             common_name = localhost
            organization =
       organization_unit =
           serial_number = FD193B8DAE97AA2A
      issuer_common_name = localhost
     issuer_organization =
issuer_organization_unit =
              valid_from = Sep 18 11:06:26 2019 GMT
                valid_to = Sep 17 11:06:26 2020 GMT
      sha256_fingerprint = 5b9dfaeedc7ead1c0c5759b64b91222eeebfd69c609423d3681a79a266c21b7f
        sha1_fingerprint = 0a6c5a8e341aa6ce4d7013467ce8503b7a9c2fa5
osquery> select * from curl_certificate where hostname = "127.0.0.1:4443";
                hostname = 127.0.0.1:4443
             common_name = localhost
            organization =
       organization_unit =
           serial_number = FD193B8DAE97AA2A
      issuer_common_name = localhost
     issuer_organization =
issuer_organization_unit =
              valid_from = Sep 18 11:06:26 2019 GMT
                valid_to = Sep 17 11:06:26 2020 GMT
      sha256_fingerprint = 5b9dfaeedc7ead1c0c5759b64b91222eeebfd69c609423d3681a79a266c21b7f
        sha1_fingerprint = 0a6c5a8e341aa6ce4d7013467ce8503b7a9c2fa5