-
0.6.0 Stable
released this
2021-03-24 22:14:44 +03:00 | 29 commits to master since this release📅 Originally published on GitHub: Wed, 24 Mar 2021 19:17:11 GMT
🏷️ Git tag created: Wed, 24 Mar 2021 19:14:44 GMTECDSA Certificates
Using ECDSA for certs defined in
CERTCACHE_CERTSCertCache supports generating and caching of ECDSA certificates.
ECDSA algorithms can be requested for each cert defined in
CERTCACHE_CERTSseparately:version: '3.7' services: certcache: container_name: certcache … CERTCACHE_CERTS: | - certName: cert1 domains: - '<cert-domain-1>' - '*.<cert-domain-1>' keyType: ecdsa - certName: cert2 domains: - '<cert-domain-2>' - '*.<cert-domain-2>'In this example,
cert1will have an ECDSA public key algorithm, whilecert2will use the default algorithm of RSA.If you want to use ECDSA for all certificates that do not specify a
keyType, set the default algorithm using the env varCERTCACHE_KEY_TYPE:version: '3.7' services: certcache: container_name: certcache … CERTCACHE_CERTS: | - certName: cert1 domains: - '<cert-domain-1>' - '*.<cert-domain-1>' - certName: cert2 domains: - '<cert-domain-2>' - '*.<cert-domain-2>' CERTCACHE_KEY_TYPE: ecdsaThe default curve is
secp256r1. The elliptic curve can be defined separately within each certificate withinCERTCACHE_CERTS, or changed for all certs (that don't define anellipticCurve) using the env varCERTCACHE_ELLIPTIC_CURVE:version: '3.7' services: certcache: container_name: certcache … CERTCACHE_CERTS: | - certName: cert1 domains: - '<cert-domain-1>' - '*.<cert-domain-1>' keyType: ecdsa - certName: cert2 domains: - '<cert-domain-2>' - '*.<cert-domain-2>' keyType: ecdsa ellipticCurve: secp256r1 CERTCACHE_ELLIPTIC_CURVE: secp384r1Using ECDSA for certs retrieved from the command line
You can get ECDSA certificates from the command line using the CLI command
certcache get -d 'cert-domain-1,cert-domain-2' --key-type ecdsa:If using docker-compose:
docker-compose run --rm certcache get -d 'cert-domain-1,cert-domain-2' --key-type ecdsaCurves can optionally be specified using
--elliptic-curve.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
mirror of
https://github.com/93million/certcache.git
synced 2026-04-25 10:15:52 +03:00