Web-based Management 2:
Security → Certificate management
Valid from firmware release 2025.0 - for earlier firmware see WBM - Certificate authentication
The Certificate management page is used to manage certificates for secure controller communication.
Note: Access to the specific pages in the WBM 2 depends on user roles and their rights - see WBM 2: Accessibility for details.
For developing secure-by-design, IEC 62443‑2 compliant applications with PLCnext Technology, get a good grasp of the concepts used in the Security context.
Tip: Read the Certificates section in the Industrial Security Guideline of the PLCnext Technology ‑ Security Info Center for a thorough explanation of the certificate-based authentication, the terms that are used in this context and the data to provide with a certificate.
General management of stores
Trusted certificates and revocation lists of possible communication partners are displayed on the TRUST STORES tab.
Your own certificates are displayed on the IDENTITY STORES tab.
Available on AXC F 2000 EA with firmware 2026.9
On the EST CLIENTS tab, a connection to an EST server can be configured (see EST Clients). Via the Enrollment over Secure Transport (EST) protocol, a EST client connects to an EST server to request and renew certificates for an Identity Store (matching to the private key of that Identity Store).
Note: The EST CLIENTS tab is only visible if the EST Client service is active. By default, the EST Client service is deactivated. To activate the service, navigate to the System → System Services WBM 2 page and toggle the Activation switch for this service, then click .
Naming of stores
The foldable TRUST STORES and IDENTITY STORES sections are ordered alphabetically by their names.
Use only the following characters when naming TRUST STORES and IDENTITY STORES:
- letters [a - z] [A - Z]
- numbers [0 - 9]
- hyphen [ - ]
- underscore [ _]
Note: The naming is case-sensitive!
These names can be used with the interfaces for TLS communication, e.g., TLS_SOCKET block in IEC 61131‑3, or TlsSocket class in C++ or C#.
Location of stores
For information about the location of all files on the controller's file system, see Directories of the firmware components.
On this WBM 2 page you can either select to use an existing Identity Store or to use self-signed certificates.
- When selecting to use an existing Identity Store the symbolic links are changed and refer now to the specified Identity Store.
- When selecting to use self-signed certificates then a self-signed certificate is generated at /opt/plcnext/Security/IdentityStore/HTTPS-self-signed/*.*, and then the symbolic links refer to that Identity Store. The /opt/plcnext/Security/IdentityStores/HTTPS-self-signed-Backup directory is not modified.
Note:
- The controller generates the TLS certificate during the boot phase. That certificate is used with all physical Ethernet interfaces of the controller, but not with all IP addresses unless they have been specified.
- If more than one Ethernet interface is present at the controller or by means of an attached extension module, then the generated certificate uses the IP address of the Ethernet interface that has the PROFINET controller function. But for a secure access via a web browser to the Web‑based Management or to a PLCnext Engineer HMI application on the device, that specific IP address set up for the controller must be authorized. The certificate is then regenerated when the controller is reset.
Trust Stores
A certificate to add to a Trust Store consists of the certificate itself, and optionally a certificate revocation list (CRL) that is checked for evaluation. Therefore, each Trust Store has a complete set of folders.
On devices of the first generation of PLCnext Control devices, such as AXC F x152, RFC 4072S:
- /opt/plcnext/Security/TrustStores/<name>/trusted – The directory contains CA certificates that are trusted.
- /opt/plcnext/Security/TrustStores/<name>/trusted/crl – The directory contains files with CRLs for the CA certificates.
- /opt/plcnext/Security/TrustStores/<name>/issuer – The directory contains CA certificates that are not automatically trusted but that are necessary for creating a certificate chain.
- /opt/plcnext/Security/TrustStores/<name>/issuer/crl – The directory contains files with CRLs for issuer certificates.
On Secure-by-default devices (launched in 2025 or later), such as VPLCNEXT CONTROL 1000 (same purpose as above):
- /opt/plcnext/config/System/security/TrustStores/<name>/trusted
- /opt/plcnext/config/System/security/TrustStores/<name>/trusted/crl
- /opt/plcnext/config/System/security/TrustStores/<name>/issuer
- /opt/plcnext/config/System/security/TrustStores/<name>/issuer/crl
By default, these entries are already set up as Trust Stores in a PLCnext Control device:
Code Signing(Upload the certificate used to sign the PLCnext Engineer project here if this feature has been enabled in the Security → Project integrity WBM 2 page. )Empty(reserved for internal processes; therefore this entry cannot be edited or deleted via the WBM 2)OPC UA-configurablePhoenix Contact Device RootProficloud(reserved for Proficloud services)
For a thorough explanation of the certificate-based authentication, read the Certificates section in the Industrial Security Guideline of the PLCnext Technology ‑ Security Info Center.
These are the steps to manage Trust Stores:
- Check if the default stores suit your purpose; if necessary,
add,
remove, or
edit a Trust Store.
These are the steps to provide certificates and/or certificate revocation lists (CRLs):
- Click the
button to open the regarding Trust Store section; there you can
add,
remove, or
view a certificate and/or CRL.
- To
add a certificate and/or CRL, choose the type in the dialog box:
You can either upload a certificate as a .pem file (Base64 format), or paste the content of the certificate as a text string in PEM Base64 format.
Identity Stores
On the IDENTITY STORES tab, you can create and manage different Identity Stores.
By default, these entries are set up as IDENTITY STORES:
IDevID(reserved for internal processes; therefore this entry cannot be edited or deleted via the WBM 2)HTTPS-self-signedOPC UA-self-signedProficloud(reserved for Proficloud services)
Each Identity Store usually contains an RSA key pair and the corresponding key certificate. As an option, you can add further issuer certificates to an Identity Store. The IDevID and OPC UA-self-signed Identity Stores are part of the system and supplied with the controller.
For a thorough explanation of the certificate-based authentication and, read the Certificates section in the Industrial Security Guideline of the PLCnext Technology ‑ Security Info Center.
Read more about Pre-shared keys (PSK) and private/public key pairs in the Keys section of the Industrial Security Guideline in the PLCnext Technology ‑ Security Info Center.
These are the steps to manage Identity Stores:
- Check if the default stores suit your purpose; if necessary,
add,
remove, or
edit an Identity Store.
These are the steps to provide certificates and/or key pairs:
- Click the
button to open the regarding Identity Store section; there you can and
view,
download, or
edit a certificate and/or key pair.
- To
edit a
Certificate in the dialog box, choose the source in the dialog box:
- If you choose to enter a certificate, you can either upload it as a .pem file (Base64 format), or paste the content of the certificate as a text string in PEM Base64 format.
- If you choose to generate a certificate signing request (CSR), you are downloading the generated file to request an X.509 certificate from a certificate authority (CA).
- To
edit a
Key Pair in the dialog box, choose the source in the dialog box:
You can either upload a key pair as text or file, or choose a suitable encryption method to generate a new key pair, that is added to that Identity Store.
Note: If a hardware-protected key pair has been generated, then an additional private key named tpmkey.pem is present that links the certificate to this specific device.
Downloading public keys or key certificates
You can download the content of the public key of a key pair as a .pem file that is to be used on the corresponding Trust Store of a communication partner:
- If a key pair is available, you can download it as a .csr file.
- If a key certificate is available, you can download it as a .crt file.
EST Clients
Available on AXC F 2000 EA with firmware 2026.9
By using the Enrollment over Secure Transport (EST) protocol, an EST client updates the related certificate(s) from a public key infrastructure (PKI) that is exposed as an EST server.
The EST CLIENTS tab is only visible if the EST Client service is active. By default, the EST Client service is deactivated. To activate the service, navigate to the System → System Services WBM 2 page and toggle the Activation switch for this service, then click .
With firmware 2026.9, an EST client connection runs automatically in the background once it is configured.
An EST client manages the assigned Managed Identity Store and updates the assigned Trust Store. The EST client emits Security Notifications on several occasions, e.g. when a new certificate was received.
Several EST clients can be configured, each managing a different Identity Store. Each Identity Store can be managed only by a single EST client. A store managed by an EST client is called Managed Identity Store. In this WBM 2 user interface, the name of the Managed Identity Store is also used as the name of the EST client that is managing the regarding store.
The EST protocol is defined in RFC 7030. With firmware 2026.9, EST clients in PLCnext Technology support the mandatory cacerts, simpleenroll, and simplereenroll operations.
Preparation
Before configuring an EST client in the regarding WBM 2 tab, a Trust Store and two Identity Stores must have been prepared for use with the EST communication.
Trust Store
Each EST client configuration uses an assigned Trust Store to check the certificate via the EST server. Therefore, a Trust Store must be created before the EST client can be configured.
Furthermore, an initial certificate must be stored in that Trust Store, which is updated later via EST. The initial certificate stems from the Public Key Infrastructure (PKI) and is delivered together with further information on how to access the configured EST server.
With firmware 2026.9, directly after saving a configuration the EST client connection starts communicating with the EST server. This is true for all configured EST clients. During communication, certificates are updated in the assigned Trust Store. Note: Do not make any manual changes in Trust Stores that are assigned to EST clients.
Managed Identity Store
The Managed Identity Store initially contains a private/public key pair. Based on the configuration of the EST client, a Certificate Signing Request (CSR) will be submitted to the EST server, using an algorithm that is the "key type" in the WBM dialog for generating a key pair.
- Before configuring the EST client, create an Identity Store to use as the Managed Identity Store in a configuration. For details, see Identity Stores.
- Ensure that the algorithm that created this specific key pair matches the requirements of the EST server you want to connect to.
Device Identity Store
In some scenarios, to receive certificates from the EST server the device must identify itself. For this purpose, an Device Identity Store must have been created and populated with an identity (certificate) that will be accepted by that EST server.
The Device Identity Store is mandatory in these scenarios:
- You want to use authentication via Mutual TLS (mTLS) where the server accepts connections only from devices whose certificates were issued by the operator's PKI. The device proves its identity to the server using a certificate that was placed in the assigned Device Identity Store. In this case, the initial certificate in the Managed Identity Store might be deleted.
- After the initial certificate in the Managed Identity Store has been deleted, you want the device to present a certificate and then receive a newly generated private and a public key from the Public Key Infrastructure (PKI) for the Managed Identity Store. As a fallback solution, the device proves its identity to the server using a certificate that was placed in the assigned Device Identity Store.
Therefore, even if you're not aiming for the above scenarios a dedicated Device Identity Store for use with an EST client configuration has to be prepared.
Configuring the EST Client
EST Server
The EST Server to connect to is configured by means of these mandatory entries:
- The setting Hostname represents a valid IPv4 address or a valid DNS hostname of an EST server.
- The setting Port represents the IP port for communication (values between 1 and 65535 are allowed - check the regarding EST server documentation).
- The setting Base path is a valid URI (i.e., according to RFC 3986). The default is "/.well-known/est" (according to RFC 7030).
From these entries, and with a URI for operations appended, an EST server's endpoint is built.
Example:
- Hostname is set to "192.168.1.10"
- Port is set to "443"
- Base path is set to the "/.well-known/est"
↪ The endpoint for /cacerts operations is created as https://192.168.1.10:443/.well-known/est/cacerts.
TLS configuration
Supported TLS versions are TLS v1.2 and TLS v1.3. Both check boxes are ticked by default, but v1.3 is preferred because it is both more secure and faster, while also simplifying configuration. In case the TLS v1.3 negotiation with the EST server fails, with both versions allowed, the fallback to v1.2 is possible.
The OCSP stapling mode is a modified TLS handshaking procedure: During certificate validation it is checked whether the server certificate has been revoked by the issuing Certification Authority (CA). For this purpose, the Online Certificate Status Protocol (OCSP) is commonly used. Usually, the client connects to the server which then sends its certificate. Then the client contacts the CA's OCSP responder, and the CA returns the certificate status (good, revoked, or unknown). In this procedure, the CA can see which servers a client is accessing, and more network connections are necessary which increases the connection establishment time.
With OCSP stapling, the server periodically queries the CA's OCSP responder for the status of its certificate, and the CA returns a digitally signed OCSP response. For an incoming client request, the server staples the latest OCSP response to the TLS handshake, and the client validates the included OCSP response locally. This makes TLS handshaking faster and enhances privacy.
For an EST client configuration, the default OCSP stapling mode is Optional, meaning that if no OCSP response is stapled to the EST server's TLS handshake, the TLS connection would still be established. With OCSP stapling mode set to Required, the EST server must provide a valid OCSP response. If no current OCSP response can be provided, certificate validation or the TLS connection fails. If the OCSP stapling mode is set to Disabled, the EST client must verify the certificate status on its own.
With the Client certificate required option enabled (it is disabled by default), the EST client uses the certificate of the Managed Identity Store to identify itself during the Mutual TLS (mTLS) handshake where the server accepts connections only from devices whose certificates were issued by the operator's PKI. In case the Managed Identity Store does not contain a certificate, the certificate of the Device Identity Store is used instead.
In the Cipher list input field, allowed TLS cipher suites can be listed as a text entry. This feature is optional but recommended to use. If used, the input must match these restrictions:
- maximum length of 1023 bytes
- no ASCII control characters (such as line breaks)
- allowed characters are restricted by the regular expression
^[A-Za-z0-9\s:_\-+!@.,()]*$
(this is identical to those used for OpenSSL cipher strings)
Certificate stores
Here the stores must be selected that are intended to be used as the Trust Store, Managed Identity Store and - in some cases - as the Device Identity Store. These stores must have been created in advance to configuring an EST client. For details, see Identity Stores.
The Trust Store is used for EST server validation and for validation of certificates received from EST operations. During communication, certificates are updated in the assigned Trust Store. Note: Do not make any manual changes in Trust Stores that are assigned to EST clients.
The Managed Identity Store is used for EST-managed certificates. Therefore, in its drop-down menu only editable Identity Stores are listed that are not currently assigned as the Managed Identity Store to a different EST client configuration.
The Device Identity Store is used for bootstrap authentication. In its drop-down menu, all editable and all read-only Identity Stores are listed.
Certificate lifecycle
If the Use rekeying option is enabled, the EST client creates a new private/public key pair when it requests the EST server to renew a certificate. Because many PKIs do not accept re-using a key pair, this setting is true by default so a new key pair will be created. The algorithm (key type) for creating such a new key pair can be chosen at the Key type setting in the Key configuration subsettings of the CSR template section.
The EST client cyclically checks the remaining validity duration of certificates in the Managed Identity Store. For that, the Trust Store renewal interval defines the cycle time. If the remaining time is shorter than the Minimum certificate validity defines, then the EST client contacts the EST server to renew this certificate.
CSR template
The EST client uses the Certificate Signing request (CSR) settings when a new private/public key pair is generated and the EST server is asked to issue a new certificate.
- Set these settings according to the intended usage and needs of the certificate in the Managed Identity Store.
Trouble shooting
- Check notifications emitted by EST client connections.
- Check the arp.log diagnostic log file for additional hints.