ConfigurationMBean
, ConfigurationPropertiesMBean
, DescriptorBean
, javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, SettableBean
, WebLogicMBean
public interface CertificateManagementMBean extends ConfigurationPropertiesMBean
Provides configuration for the WebLogic Certificate Management Service.
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method | Description |
---|---|---|
CertificateIssuerPluginMBean |
createCertificateIssuerPlugin(java.lang.String name) |
Creates a new CertificateIssuerPlugin instance in the domain
|
void |
destroyCertificateIssuerPlugin(CertificateIssuerPluginMBean certificateIssuerPluginMBean) |
Deletes a CertificateIssuerPluginMBean
|
int |
getCertificateAuthorityValidityPeriod() |
Returns the validity period (certificate lifetime) that
the Domain Certificates Issuer should set when generating a new Certificate Authority
certificate.
|
int |
getCertificateCheckInterval() |
Returns the certificate check interval -- how often the
Certificate Management Service should check for/refresh
expiring certificates (in days).
|
CertificateIssuerPluginMBean[] |
getCertificateIssuerPlugins() |
Returns the CertificateIssuerPlugins for this Domain.
|
int |
getCertificateRefreshWindow() |
Returns the certificate refresh window.
|
int |
getCertificateValidityPeriod() |
Returns the validity period (certificate lifetime) that
the Domain Certificates Issuer should set when generating a new certificate.
|
java.lang.String |
getSubjectAlternativeNames() |
A space- or comma-separated list of words representing the Subject Alternative Names
that the Domain Certificates Issuer should include when generating a server certificate.
|
java.lang.String |
getSubjectCommonName() |
The name the Domain Certificates Issuer should use for the CN attribute of a certificate's Subject:
either the local hostname (
hostname ) or the server's listen address (listen_address ). |
boolean |
isEnabled() |
Returns true or false to indicate whether the Certificate Management Service
is enabled or not.
|
boolean |
isIncludeRootCertificateInChain() |
Whether the Domain Certificates Issuer should include the self-signed root CA
in the certificate chain for a generated certificate.
|
boolean |
isJavaStandardTrustEnabled() |
Whether or not the domain should trust the Java Standard Trust certificates,
in addition to the Domain Certificate Authority certificate(s) and any
Provisioned Trust certificates.
|
boolean |
isProvisionedCertificatesIssuerEnabled() |
Returns true or false to indicate whether the Provisioned Certificates Issuer
is enabled or not.
|
boolean |
isSinglePurposeCertificatesEnabled() |
Returns the single purpose certificates enabled value: whether the Domain Certificates Issuer
should generate separate, single-purpose certificates for different purposes
(server authentication, client authentication, signing and encryption), or generate
one certificate that supports all those purposes.
|
CertificateIssuerPluginMBean |
lookupCertificateIssuerPlugin(java.lang.String name) |
Looks up a CertificateIssuerPluginMBean by name.
|
void |
setCertificateAuthorityValidityPeriod(int certificateAuthorityValidityPeriod) |
Sets the certificate authority validity period (in days).
|
void |
setCertificateCheckInterval(int certificateCheckInterval) |
Sets the certificate check interval (in days).
|
void |
setCertificateRefreshWindow(int certificateRefreshWindow) |
Sets the certificate refresh window (in days).
|
void |
setCertificateValidityPeriod(int certificateValidityPeriod) |
Sets the certificate validity period (in days).
|
void |
setEnabled(boolean isEnabled) |
Enables or disables the Certificate Management Service.
|
void |
setIncludeRootCertificateInChain(boolean isIncludeRootCertificateInChain) |
Enables or disables inclusion of the self-signed root CA for Domain Certificates.
|
void |
setJavaStandardTrustEnabled(boolean isJavaStandardTrustEnabled) |
Whether or not the domain should trust the Java Standard Trust certificates
in addition to the Domain Certificate Authority certificate(s) and any
Provisioned Trust certificates.
|
void |
setProvisionedCertificatesIssuerEnabled(boolean isProvisionedCertificatesIssuerEnabled) |
Enables or disables the Provisioned Certificates Issuer.
|
void |
setSinglePurposeCertificatesEnabled(boolean isSinglePurposeCertificatesEnabled) |
Enables or disables single purpose certificates.
|
void |
setSubjectAlternativeNames(java.lang.String subjectAlternativeNames) |
Sets the subject alternative names.
|
void |
setSubjectCommonName(java.lang.String subjectCommonName) |
Sets the subject CN value.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
boolean isEnabled()
Returns true or false to indicate whether the Certificate Management Service is enabled or not.
void setEnabled(boolean isEnabled)
Enables or disables the Certificate Management Service.
isEnabled
- True to enable or false to disable.boolean isProvisionedCertificatesIssuerEnabled()
Returns true or false to indicate whether the Provisioned Certificates Issuer is enabled or not.
void setProvisionedCertificatesIssuerEnabled(boolean isProvisionedCertificatesIssuerEnabled)
Enables or disables the Provisioned Certificates Issuer.
isProvisionedCertificatesIssuerEnabled
- True to enable or false to disableint getCertificateCheckInterval()
Returns the certificate check interval -- how often the Certificate Management Service should check for/refresh expiring certificates (in days).
void setCertificateCheckInterval(int certificateCheckInterval)
Sets the certificate check interval (in days).
certificateCheckInterval
- The number of days between certificate checksint getCertificateRefreshWindow()
Returns the certificate refresh window. The Certificate Management Service will refresh an expiring certificate when its remaining lifetime is less than this number of days.
void setCertificateRefreshWindow(int certificateRefreshWindow)
Sets the certificate refresh window (in days).
certificateRefreshWindow
- How many days before expiration to refresh certificatesboolean isSinglePurposeCertificatesEnabled()
Returns the single purpose certificates enabled value: whether the Domain Certificates Issuer should generate separate, single-purpose certificates for different purposes (server authentication, client authentication, signing and encryption), or generate one certificate that supports all those purposes.
void setSinglePurposeCertificatesEnabled(boolean isSinglePurposeCertificatesEnabled)
Enables or disables single purpose certificates.
isSinglePurposeCertificatesEnabled
- True to enable or false to disablejava.lang.String getSubjectCommonName()
The name the Domain Certificates Issuer should use for the CN attribute of a certificate's Subject:
either the local hostname (hostname
) or the server's listen address (listen_address
).
If no listen address is configured for the server, hostname will be used instead, regardless of the value set here.
The CN value will also be added as a Subject Alternative Name (even if it is not explicitly configured as a Subject Alternative Name).
void setSubjectCommonName(java.lang.String subjectCommonName)
Sets the subject CN value.
subjectCommonName
- The subjectName value to setjava.lang.String getSubjectAlternativeNames()
A space- or comma-separated list of words representing the Subject Alternative Names that the Domain Certificates Issuer should include when generating a server certificate.
Each word must be one of the subject name constants defined by the CertificateConfigurationConstants interface. When generating a certificate, the Certificate Management Service replaces each constant with the corresponding value(s) obtained from the target server's configuration or the host it's running on.
The certificate's CN attribute will be included as a Subject Alternative Name even if it is not explicitly configured here.
void setSubjectAlternativeNames(java.lang.String subjectAlternativeNames)
Sets the subject alternative names.
subjectAlternativeNames
- The subjectAlternativeNames to setint getCertificateValidityPeriod()
Returns the validity period (certificate lifetime) that the Domain Certificates Issuer should set when generating a new certificate. The validity period is expressed in days.
void setCertificateValidityPeriod(int certificateValidityPeriod)
Sets the certificate validity period (in days).
certificateValidityPeriod
- How many days new certificates will be valid for.int getCertificateAuthorityValidityPeriod()
Returns the validity period (certificate lifetime) that the Domain Certificates Issuer should set when generating a new Certificate Authority certificate. The validity period is expressed in days.
void setCertificateAuthorityValidityPeriod(int certificateAuthorityValidityPeriod)
Sets the certificate authority validity period (in days).
certificateAuthorityValidityPeriod
- How many days new certificate authority certificates will be valid for.boolean isIncludeRootCertificateInChain()
Whether the Domain Certificates Issuer should include the self-signed root CA in the certificate chain for a generated certificate.
void setIncludeRootCertificateInChain(boolean isIncludeRootCertificateInChain)
Enables or disables inclusion of the self-signed root CA for Domain Certificates.
isIncludeRootCertificateInChain
- The isIncludeRootCertificateInChain valueboolean isJavaStandardTrustEnabled()
Whether or not the domain should trust the Java Standard Trust certificates, in addition to the Domain Certificate Authority certificate(s) and any Provisioned Trust certificates. Java Standard Trust is a collection of well-known, trusted root certificate authorities distributed (and updated) as part of the JDK.
ServerTemplateMBean.getJavaStandardTrustKeyStorePassPhrase()
void setJavaStandardTrustEnabled(boolean isJavaStandardTrustEnabled)
Whether or not the domain should trust the Java Standard Trust certificates in addition to the Domain Certificate Authority certificate(s) and any Provisioned Trust certificates.
isJavaStandardTrustEnabled
- The isJavaStandardTrustEnabled valueCertificateIssuerPluginMBean[] getCertificateIssuerPlugins()
Returns the CertificateIssuerPlugins for this Domain.
CertificateIssuerPluginMBean createCertificateIssuerPlugin(java.lang.String name)
Creates a new CertificateIssuerPlugin instance in the domain
name
- The name for the new CertificateIssuerPluginMBeanvoid destroyCertificateIssuerPlugin(CertificateIssuerPluginMBean certificateIssuerPluginMBean)
Deletes a CertificateIssuerPluginMBean
certificateIssuerPluginMBean
- The certificateIssuerPluginMBean to deleteCertificateIssuerPluginMBean lookupCertificateIssuerPlugin(java.lang.String name)
Looks up a CertificateIssuerPluginMBean by name.
name
- The name of the CertificateIssuerPluginMBean to find