root@7fc69133420d:/files# cp root.crt /usr/local/share/ca-certificates/
root@7fc69133420d:/usr/local/share/ca-certificates# update-ca-certificates
Updating certificates in /etc/ssl/certs...
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
root@7fc69133420d:/usr/local/share/ca-certificates# awk -v cmd='openssl x509 -noout -subject' '/BEGIN/{close(cmd)};{print | cmd}' < /etc/ssl/certs/ca-certificates.crt | grep -i xxxx CA
subject=C = xx, ST = xx, L = xxxx, O = xxxxx Inc., OU = xxxxxx, CN = xxxx CA
$ curl https://vault-xxxxx.com:8200/v1/sys/health
curl: (60) Certificate key usage inadequate for attempted operation.
More details here: http://curl.haxx.se/docs/sslcerts.html
$ openssl s_client -showcerts -connect vault-xxxxxx.com:8200 | more
depth= ------------------------------------------------------------
verify error:num=20:unable to get local issuer certificate
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/bcce42f5-1cef-4f62-a822-fee32b54db5f%40googlegroups.com.--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/8ec99093-7851-4821-9fc1-096982513061%40googlegroups.com.
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
X509v3 Key Usage:
Digital Signature