Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new pkiCert template function #1559

Merged
merged 1 commit into from
Apr 1, 2022
Merged

add new pkiCert template function #1559

merged 1 commit into from
Apr 1, 2022

Commits on Apr 1, 2022

  1. add new pkiCert template function

    The new pkiCert template function and its dependency. Common PKI
    dependency testing setup code was placed in vault_common and called in
    TestMain. Documentation and template tests round things out.
    
    Most of this is pretty standard new-template-function stuff. The main
    differing point for this Dependency is that it is specialized to the
    certificate and uses the rendered template destination file as a cache
    for the certificate, reading it in and checking the dates to see if it
    is still valid. If so it reuses it, it not (or if it's not there) it
    fetches a new one. It tries to handle this 'cache' file as forgivingly as
    possible, skipping over other CA certificates and text for the PEM
    encoded/formatted certificate. It should skip any CA, root or
    intermediary/chain.
    eikenb committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    56b5521 View commit details
    Browse the repository at this point in the history