AUTOMATED CERTIFICATE MANAGEMENT
Patent Information
- Application Number
- DE502018015268
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2018-04-23
- Publication Date
- 2024-11-14
- Estimated Expiration
- 2038-04-23
AI Technical Summary
In large, distributed technical systems, the standard certificate renewal process using the Certificate Management Protocol (CMP) often fails to ensure timely certificate renewal due to intermittent online connections between system components and certification authorities, leading to communication disruptions and increased costs for maintaining high availability.
A certification service that generates stateless alarm messages when certificate requests remain unanswered after a predetermined period, allowing for urgent, event-controlled, and situation-dependent certificate issuance, either automatically or semi-automatically establishing an online connection to a certification authority, and archiving these messages for audit and maintenance purposes.
This solution enhances the reliability and flexibility of certificate management, reduces unnecessary polling, and ensures high availability of the technical system by enabling immediate certificate renewal and compliance with PKI-relevant standards like IEC 62443, while minimizing costs.
Description
[0001] The invention relates to a method for the initial issuance and / or renewal of certificates for devices and / or applications in a control system for a technical plant based on certificates, wherein the devices and / or applications, within the framework of the initial issuance and / or renewal of the certificates, use a certificate management protocol for submitting a certificate application to at least one certification body of the technical plant, with the features of claim 1. Furthermore, the invention relates to a certification service for a control system of a technical plant according to claim 6 and a control system for a technical plant according to claim 7, as well as its use in a technical plant according to claim 8.
[0002] In the context of a technical system, so-called operational certificates are used at runtime. By using operational certificates, authentication and communication integrity of communication participants in a control system of the technical system can be achieved through cryptographic means.
[0003] A private key securely stored on a device is bound to a corresponding public key. Automated support for the processes involved in managing operational certificates and their associated cryptographic keys within a Public Key Infrastructure (PKI) is becoming increasingly important, particularly as a basis for secure communication between applications and devices within the technical system.
[0004] By reducing manual actions in certificate management and increasingly automating processes based on standard protocols, especially for deploying and renewing certificates, flexibility and interoperability in the context of the technical system can be increased.
[0005] Typically, the automated management of operational certificates in a plant context is implemented using a standard protocol, such as the Certificate Management Protocol (CMP). Devices and applications request the necessary operational certificates from a local registration authority (LRA) as needed. This occurs, for example, when a certificate needs to be renewed due to expiration or revocation.
[0006] The devices and applications send a request to the local registration service, known as a Certificate Signing Request (CSR). The local registration service verifies the request by first checking the validity of the signature used to sign the request. It then checks whether a device certificate, serial number, and any other identifying characteristics of the devices or applications are stored in a software inventory of the technical system's control system. If the verification is successful, the request is forwarded to the Certification Authority (CA), which issues an operational certificate for the device or application.
[0007] If a plant component or the Local Registration Authority (LRA), acting as the component's representative, determines that one of the certificates issued for the component is about to expire, the certificate should be renewed as soon as possible. Otherwise, there is a risk that the component's communication partners will reject the expired certificate as invalid and, as a consequence, refuse to communicate with the component. However, in a large, distributed, modular technical system, it cannot be guaranteed that the (local) registration authority will always have an online connection to one or more project-specific Certification Authorities (CAs) and / or to the individual plant components, such as the Operator Station (OS), or that it will be able to establish such a connection promptly when needed.
[0008] A standard certificate renewal process according to the Certificate Management Protocol (CMP) stipulates that various messages exchanged between entities involved in certificate management (end devices, registration services (RAs), certificate authorities (CAs)) are structured according to the Internet Engineering Task Force (IETF) specification publication RFC 4210 / 4211 (RFC = Request for Comments). For example, a certificate request (CertReq), generated by an end device or a registration service on behalf of the end device, typically consists of the following: a Request ID (ID = Identifier), a so-called Certificate Template which contains various fields that are to be listed later in the certificate (for example, a serial number of the end device), a so-called Proof of Possession (PoP for short), i.e., proof that the end device also has a key for secure transmission, a so-called Proof-of-Origin to be able to trace the origin of the request.
[0009] In the event that the online connection between the plant components and the (local) registration service and / or the (local) registration service and the responsible certification authority or several responsible certification authorities is frequently interrupted, the (local) registration service cannot satisfactorily perform its coordination tasks.
[0010] The RFC4210 specification recommends a countermeasure called polling between the plant components, the (local) registration service, and the responsible certification authority (or multiple responsible certification authorities) to bridge offline states: one instance attempts to reach the other by sending so-called poll requests until it responds. However, this unnecessarily increases the communication overhead in the technical system and can therefore potentially jeopardize the availability of individual components and the overall system.
[0011] Furthermore, the polling procedure specified does not allow for escalation, i.e., high prioritization of the missing online connection. Specifically, no other instances / users are notified of the missing online connection, meaning that the online connection required for certificate renewal (even in urgent cases) cannot be established immediately.
[0012] Technically, it is possible, with considerable effort and correspondingly high investment, to guarantee high availability of the instances and a constant online connection between them through appropriate measures (for example, a redundant design of the (local) registration service / certification authority(ies) and the implementation of appropriate load balancing mechanisms), so that a certificate can be renewed as quickly as possible when needed. However, this entails enormous additional costs that not all operators of automation systems can afford.
[0013] The publication "EASTLAKE DONALD 3RD: "Transport Layer Security (TLS) Extensions: Extension Definitions - draft-ietf-tls-rfc4366-bis-01.txt", MOTOROLA LABORATORIES, INTERNET ENGINEERING TASK FORCE, IETF; STANDARDWORKINGDRAFT, INTERNET SOCIETY (ISOC) 4, RUE DES FALAISES CH- 1205 GENEVA, SWITZERLAND, vol. tls, no. 1, XP015054012, chapter 1. "Introduction"; pp. 3-4, chapter 5. "Client Certificate URLs"; pp. 7-10 / 14.01.2008" describes a proposal for the standardization of the "Transport Layer Security (TLS)" protocol. This reveals that a server generates a "certificate_unobtainable" error message if there is a delay in certificate delivery to a client requesting the certificate.
[0014] US patent 2010 / 042232 A1 discloses a method for operating a process plant using a control system.
[0015] The invention is based on the objective of providing an improved certificate management system for a control system of a technical plant, which can initiate an automated issuance of certificates in a need-based, event-driven and situation-dependent manner.
[0016] This problem is solved by a method for the initial issuance and / or renewal of certificates for devices and / or applications in a control system for a technical plant based on certificates having the features of claim 1. Furthermore, the problem is solved by a certification service for a control system of a technical plant according to claim 6, by a control system for a technical plant according to claim 7, and by its use in a technical plant according to claim 8. Advantageous further developments are set forth in the dependent claims.
[0017] In a method of the type described above, the problem is solved according to the invention by the devices and / or applications implementing, in addition to the certificate management protocol, a certification service that generates an alarm message, in particular a stateless one, and makes it available in the control system if a certificate request previously submitted by the respective device and / or application has not been answered by the certification authority after a predetermined period of time. After generating and making available the stateless alarm message, the certification service generates a completion message and makes this available in the control system. However, this only occurs after the certificate request previously submitted by the device, application, or registration service has been answered by the certification authority, i.e., the certificate request has either been approved or rejected.The completion message informs every participant in the control system or technical system that the alarm message has been resolved.
[0018] In this context, a control system is understood to be a computer-aided technical system that includes functionalities for representing, operating, and controlling a technical manufacturing or production plant. In this case, the control system comprises sensors for acquiring measured values as well as various actuators. Furthermore, the control system includes so-called process- or production-related components that serve to control the actuators and sensors. In addition, the control system includes, among other things, means for visualizing the technical plant and for engineering purposes. The term "control system" also encompasses additional computing units for more complex control systems and systems for data storage and processing.
[0019] A technical plant is a collection of machines, devices, applications, and the like that are functionally and often also spatially related to one another. Products, components, and the like are manufactured or produced on a (large-scale) technical scale using this plant.
[0020] A certificate is a digital data record that confirms certain properties (in this case, of machines, devices, applications, and the like). The authenticity and integrity of the certificate can usually be verified using cryptographic methods.
[0021] The certificate management protocol used by the devices and / or (web) applications is a common protocol typically used in the context of certificate management for a control system. For example, it could be the Certificate Management Protocol (CMP) described in the Internet Engineering Task Force (IETF) specification publication RFC 4210 / 4211 (RFC = Request For Comments).
[0022] The certification authority of the technical system issues (provision / allocation) the (digital) certificates and verifies their validity (integrity assurance). The certification authority forms the core of the technical system's public key infrastructure (PKI). It is also referred to as the Certification Authority (CA).
[0023] According to the invention, in addition to the messages exchanged as standard for certificate issuance in accordance with the selected certificate management protocol (e.g., the CMP protocol), a so-called certification service is provided. This certification service is designed to enable the (online) connection between a device / application and the certification authority to be established as quickly as possible when urgently required for certificate issuance.
[0024] If a Certificate Signing Request (CSR) from a device or application remains unanswered to the certification authority after a predetermined period of time (configurable timeout), the certification service reports this to the control system by means of an alarm message generated by it and stored in the control system.
[0025] This alarm message is advantageously stateless. The term "stateless alarm message" refers to an alarm message whose content consists solely of an external state. In this case, this means that the stateless alarm message only contains information that a certificate request from a device or application has not been answered after a predetermined period of time. The stateless alarm message does not contain any information about its own state, as is typically the case with process alarms (e.g., "message received," "message acknowledged," or "message cleared").
[0026] The certification service only becomes active when requested certificate applications remain unanswered and (manual or automated) intervention is necessary to establish an (online) connection to an available certification authority. Ideally, the stateless alert includes urgency information to assign a higher priority to the alert.
[0027] If establishing an (online) connection proves impossible for technical (or network-related) reasons, the certification request can also be submitted to the certification authority via another method (e.g., manually or by email). If the required certificate is issued by the certification authority before the predetermined expiry date and delivered to the device / application, the certification service will not generate an alert.
[0028] The control system-specific certification service enables – through an innovative extension of a standard certificate management system implemented in the control system – the issuance of certificates on demand, triggered by events and specific situations. The necessary online connection between a device and the certification authority is established either fully automatically or semi-automatically – for example, initiated by an operator of the technical equipment or control system who has received the corresponding stateless alarm message from the certification service.
[0029] The described solution makes automated certificate management more reliable, intelligent and flexible by eliminating unnecessary polling and the high availability of the technical system, which is associated with high costs, as well as by establishing a permanent (online) connection between the devices / applications and the certification authority.
[0030] The described solution also enables flexible integration with conventional CA products and, due to the use of standard protocols for certificate management, supports all common certificate management use cases (especially bootstrapping, updates, revocation, and hardware exchange). It is therefore compliant with the PKI-relevant requirements of the IEC 62443 standard, the leading international security standard for technical automation.
[0031] The method according to the invention can be used to revoke a certificate that is no longer valid for various reasons (for example, due to a device replacement during the plant's operation). Preferably, however, the certificate application is submitted as part of a certificate renewal for the devices and / or applications.
[0032] To submit a certificate application to the at least one certification authority of the technical installation, at least one intermediary registration service (also referred to as a registration authority or RA) can be used. The intermediary registration service(s) can be local registration services that communicate with a higher-level global registration service, which in turn is directly connected to the at least one certification authority of the technical installation. This allows for a more precise localization of a source of interference within the chain "device / application -> registration service -> certification authority" and its corresponding consideration and timely resolution using the certificate service or bypassing it using other appropriate mechanisms.
[0033] The certification service can be implemented on the registration service(s). If a device or application cannot reach the registration service(s) or has not received a response from the certification authority (via the intermediary registration service) after the predetermined time period, the certification service implemented on the device or application is called.
[0034] However, if no (online) connection can be established between the registration service (local or global) and the certification authority, the certification service is required in the registration service (local or global).
[0035] In a further preferred embodiment of the invention, the stateless alarm message and / or the completion message are stored in an archive. This archive can be a central process data archive (process historian) accessible to the participants of the control system or the technical plant. The archive does not necessarily have to be physically located within the plant, but can also be implemented in an external server environment. Operators, maintenance personnel, and other users of a technical plant can, by appropriately filtering the archive with regard to certificate-related stateless alarm messages, track a history of these alarm messages and check whether any further certificate requests are still open, i.e., unanswered, which could potentially lead to impairments of the plant.
[0036] Furthermore, archiving the alarm message and / or the resolution message enables a subsequent audit of the certificate management (a so-called audit trail). This allows, in particular, verification of whether any certificate-related impairments of the technical system have occurred.
[0037] Furthermore, typical device maintenance (for example, the detection of device failures or maintenance needs) can be extended to include a "certificates" category, as all information regarding certificate management is immediately accessible.
[0038] Preferably, the registration service can access the archive and automatically search for unanswered certificate requests, forwarding them to the certification authority. However, it is also possible for the certification authority to have direct, immediate access to the archive containing the alert and / or resolution messages stored there.
[0039] The task is further solved by a certification service for a control system of a technical plant, which is usable by devices and / or applications and / or registration services of the technical plant and is trained and intended to generate a stateless alarm message and make it available in the control system if a certificate request previously submitted by a device, an application or a registration service has not been answered by a certification authority of the control system within a predetermined period of time.
[0040] The certification service is advantageously additionally trained and designed to generate a completion message and make it available in the control system after the stateless alarm message has been generated and provided. This requires that the certificate request previously submitted by the device, application, or registration service has been answered by the control system's certification authority.
[0041] The problem is further solved by a control system for a technical plant, which includes means for carrying out the inventive method and / or means for implementing the inventive certification service.
[0042] This control system is preferably used for the operation of a technical plant.
[0043] The properties, features and advantages of this invention described above, as well as the manner in which they are achieved, will become clearer and more easily understood in connection with the following description of the exemplary embodiment, which is explained in more detail in conjunction with the drawings.
[0044] The figure shows a control system 1 according to the invention for a technical plant designed as a process plant. The control system 1 comprises an engineering component or engineering station 2, a process data archive or process historian 3, a server of an operator system or operator system server 4, a registration service 11, and a certification authority 5. The engineering station 2, the process data archive 3, the operator system server 4, the registration service 11, and the certification authority 5 are interconnected via a terminal bus 6. A user or client 7 communicates with the aforementioned four components via the terminal bus 6. The terminal bus 6 can, but is not limited to, be configured as Industrial Ethernet.
[0045] A device 8 is connected to the operator system server 4 via a plant bus 9. The connected device 8 can alternatively be an application, in particular a web application. Within the scope of the invention, any number of devices and / or applications can be connected to the operator system server 4. The plant bus 9 can, but is not limited to, be configured as Industrial Ethernet, for example. The device 8 can, in turn, be connected to any number of subsystems (not shown).
[0046] The process data archive 3 integrates a central archive 10, in which certificates and messages, among other things, can be stored and retrieved.
[0047] The Operator System Server 4 integrates a visualization service 12, which enables the transfer of authentication data or certificates to the client 7. The Operator System Server 4 also includes a process image 13 and a storage framework 14.
[0048] All devices 8 and applications integrated into the technical system must authenticate themselves to the registration service 11 upon commissioning of the technical system in order to be registered as trusted communication participants. For this purpose, the devices / applications 8 send a request for the creation of a certificate, a so-called Certificate Signing Request (CSR). The registration service 11 checks the request from the devices or applications 8. If the check is successful, the request is signed by the registration service 11 and then forwarded to the certification authority 5, which also checks it.
[0049] In the event of a successful verification, the registration service 11 obtains the corresponding certificate on behalf of each device or application 8. The verification by the registration service 11 is specifically designed to check whether the device or application 8 is considered a trusted communication partner within the context of the technical system, i.e., whether it is registered as such in the process data archive 4.
[0050] Furthermore, the Certificate Signing Request (CSR) is checked against specific criteria to ensure its validity. Certification Authority 5 verifies that the forwarded requests are signed by a trusted registration service 11 and (based on the specified criteria) that the Certificate Signing Request is valid within the context of Certification Authority 5. If the verification is successful, the registration service 11 receives the corresponding certificate on behalf of each device or application 8.
[0051] The certificates are managed using a common certificate management protocol, such as the Certificate Management Protocol (CMP).
[0052] Within the scope of the present invention, the device 8 additionally implements a first certification service 15a, the process image 13 of the operator system server 4 implements a second certification service 15b, a user or client 7 implements a third certification service 15c, and the engineering station 2 implements a fourth certification service 15d. The certification services 15a, 15b, 15c, and 15d each generate a stateless alarm message if a previously submitted certificate request has not been answered by the certification authority 5 after a predetermined period of time. These alarm messages can be retrieved or read by the other participants of the control system 1.
[0053] After the previously submitted certificate application has been answered by the certification authority 5, the certification service generates a completion message and makes it available to the other participants in the guidance system 1.
[0054] The alarm messages consist of the following content: An expiry date indicating when the certificate in question expires and must be replaced; a request date indicating when the certificate request was initiated; urgency information to assign a higher priority to the alert. For example, if required operational certificates or device certificates stored in the devices are not renewed within a specified period, the certification service can increase the processing priority of the certificate request ("escalation"); a device identifier (serial number or other unique identifier); and a device path for easy localization of the device in question.
[0055] The stateless alarm messages and the completion messages are stored in the central archive 10 by the certification services 15a, 15b, 15c, and 15d. The status of the alarm messages and completion messages can be queried and displayed via a display element 16, which is integrated into client 7, for example, to perform an audit trail.
[0056] Although the invention has been illustrated and described in detail by the preferred embodiment, the invention is not limited by the disclosed examples and other variations can be derived by the person skilled in the art without leaving the scope of protection of the invention.
[0057] This is defined by the claims.
Claims
1. Method for the initial allocation and / or renewal of certificates for devices and / or applications (8) in a control system (1) for a technical installation on the basis of certificates, wherein the devices and / or applications (8), within a framework of the initial allocation and / or renewal of the certificates, use a certificate management protocol to post a certificate request at at least one certification authority (5) of the technical installation, characterised in that the devices and / or applications (8), in addition to the certificate management protocol, implement a certification service (15a, 15b, 15c, 15d) which generates a stateless alarm message and provides it in the control system (1), when a certificate request previously posted by the device and / or the application (8) has not been answered by the certification authority (5) after a previously determined period of time has expired, wherein the certification service (15a, 15b, 15c, 15d) generates a resolution message after the generation and provision of the stateless alarm message and provides this in the control system (1), once the certificate request previously posted by the device and / or the application (8) has been answered by the certification authority (5).
2. Method according to claim 1, in which, in order to post the certificate request at the at least one certification authority (5) of the technical installation, at least one intermediary registration service (11) is used, which preferably implements the certification service (15a, 15b, 15c, 15d) according to claim 1.
3. Method according to one of the preceding claims, in which the stateless alarm message has an item of urgency information, in order to assign the alarm message a higher priority.
4. Method according to one of the preceding claims, in which the stateless alarm message and / or the resolution message are stored in an archive (10).
5. Method according to one of the preceding claims, in which the posting of the certificate request takes place in the framework of a certificate renewal of the devices and / or applications (8).
6. Certification service (15a, 15b, 15c, 15d) for a control system (1) of a technical installation, which is able to be used by devices and / or applications (8) of the technical installation and is embodied and provided to generate a stateless alarm message and to provide it in the control system (1) when a certificate request previously posted by a device and / or an application has not been answered by a certification authority (5) of the control system (1) within a previously determined period of time, wherein the certification service (15a, 15b, 15c, 15d) in addition is embodied and provided to generate a resolution message after the generation and provision of the stateless alarm message and provides this in the control system (1), in the event that the certificate request previously posted by the device and / or the application has been answered by the certification authority (5) of the control system (1).
7. Control system (1) for a technical installation, comprising means for carrying out a method according to one of claims 1 to 5 and / or means for implementing a certification service (15a, 15b, 15c, 15d) according to claim 6.
8. Use of a control system (1) according to claim 7 for operating a technical installation.
