public class CertificateManager extends Object
Constructor and Description |
---|
CertificateManager() |
Modifier and Type | Method and Description |
---|---|
String |
getServerCert()
Returns server certificate content
|
void |
initRootCert()
Verify that root certificate exists, generate it otherwise.
|
SignCertResponse |
signAgentCrt(String agentHostname,
String agentCrtReqContent,
String passphraseAgent)
Signs agent certificate
Adds agent certificate to server keystore
|
public void initRootCert()
public String getServerCert()
public SignCertResponse signAgentCrt(String agentHostname, String agentCrtReqContent, String passphraseAgent)
Copyright © 2017. All rights reserved.