public class CertificateManager extends Object
Constructor and Description |
---|
CertificateManager() |
Modifier and Type | Method and Description |
---|---|
String |
getCACertificateChainContent()
Returns server's PEM-encoded CA chain file content
|
void |
initRootCert() |
protected int |
runCommand(String command)
Runs os command
|
SignCertResponse |
signAgentCrt(String agentHostname,
String agentCrtReqContent,
String passphraseAgent)
Signs agent certificate
Adds agent certificate to server keystore
|
public void initRootCert()
protected int runCommand(String command)
public String getCACertificateChainContent()
public SignCertResponse signAgentCrt(String agentHostname, String agentCrtReqContent, String passphraseAgent)
Copyright © 2022 Apache Software Foundation. All rights reserved.