Commit Graph

78 Commits (8fafd987cae5500441b19ab8960447295837c154)

Author SHA1 Message Date
Mariano Cano e8498bf612 Add new WithDatabase to test reload. 5 years ago
Mariano Cano 120e2d0caf Fix restart with simple DB. 5 years ago
Mariano Cano 3a1a4c5ea9 Do not allow reload with database configuration changes.
Fixes #smallstep/ca-component#170
5 years ago
Mariano Cano b595c55f0a Update CA properties on reload.
Fixes #71
5 years ago
max furman c242602231 reload and shutdown trickery
* Only shutdown the database once.
* Be careful when reloading the CA. Depending on whether the DB has
already been shutdown, and error may be unrecoverable.
5 years ago
max furman cbeca9383b Update nosql integration
* shutdown and reload database on SIGHUP
5 years ago
Mariano Cano c2c9798149 Fix review issues. 5 years ago
Mariano Cano 46b9b117e3 Add test for provisioner type. 5 years ago
Mariano Cano 13783301ce Remove test for unnecessary method. 5 years ago
Mariano Cano b4739c185d Remove unnecessary method GetCertificateRenewer. 5 years ago
Mariano Cano fa216ccaad Use SetTransport method. 5 years ago
Mariano Cano 43c5831582 Merge branch 'master' into step-sds 5 years ago
max furman ab4d569f36 Add /revoke API with interface db backend 5 years ago
Mariano Cano 888ef147fa Expose a way to update the transport. 5 years ago
Mariano Cano c42265972a Add the autocert provisioner to the ca package. 5 years ago
Mariano Cano 7800f5960a Add test for GetCertificateRenewer 5 years ago
Mariano Cano 8d2de64811 Add method to get a certificate renewer. 5 years ago
Mariano Cano 27b6ac0a58 Add INT and TERM signal handler. 5 years ago
Mariano Cano 64f2615864 Fix tests. 5 years ago
Mariano Cano b07fe546fd Fix types in tests. 5 years ago
Mariano Cano 5ce5a891f7 Add email SAN with email parameter in the JWK 5 years ago
Mariano Cano 262a9d0978
Merge pull request #27 from smallstep/mariano/renew-pool
SDK should update certificate pools safely
5 years ago
Mariano Cano e0fff4d80b Fix typo. 5 years ago
Mariano Cano f1f6c548ad Fix typo. 5 years ago
Mariano Cano 758d829355 Fix tests. 5 years ago
max furman 3415a1fef8 move SplitSANs to cli 5 years ago
Mariano Cano 975cb75fbd Fix typo. 5 years ago
Mariano Cano 3c06d6f9bc Fix comment. 5 years ago
Mariano Cano e330ac547c Fix comment. 5 years ago
Mariano Cano cd934bbede Remove println 5 years ago
max furman 6937bfea7b claims.SANS -> claims.SANs 5 years ago
Mariano Cano 4c9dccd3f6 Allow multiple certificates in the root pem. 5 years ago
max furman ab78534b08 add test for SAN backwards compatibility with CLI
* new provisioner tokens always contain the crt.Subject.CommonName
in the SANS attribute of the token claims. added tests that verifies
backwards compatibility still works in cases where the token does not
contain the subject as a SAN claim.
5 years ago
max furman e6e8443f3c allow multiple identical SANs in cert 5 years ago
max furman f0683c2e0a Enable signing certificates with custom SANs
* validate against SANs in token. must be 1:1 equivalent.
5 years ago
Mariano Cano d394dd233a Initiate default RootCAs/ClientCAs when no options are passed. 5 years ago
Mariano Cano 25eba1a96c WIP on the safely rotate of root and federated certificates.
Fixes #23
5 years ago
Mariano Cano bacbf85aa3 Add new bootstrap method that creates a listener. 5 years ago
Mariano Cano 984bf8d38c Add missing file. 5 years ago
Mariano Cano 1cc5e94666 Add simple test for federation. 5 years ago
Mariano Cano dbd1bf11f1 Rename variable. 5 years ago
Mariano Cano 7dc61bf233 Remove deprecated code 5 years ago
Mariano Cano 518b597535 Remove mTLS client requirement in /roots and /federation 5 years ago
Mariano Cano 9adc65febf Add test for newTLSOptionCtx 5 years ago
Mariano Cano 6116523055 Fix random order in tests. 5 years ago
Mariano Cano 8510e25b3b Add test with bootstrap server. 5 years ago
Mariano Cano f99ae9da93 Add root rotation test. 5 years ago
Mariano Cano af9e6488fc Make the renew test shorter. 5 years ago
Mariano Cano 25ddbaedff Allow to customize the minimal cert duration for tests. 5 years ago
Mariano Cano 10aaece1b0 Update root certificates on renew. 5 years ago