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
This way the certificates can be imported on other objects like Inputs:
e.g.
Then cert.certPath would be auto-set to
$CRIBL_HOME/local/cribl/auth/certs/cert.pem