Skip to content

Add cmd CLI exposing the API for use with external tools and integration tests #17

Open
@jfkw

Description

It would be useful to expose the API functions to "dynamically generate self-signed certificates and certificate authorities for Go tests" via CLI in a module under cmd/. The use case would be to generate certs and CAs, etc. for use in integration tests with other tools, not limited to Go tests. It would not conflict with the testcert focus to not commit test certs to repositories, etc.

The rationale is that once a developer has become familiar with testcert operations and confident in the test results, they can build upon that experience in other scenarios there is a need for test certs and CAs that behave similarly with external tools. An example could be testing encrypted connectivity between two CLI utilities packaged separately, or implemented in two different programming languages. CI tools like openQA http://open.qa/ conduct such integration tests where dynamic certs and CAs could be used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions