Skip to content

Certificate class should have path properties #32

@bdalpe

Description

@bdalpe

This way the certificates can be imported on other objects like Inputs:

e.g.

const cribl = new Cribl();

const cert = new Certificate(cribl, 'cert', {
  certificate = ...
  privateKey = ...
})

const input = new CriblHTTPInput(cribl, 'cribl_http', {
  port: 8888,
  tls: {
    certificateName = cert.name,
    privKeyPath = cert.privKeyPath,
    certPath = cert.certPath
  }
})

Then cert.certPath would be auto-set to $CRIBL_HOME/local/cribl/auth/certs/cert.pem

Metadata

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