Skip to content

[agent] Move the certificates generation/loading to a module #912

Open
@ansasaki

Description

@ansasaki

Description:

During startup, the agent creates or loads the private key and mTLS certificate, and loads the trusted certificates.
The logic is implemented as part of the main() function.
This is about refactoring the code and moving this initialization to a module in the keylime library.
This way the code can be easily reused, for example in case the push and pull model are implemented in separate binaries.

Checklist:

  • Changes implemented
  • Tests added
  • Documentation updated
  • If configuration options are modified, the templates should be updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    rustPull requests that update Rust code

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions