CertificateManagementMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Provides configuration for the WebLogic Certificate Management Service.

       
Since14.1.2.0.0
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.configuration.CertificateManagementMBean
Factory Methods No factory methods. Instances of this MBean are created automatically.
Access Points You can access this MBean from the following MBean attributes:


    Related MBeans

    This section describes attributes that provide access to other MBeans.


      CertificateIssuerPlugins

      Returns the CertificateIssuerPlugins for this Domain.

                 
      Factory MethodscreateCertificateIssuerPlugin (java.lang.String name)

      destroyCertificateIssuerPlugin (CertificateIssuerPluginMBean certificateIssuerPluginMBean)

      Factory methods do not return objects.

      See Using factory methods.

      Lookup OperationlookupCertificateIssuerPlugin(String name)

      Returns a javax.management.ObjectName for the instance of CertificateIssuerPluginMBean named name.

      Privileges Read only
      TypeCertificateIssuerPluginMBean[]
      Relationship type: Containment.

      ConfigurationProperties

      Specifies the list of properties that are associated with this container object.

                 
      Factory MethodscreateConfigurationProperty (java.lang.String name)

      destroyConfigurationProperty (ConfigurationPropertyMBean wsc)

      Factory methods do not return objects.

      See Using factory methods.

      Lookup OperationlookupConfigurationProperty(String name)

      Returns a javax.management.ObjectName for the instance of ConfigurationPropertyMBean named name.

      Privileges Read only
      TypeConfigurationPropertyMBean[]
      Relationship type: Containment.


      Attributes

      This section describes the following attributes:


      CachingDisabled

      Private property that disables caching in proxies.

             
      Privileges Read only
      Typeboolean
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      CertificateAuthorityKeyProfile

      Returns the configured Certificate Authority key profile.

      The dynamic profile is used for a future Domain or Machine Certificate Authority generation or rollover. Updating it does not alter existing CA material or force regeneration.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typejava.lang.String
      Default ValueRSA-2048

      CertificateAuthoritySignatureAlgorithm

      Returns the configured signature algorithm for Certificate Authorities.

      A future Certificate Authority uses this algorithm to sign both its self-signed certificate and the leaf certificates it issues. An existing Certificate Authority continues to use its current signer until it is regenerated or rolled over.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typejava.lang.String
      Default ValueSHA256withRSA

      CertificateAuthorityValidityPeriod

      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.

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typeint
      Default Value365
      Minimum value45
      Maximum value1825

      CertificateCheckInterval

      Returns the certificate check interval -- how often the Certificate Management Service should check for/refresh expiring certificates (in days).

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typeint
      Default Value1
      Minimum value1
      Maximum value7

      CertificateCheckTime

      Returns the optional local server time at which the Certificate Management Service begins each certificate check. The value uses {@code H:mm} format, with an hour from {@code 0} through {@code 23} and a two-digit minute.

      If this value is not set, the service retains its legacy fixed-rate scheduling behavior. If it is set, the first check is scheduled for this local time after the configured certificate check interval , and subsequent checks use the same calendar-day interval.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typejava.lang.String

      CertificateCheckTimeMaximumOffset

      Returns the maximum random offset, in seconds, added to a configured certificate check time. The service samples one offset from zero through this value when the schedule is established, then reuses it for that scheduling lifecycle. An offset can move a check into the next local calendar date, but is always less than one day.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typeint
      Default Value900
      Maximum value86399

      CertificateKeyProfile

      Returns the configured leaf certificate key profile.

      The dynamic profile is used when a future leaf certificate is generated or renewed. Updating it does not alter existing certificate material or force regeneration.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typejava.lang.String
      Default ValueRSA-2048

      CertificateRefreshWindow

      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.

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typeint
      Default Value10
      Minimum value5
      Maximum value30

      CertificateValidityPeriod

      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.

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typeint
      Default Value90
      Minimum value15
      Maximum value365

      DynamicallyCreated

      Return whether the MBean was created dynamically or is persisted to config.xml

             
      Privileges Read only
      Typeboolean
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      Enabled

      Returns true or false to indicate whether the Certificate Management Service is enabled or not.

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typeboolean

      ExpiredCertificateAuthorityRetentionDays

      Returns the number of days an expired Certificate Authority remains trusted in the Admin Server's {@code domain-trust} or {@code provisioned-trust} source store before automatic cleanup removes it.

      A value of {@code 0} disables automatic Certificate Authority cleanup. It does not disable Administrator-initiated cleanup.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typeint
      Default Value7
      Maximum value365

      Id

      Return the unique id of this MBean instance

             
      Privileges Read only
      Typelong
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      IncludeRootCertificateInChain

      Whether the Domain Certificates Issuer should include the self-signed root CA in the certificate chain for a generated certificate.

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typeboolean
      Default Valuetrue

      JavaStandardTrustEnabled

      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.

      For more information, see:

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typeboolean

      KeystoreFileLockingEnabled

      Returns whether WebLogic Server uses cross-process file locks when accessing shared Certificate Management keystores.

      This process-lifetime setting requires a server restart. Node Manager uses the matching {@code KeystoreFileLockingEnabled} property in {@code nodemanager.properties}. The {@code weblogic.keystore.filelock.enabled} system property is a bootstrap override and takes precedence when specified. If locking is disabled, it must be disabled consistently in every process that accesses the same machine keystores.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typeboolean
      Default Valuetrue

      KeystoreFileLockTimeout

      Returns the maximum number of milliseconds WebLogic Server waits to acquire a cross-process Certificate Management keystore file lock.

      This process-lifetime setting requires a server restart. Node Manager uses the matching {@code KeystoreFileLockTimeout} property in {@code nodemanager.properties}. The {@code weblogic.keystore.filelock.timeout} system property is a bootstrap override and takes precedence when specified.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typelong
      Default Value60000
      Minimum value1
      Maximum value2147483647

      KeystoreFileWatchingEnabled

      Returns whether WebLogic Server watches Certificate Management keystore files for changes made by another process.

      This process-lifetime setting requires a server restart. Node Manager uses the matching {@code KeystoreFileWatchingEnabled} property in {@code nodemanager.properties}. The {@code weblogic.keystore.filewatch.enabled} system property is a bootstrap override and takes precedence when specified.

      WebLogic Server and Node Manager enable watching by default. Set the matching Node Manager property to {@code false} to disable both file watching and managed-identity revision polling. When enabled, Node Manager restarts after identity replacement or removal so a removed listener credential is not retained.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typeboolean
      Default Valuetrue

      MBeanInfo

      Returns the MBean info for this MBean.

      Deprecated.

             
      Privileges Read only
      Typejavax.management.MBeanInfo
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      Name

      The user-specified name of this MBean instance.

      This name is included as one of the key properties in the MBean's javax.management.ObjectName:

      Name=user-specified-name

             
      Privileges Read/Write
      Typejava.lang.String

      Notes

      Optional information that you can include to describe this configuration.

      WebLogic Server saves this note in the domain's configuration file (config.xml) as XML PCDATA. All left angle brackets (<) are converted to the XML entity &lt;. Carriage returns/line feeds are preserved.

      Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.

                 
      Privileges Read/Write
      Security rolesWrite access is granted only to the following roles:
      • Deployer
      • Operator
      Typejava.lang.String

      ObjectName

      Returns the ObjectName under which this MBean is registered in the MBean server.

      Deprecated.

             
      Privileges Read only
      Typeweblogic.management.WebLogicObjectName
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      Parent

      Return the immediate parent for this MBean

             
      Privileges Read/Write
      Type

      ProvisionedCertificatesIssuerEnabled

      Returns true or false to indicate whether the Provisioned Certificates Issuer is enabled or not.

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typeboolean

      Registered

      Returns false if the MBean represented by this object has been unregistered.

      Deprecated.

             
      Privileges Read only
      Typeboolean
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      SinglePurposeCertificatesEnabled

      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.

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typeboolean
      Secure valuetrue

      SubjectAlternativeNames

      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.

      Virtual host names are included only when the virtual host is targeted to the server for which the certificate is issued. A named virtual host, listen address, or network channel listen address that is not configured for that server is omitted without causing certificate issuance to fail.

      The preferred endpoint identity selected by SubjectCommonName() is included even if it is not explicitly configured here. When no fully qualified hostname is available, the authenticated host address is included as an IP Subject Alternative Name when permitted by the configured subject name policy.

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typejava.lang.String
      Default Valuehostname, address, loopback, listen_address_all, virtual_host_all

      SubjectCommonName

      The fully qualified endpoint identity the Domain Certificates Issuer should prefer for a server certificate's Subject common name and first Subject Alternative Name: either the local hostname (hostname) or the server's listen address (listen_address).

      If no fully qualified listen address is configured for the server, the fully qualified hostname will be used instead, regardless of the value set here. If neither is available, the authenticated host address is used as an IP Subject Alternative Name when permitted by the configured subject name policy.

      When a fully qualified hostname is available, the Subject uses that value in {@code CN=fully-qualified-hostname} and identifies the server in {@code OU=Server: server-name}. When no fully qualified hostname is available, the Subject instead identifies the server in {@code CN=Server: server-name} and omits the server organizational unit. The domain organizational unit is present in both forms.

             
      Available Since Release 14.1.2.0.0
      Privileges Read/Write
      Typejava.lang.String
      Default Valuehostname
      Legal Values
      • hostname
      • listen_address

      SubjectNamePolicy

      Controls which host names and literal IP addresses the Domain Certificates Issuer may place in a certificate subject.

      {@code CONFIGURED_ONLY} permits a server's configured listen address, network-channel listen addresses, and targeted virtual-host names. For a machine certificate it permits the configured Node Manager listen address. {@code CONFIGURED_PLUS_HOST} additionally permits the hostname and address authenticated in the certificate request. {@code CONFIGURED_PLUS_ANY} retains legacy behavior and permits any requested identity. The {@code localhost} DNS name and numeric loopback addresses are permitted in every mode.

      A server certificate request fails if its preferred endpoint identity or any requested Subject Alternative Name is not permitted. A machine certificate request silently discards names that are not permitted. It prefers a permitted fully qualified hostname for the Subject common name. If none is available, a permitted authenticated host address is placed in an IP Subject Alternative Name and the Subject identifies the machine in {@code CN=Machine: machine-name} without the machine organizational unit. Under {@code CONFIGURED_ONLY}, this fallback is available when the configured Node Manager listen address is that host address.

             
      Available Since Release 26.1.0.0.0
      Privileges Read/Write
      Typejava.lang.String
      Default ValueCONFIGURED_PLUS_HOST
      Legal Values
      • CONFIGURED_ONLY
      • CONFIGURED_PLUS_HOST
      • CONFIGURED_PLUS_ANY

      Tags

      Return all tags on this Configuration MBean

             
      Available Since Release 12.2.1.0.0
      Privileges Read/Write
      Typeclass java.lang.String[]

      Type

      Returns the type of the MBean.

             
      Privileges Read only
      Typejava.lang.String
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.


      Operations

      This section describes the following operations:


      addTag

      Add a tag to this Configuration MBean. Adds a tag to the current set of tags on the Configuration MBean. Tags may contain white spaces.

         
      Operation Name"addTag"
      ParametersObject [] {  tag }

      where:

      • tag is an object of type java.lang.String that specifies:

        tag to be added to the MBean

      SignatureString [] { "java.lang.String" }
      Returns boolean
      Exceptions
      • java.lang.IllegalArgumentException
        IllegalArgumentException if the tag contains illegal punctuation

      freezeCurrentValue

      If the specified attribute has not been set explicitly, and if the attribute has a default value, this operation forces the MBean to persist the default value.

      Unless you use this operation, the default value is not saved and is subject to change if you update to a newer release of WebLogic Server. Invoking this operation isolates this MBean from the effects of such changes.

      Note: To insure that you are freezing the default value, invoke the restoreDefaultValue operation before you invoke this.

      This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute for which some other value has been set.

      Deprecated. 9.0.0.0

         
      Operation Name"freezeCurrentValue"
      ParametersObject [] {  attributeName }

      where:

      • attributeName is an object of type java.lang.String that specifies:

      SignatureString [] { "java.lang.String" }
      Returns void
      Exceptions
      • javax.management.AttributeNotFoundException
      • javax.management.MBeanException

      getInheritedProperties

      Return all properties' names whose value is inherited from template mbean. this is a convenient method to get inheritance info on multiple properties in one jmx call.

         
      Operation Name"getInheritedProperties"
      ParametersObject [] {  propertyNames }

      where:

      • propertyNames is an object of type [Ljava.lang.String; that specifies:

        properties to check

      SignatureString [] { "[Ljava.lang.String;" }
      Returns class

      isInherited

      Check if the value of a property is inherited from template mbean or not.

         
      Operation Name"isInherited"
      ParametersObject [] {  propertyName }

      where:

      • propertyName is an object of type java.lang.String that specifies:

        the name of the property

      SignatureString [] { "java.lang.String" }
      Returns boolean

      isSet

      Returns true if the specified attribute has been set explicitly in this MBean instance.

         
      Operation Name"isSet"
      ParametersObject [] {  propertyName }

      where:

      • propertyName is an object of type java.lang.String that specifies:

        property to check

      SignatureString [] { "java.lang.String" }
      Returns boolean

      removeTag

      Remove a tag from this Configuration MBean

         
      Operation Name"removeTag"
      ParametersObject [] {  tag }

      where:

      • tag is an object of type java.lang.String that specifies:

        tag to be removed from the MBean

      SignatureString [] { "java.lang.String" }
      Returns boolean
      Exceptions
      • java.lang.IllegalArgumentException
        IllegalArgumentException if the tag contains illegal punctuation

      restoreDefaultValue

      If the specified attribute has a default value, this operation removes any value that has been set explicitly and causes the attribute to use the default value.

      Default values are subject to change if you update to a newer release of WebLogic Server. To prevent the value from changing if you update to a newer release, invoke the freezeCurrentValue operation.

      This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute that is already using the default.

      Deprecated. 9.0.0.0

         
      Operation Name"restoreDefaultValue"
      ParametersObject [] {  attributeName }

      where:

      • attributeName is an object of type java.lang.String that specifies:

      SignatureString [] { "java.lang.String" }
      Returns void
      Exceptions
      • javax.management.AttributeNotFoundException

      unSet

      Restore the given property to its default value.

         
      Operation Name"unSet"
      ParametersObject [] {  propertyName }

      where:

      • propertyName is an object of type java.lang.String that specifies:

        property to restore

      SignatureString [] { "java.lang.String" }
      Returns void