Pem Trust Manager Provider

The Pem Trust Manager Provider obtains the trusted certificates from PEM files in a file system directory.

The Pem Trust Manager Provider tries to read all the PEM files in the configured PEM directory. The Pem Trust Manager Provider loads PEM files that include at least one certificate. When a PEM file includes multiple certificates, the Pem Trust Manager Provider trusts only the first one. When a PEM file is added, deleted or modified, the change is automatically taken into account the next time the trust manager is accessed after a delay of, at most, one minute. When sharing the same PEM directory for a Pem Trust Manager Provider and a Pem key manager provider, it is recommended that all the TLS certificates include the 'keyEncipherment' usage extension and all the trusted certificates include the 'keyCertSign' usage extension.

Parent

The Pem Trust Manager Provider object inherits from Trust Manager Provider.

Pem Trust Manager Provider Properties

You can use configuration expressions to set property values at startup time. For details, see Property Value Substitution.

Basic Properties Advanced Properties

enabled
excluded-filename-pattern
pem-directory

java-class

Basic Properties

Use the --advanced option to access advanced properties.

enabled

Synopsis

Indicate whether the Trust Manager Provider is enabled for use.

Default Value

None

Allowed Values

true

false

Multi-valued

No

Required

Yes

Admin Action Required

None

Advanced

No

Read-Only

No

excluded-filename-pattern

Synopsis

The set of file name patterns identifying files to be excluded from the Pem Trust Manager Provider.

Description

Hidden files will always be excluded. File name patterns use the "glob" syntax defined by the Java "java.nio.file.FileSystem.getPathMatcher" method.

Default Value

.*

*.bak

*.tmp

*.md

Allowed Values

File name pattern

Multi-valued

Yes

Required

No

Admin Action Required

None

Changes to this configuration attribute take effect the next time the component is accessed.

Advanced

No

Read-Only

No

pem-directory

Synopsis

Specifies the path to a directory containing all the certificates to trust. It can be an absolute path or a path that is relative to the OpenDJ instance root. The same directory may also be used to for a PEM key manager provider.

Default Value

None

Allowed Values

A string.

Multi-valued

No

Required

Yes

Admin Action Required

None

Changes to this configuration attribute take effect the next time the trust manager is accessed.

Advanced

No

Read-Only

No

Advanced Properties

Use the --advanced option to access advanced properties.

java-class

Synopsis

The fully-qualified name of the Java class that provides the Pem Trust Manager Provider implementation.

Default Value

org.opends.server.extensions.PemTrustManagerProvider

Allowed Values

A Java class that extends or implements:

  • org.opends.server.api.TrustManagerProvider

Multi-valued

No

Required

Yes

Admin Action Required

None

Advanced

Yes

Read-Only

No