public class CertificateGenerator extends Object implements CertificateGeneratorMBean
Constructor and Description |
---|
CertificateGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
configureDemoCert(String commonName)
Generates new signed certificate.
|
String |
configureDemoCertWithDefaultHostname()
Generates new signed certificate.
|
KeyStoreFile |
getKeyStoreFile() |
protected void |
registerMbean() |
public String configureDemoCertWithDefaultHostname()
configureDemoCertWithDefaultHostname
in interface CertificateGeneratorMBean
public String configureDemoCert(String commonName)
configureDemoCert
in interface CertificateGeneratorMBean
commonName
- string to use as the common name in the new certificate.public KeyStoreFile getKeyStoreFile()
protected void registerMbean()
This work is licensed under a Creative Commons Attribution 4.0 International License.