certificates/authority
Herman Slatman 479eda7339
Improve error message when client renews with expired certificate
When a client provides an expired certificate and `AllowAfterExpiry`
is not enabled, the client would get a rather generic error with
instructions to view the CA logs. Viewing the CA logs can be done
when running `step-ca`, but they can't be accessed easily in the
hosted solution.

This commit returns a slightly more informational message to the
client in this specific situation.
2022-05-19 01:25:30 +02:00
..
admin Fix linting issues 2022-05-06 13:23:09 +02:00
administrator Improve policy error handling code coverage 2022-04-24 16:29:31 +02:00
config Merge branch 'master' into herman/allow-deny 2022-04-19 10:26:31 +02:00
policy Fix linting issues 2022-05-06 13:23:09 +02:00
provisioner Improve error message when client renews with expired certificate 2022-05-19 01:25:30 +02:00
testdata Add special handling for *json.UnmarshalTypeError 2022-01-12 11:15:39 +01:00
admins.go Introduce gocritic linter and address warnings 2021-10-08 14:59:57 -04:00
authority.go Refactor policy engines into container 2022-04-26 13:12:16 +02:00
authority_test.go Cleanup 2022-01-18 15:54:18 +01:00
authorize.go Allow renew token issuer to be the provisioner name. 2022-04-18 12:38:09 -07:00
authorize_test.go Merge branch 'master' into herman/allow-deny 2022-04-18 21:54:55 +02:00
config.go Admin level API for provisioner mgmt v1 2021-07-02 19:05:17 -07:00
export.go Merge branch 'master' into max/context 2021-11-17 11:40:01 -08:00
linkedca.go Fix more PR comments 2022-04-26 10:15:17 +02:00
options.go Add authority.WithX509SignerFunc 2022-03-28 17:54:35 -07:00
policy.go Fix check for admin not belonging to policy 2022-05-12 16:33:32 +02:00
policy_test.go Fix check for admin not belonging to policy 2022-05-12 16:33:32 +02:00
provisioners.go Fix check for admin not belonging to policy 2022-05-12 16:33:32 +02:00
provisioners_test.go Add tests for LoadProvisionerByCertificate. 2022-04-08 13:06:29 -07:00
root.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
root_test.go api/render, api/log: initial implementation of the packages (#860) 2022-03-30 11:22:22 +03:00
ssh.go Refactor policy engines into container 2022-04-26 13:12:16 +02:00
ssh_test.go Refactor policy engines into container 2022-04-26 13:12:16 +02:00
tls.go Refactor policy engines into container 2022-04-26 13:12:16 +02:00
tls_test.go Change Subject Common Name verification 2022-04-28 14:49:23 +02:00
version.go Add missing version.go file. 2020-01-28 13:28:17 -08:00