How to securely equip vehicles with unique certificates

A dual certification authority system with vehicle and control device-specific PKIs securely generates and stores private keys within the control device, addressing insecure communication and identity issues in vehicle certificate issuance, ensuring secure and efficient certificate issuance.

JP7559216B2Active Publication Date: 2024-10-01MERCEDES BENZ GROUP AG
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023507363
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-08-07
Filing Date
2021-07-08
Publication Date
2024-10-01
Estimated Expiration
2041-07-08

AI Technical Summary

Technical Problem

Existing methods for securely equipping vehicles with unique certificates are flawed as they expose vehicle-specific private keys to insecure communication channels and lack certainty about the vehicle identity during manufacturing, allowing potential unauthorized access.

Method used

Implement a dual certification authority system with vehicle and control device-specific PKIs, generating and storing private keys within the control device, and using secure transmission to ensure certificates are issued only to the correct vehicle identity.

Benefits of technology

Ensures secure and efficient issuance of vehicle-specific certificates without exposing private keys, enhancing security by maintaining keys within the control device and verifying identities through tamper-proof processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559216000001
    Figure 0007559216000001
Patent Text Reader

Abstract

The present invention relates to a method for securely equipping a vehicle (1) with a unique certificate, the vehicle (1) having at least one control device (2) and a communication unit configured to establish a connection, if necessary, between the at least one control device (2) and a server (3) external to the vehicle. The present invention is characterized in that a Vehicle Certification Authority (FCA) and a Control Device Certification Authority (GCA) with their respective public key infrastructures are established based on the respective asymmetric key pairs (FzgRootPub, FzgRootPriv, GerRootPub, GerRootPriv), the respective private keys (FzgRootPriv, GerRootPriv) remain in the respective certification authorities (FCA, GCA) and the respective public keys (FzgRootPub, GerRootPub) are distributed to participants who need them. A controller-specific key pair (GerIndPub, GerIndPriv) is generated for the controller 2, and the controller's ID (GerID) and its public key (GerIndPub) are sent to the Controller Certification Authority (GCA), providing the controller 2 with initial cryptographic material. The Controller Certification Authority then generates a controller-specific certificate (GerIndCert) for the transmitted data (GerID, GerIndPub) using the Controller Certification Authority's (GCA) private key (GerRootPriv) and sends it back to the controller 2. Furthermore, the Vehicle Certification Authority's (FCA) public key (FzgRootPub) is securely stored in the controller 2. The vehicle ID (FzgID) associated with the controller 2's ID (GerID) is determined and securely stored.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for securely equipping a vehicle with a unique certificate according to the manner defined in more detail in the preamble of claim 1 . [Background technology]

[0002] Modern vehicles are characterized by being highly networked, where they are not only connected to systems such as the World Wide Web, but also to systems and servers operated by the vehicle manufacturer or OEM (e.g. manufacturer-specific applications and manufacturer-specific servers, often referred to as the Vehicle Backend), developed, sold and operated by the manufacturer exclusively for its own vehicle fleet. All these together are also referred to as the Vehicle Ecosystem.

[0003] In practice, the diverse communication relationships between the individual system components in such a vehicle ecosystem result in many new interfaces and applications, all of which must be protected by appropriate cryptographic methods, i.e. mechanisms and protocols. This protection serves, on the one hand, to safeguard the privacy of the vehicle's users and, on the other hand, to prevent external intrusion into the data traffic, which can be exploited by hackers to attack the vehicle or manipulate its important functions, especially when transmitting data related to the control of the vehicle.

[0004] There, it is clear that the vehicle itself cannot communicate with a server or backend outside the vehicle. In fact, it is always the individual control unit installed in the vehicle that establishes and maintains the connection to the backend. However, from the backend's point of view, the backend is primarily aware of the vehicle as a whole, and not of the individual control units installed in the vehicle. It is therefore important for the backend to know for sure which vehicle the control unit it is communicating with is installed in, rather than knowing exactly which control unit, but not which vehicle it belongs to.

[0005] The two standard methods (TLS, IPSec) are based on asymmetric cryptography, in particular an asymmetric private key and a certificate issued by a central trusted Certificate Authority (CA) for the associated public key. There, for secure communication between the vehicle and the backend, the following requirements are important: · Certificates used by a vehicle or a vehicle's control unit must be unique, i.e. each vehicle must have at least its own unique private key. The associated certificate must be issued against a unique vehicle ID (e.g., vehicle identification number (VIN), also known as chassis number) by a central Certificate Authority (CA) that is trusted within the vehicle ecosystem.

[0006] Ideally, this private key should be generated together with its associated public key in a secure hardware domain (e.g. Hardware Security Module / HMS) of the control device in the vehicle to which the certificate belongs and should never leave that domain of the control device. In this way, the private key can be made almost impossible to determine by an attacker.

[0007] The obvious solution would be to leave this task to the manufacturer of the control device, who would store a unique private key and generate a vehicle-specific key pair in the control device when it was manufactured. The public key can then be read from the control device and its certificate created, while the private key cannot be read and remains in the control device for its entire life. However, this approach is problematic for two reasons.

[0008] First, the identity of the vehicle for which the certificate is issued is not yet known at the time of manufacturing the control unit, since it is not known at that time which vehicle, and therefore which identity, the control unit will later be installed in under the OEM. Second, the control unit is usually manufactured by a company other than the OEM. However, the vehicle-specific certificates for securing the communication between the vehicle and the OEM's own backend or other participants of the OEM's own vehicle ecosystem should be issued by the OEM itself, not by the control unit manufacturer, to exclude the possibility of issuing inappropriate certificates by the control unit manufacturer, etc. In theory, it is certainly possible to securely connect the OEM's own Certificate Authority (CA) to the control unit manufacturer's production line, but this is a costly solution.

[0009] The applicant's patent application WO 2005 / 023363 provides a method for enabling secure communication between a user device with a control device of a vehicle and a remotely located backend over a publicly accessible network using digital certificates. The method then comprises the steps of generating a non-specific certificate by the backend, transmitting the non-specific certificate to the control device, receiving and storing the non-specific certificate at the control device, and establishing an initial connection between the control device and the backend using the non-specific certificate as an identifier. The initial connection is only accepted by the backend if the identifier is the non-specific certificate. Finally, an identification of the vehicle is requested by the backend and sent back from the control device to the backend. The backend then uses the identification to generate a specific certificate and transmits this to the control device. The specific certificate is received and stored there. An encrypted working connection can then be established.

[0010] Here, the method shown in the patent document 1 has several principle disadvantages. Firstly, the certificate authority not only generates a unique vehicle certificate, but also issues a key pair specific to the vehicle for which the certificate is issued. This includes, among other things, a vehicle-specific private key. In this way, firstly, the vehicle-specific private key is not only available to the control device or vehicle that uses it, but is also at least known to the certificate authority that generates it. Secondly, this key must be sent to the vehicle by the issuing certificate authority together with the certificate over a relatively insecure connection, since at that point the vehicle does not yet have a secure unique certificate. Furthermore, the certificate authority can never be sure that it is actually sending the newly created vehicle-specific certificate, and in particular the private key that is worth protecting, to a vehicle with the correct identity. On the contrary, it is possible that an unauthorized third party who is merely falsifying this identity is the requester or recipient of the certificate. At that point, the vehicle-specific certificate is not yet available and the requester or recipient is not yet securely authorized. [Prior art documents] [Patent documents]

[0011] [Patent Document 1] DE 10 2009 009 310 A1 Summary of the Invention [Problem to be solved by the invention]

[0012] It is therefore an object of the present invention to provide an improved method for securely equipping a vehicle with a unique certificate as claimed in the preamble of claim 1, which makes the prerequisites and process more secure.

[0013] According to the invention, this problem is solved by a method having the features of claim 1, here in particular of the characterizing part of claim 1. Further advantageous embodiments and developments of the method are given in the dependent claims.

[0014] As mentioned above, at the time of manufacturing the control device, which stores the vehicle-specific certificate and in particular the vehicle-specific key, the identity of the vehicle is not yet known and a certificate of the vehicle's identity cannot be issued. Therefore, in the method according to the invention, a certificate of the identity of the control device is issued at that time, which can be, for example, a unique and forgery-proof (e.g. write-protected) certificate of the identity of the control device fitted with a hardware security module (HSM) in which the private key related to the vehicle-specific certificate is securely stored later.

[0015] To make this possible, the method according to the invention establishes for both the vehicle and the control unit respective Certification Authorities (CA) with respective Public Key Infrastructures (PKI) based on asymmetric key pairs, where the respective private keys of the Certification Authorities remain with the respective Certification Authorities and the public keys are distributed to participants who need them, such as for example servers outside the vehicle designed as backends.

[0016] The control device can then be equipped with initial cryptographic material, in particular at the time of its manufacture, by generating a control device-specific key pair for the control device and transmitting the control device's identity and its public key to the control device certification authority, which then generates a control device-specific certificate for the transmitted data using the control device certification authority's private key and installs it in the control device. The public key of the vehicle certification authority is securely stored in the control device, and the vehicle identity associated with the control device's identity is determined and securely stored. In this way, the system is very securely and at the same time efficiently prepared for the request and issuance of certificates. In this way, the vehicle, or more precisely, certain suitable control devices installed in the vehicle, can be securely equipped with a vehicle-specific certificate issued for the vehicle identity.

[0017] According to a highly advantageous embodiment of the method according to the invention, the type of the control device can also be transmitted to the control device certification authority. Therefore, if the type of the control device cannot be derived from the ID of the control device, it is recommended to add the type of the control device to which the control device belongs (e.g. head unit (HU), telematic communication unit (TCU), rear seat unit (RSU), etc.) to the control device specific certificate.

[0018] In an advantageous further development, the control device-specific certificate further includes the identity of the control device as part of the subject and the type of the control device is included in an additional field of the certificate, the so-called certificate extension. In this way, it becomes possible for several control devices installed in the same vehicle to be issued with their own vehicle-specific certificates and for the other party to be able to distinguish between these different vehicle-specific certificates as required.

[0019] In order to determine the vehicle ID associated with the ID of the control device, according to a highly preferred embodiment of the method according to the invention, when the control device is installed in the vehicle, a data packet consisting of the ID of the vehicle and the ID of the control device is recorded in a non-forgeable manner and then transmitted in a non-tamperable manner to a server external to the vehicle, which stores the data packet in a non-tamperable manner. According to an advantageous development of the idea, the data packet can then also contain the type of the control device.

[0020] Then, according to an extremely important and advantageous development of the method according to the invention, the device-specific private key and the device-specific certificate can be used by the control device at run time to tamper-proof send a certificate signing request (CSR) including the vehicle-specific public key as part of the vehicle-specific key pair generated by the control device to a certification authority and receive the vehicle-specific certificate from the certification authority, in which the vehicle-specific private key never has to leave the control device.

[0021] For this purpose, the control device can determine, in particular, the ID (FzgID) of the vehicle in which it is installed and generate a vehicle-specific key pair for a unique vehicle certificate in the secure environment of the control device. The vehicle-specific private key remains in the secure environment. A certificate signing request (CSR) is created for at least the ID of the vehicle and the vehicle-specific public key, and also, according to a highly preferred development, of the type of the control device. Furthermore, a signature is generated by signing the certificate signing request with the control device-specific private key, after which the data packet thus generated is sent together with the control device-specific certificate to a server external to the vehicle. The server external to the vehicle receives the data packet and verifies the correctness of the received control device-specific certificate using the public key of the control device certification authority stored therein. The correctness of the signature of the data packet is then verified using the public key of the control device contained in the accompanying sent control device-specific certificate.

[0022] The external server then extracts the vehicle's ID from the certificate signing request, the control device's ID from the control device-specific certificate, and, according to an advantageous embodiment, the control device type. The external server then checks whether a record of this data is stored, and if any of these checks fail, the process is aborted by the external server. If not, the external server sends a certificate signing request for the vehicle's ID and the vehicle-specific public key over a protected channel to the vehicle certification authority, which issues a vehicle-specific certificate based on the certificate signing request, signed with its private key, and sends it back to the external server.

[0023] The server external to the vehicle then transmits this vehicle-specific certificate to the control device installed in the vehicle, which verifies the received vehicle-specific certificate by at least verifying the correctness of the signature of the vehicle-specific certificate with the public key and by checking whether the received vehicle-specific certificate matches the sent certificate signing request, i.e. whether the vehicle's ID and the vehicle-specific public key match in both data structures. If the verification is positive, the vehicle-specific certificate is then stored locally. In this way, the vehicle-specific certificate can be used for future communications and, if necessary, can be updated in each case in the described manner.

[0024] That is, the vehicle-specific private key is generated in the control device and never leaves it, which is a very decisive advantage and increased security compared to the prior art. In particular, the vehicle-specific private key does not have to be transmitted from a server external to the vehicle or from a backend to the vehicle over a relatively insecure communication path. A further advantage is that with this embodiment of the method, the server external to the vehicle can assume with great certainty that the applicant for the certificate is in fact the vehicle to which the certificate is to be issued.

[0025] In a highly preferred embodiment of this variant of the method according to the invention, a control device-specific and / or vehicle-specific key pair is generated by the control device, and then the control device-specific and / or vehicle-specific private key is securely stored and does not leave the control device. In this way, and especially if this is done for both keys, a high degree of security is guaranteed.

[0026] Preferably, then, each unique key pair is generated by the control device in a hardware security module (HSM) and / or at least stored securely therein, and each unique key pair may never leave the hardware security module, which again preferably applies to both keys, but is particularly important for the vehicle-specific private key, and has particular security advantages.

[0027] In a further highly advantageous development of the method according to the invention, a counterfeit-proof unique digital vehicle fingerprint is recorded when the vehicle is manufactured, and a data packet containing the vehicle's ID and the vehicle fingerprint is securely transmitted to a server external to the vehicle and securely stored there. When creating the certificate signing request, the control device determines its own control device-specific vehicle fingerprint by collecting the necessary information in the vehicle, and the data packet containing the control device-specific vehicle fingerprint is then signed with the control device-specific private key, thereby generating a signature. The data packet thus generated, extended to contain the control device-specific vehicle fingerprint, is then transmitted instead of the aforementioned data packet to a server external to the vehicle for further processing there.

[0028] Further advantageous embodiments of the method according to the invention arise from the remaining dependent claims and will become apparent from the examples which are described in more detail below with reference to the drawings. [Brief description of the drawings]

[0029] [Figure 1]The only attached figure is a schematic diagram intended to explain the method according to the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030] In the schematic diagram the vehicle 1 is symbolized twice: once during manufacture with the designation 1' and once during operation with the designation 1''. The control device 2 is also shown multiple times: once during manufacture with the designation 2', once again with the designation 2'' in the vehicle 1' during manufacture and once again in the vehicle 1'' during operation. The control device 2 is now shown with the designation 2'''. Furthermore a server 3 external to the vehicle is shown, which is for example a back-end server of the respective OEM, the control device certification authority GCA and the vehicle certification authority FCA.

[0031] In detail, the following steps are then carried out, the paragraph numbers of which are also indicated in the figure:

[0032] A: We build a vehicle public key infrastructure, a so-called Public Key Infrastructure (PKI) for vehicle-specific certificates. This is done once per vehicle fleet. 1. An asymmetric key pair FzgRootPub, FzgRootPriv is generated for the Vehicle Certification Authority or Vehicle CA FCA. These are sometimes referred to as the Vehicle Root Key Pair. 2. The private key, FzgRootPriv, is stored in a secure environment at the FCA and is used by the FCA to issue / sign vehicle-specific certificates. 3. The public key FzgRootPub is distributed to all systems that should be able to verify certificates issued by the FCA, e.g., backend 3.

[0033] B: Build a controller public key infrastructure (PKI) for controller specific certificates. This is done once per controller manufacturer and for a certain number of controllers produced by this manufacturer. 1. For the Control Unit Certification Authority or Control Unit CA GCA, an asymmetric key pair GerRootPub, GerRootPriv is generated. 2. The private key GerRootPriv is stored in a secure environment at the GCA and is used by the GCA to issue / sign controller specific certificates. 3. The public key GerRootPub is distributed to all systems that should be able to verify certificates issued by the GCA, e.g., backend 3.

[0034] C: Equip the control device 2 with initial cryptographic material, in particular a control device specific certificate. This is done once for each control device 2 with unique ID GerID, type GerTyp, for example at the time of its manufacture. There, the control device 2 is shown in the diagram with the notation 2′. 1. For a control device with ID GerID, a control device specific key pair GerIndPub, GerIndPriv is generated, preferably in a Hardware Security Module (HSM) attached to this control device 2. 2. If the key pair was generated in the control device 2, the private key GerIndPriv remains there. If the key pair was generated outside the control device 2, GerIndPriv is introduced to the control device 2 in the most secure way possible and never leaves it. 3. The ID GerID, the type of the control device GerTyp and the public key GerIndPub are sent to the GCA and a certificate GerIndCert is generated for this data GerID, GerTyp, GerIndPub using GerRootPriv, GerID is included in the certificate GerIndCert as part of the subject, e.g. GerTyp as an additional field ("Extension"), and the whole data is then signed with GerRootPriv. 4. The GerIndCert is sent by the GCA back to the controller 2 where it is stored. 5. The FCA's public key, FzgRootPub, is tamper-proof stored in the control device.

[0035] D: Record the vehicle ID FzgID and the vehicle FP (fingerprint) FzgFA. This is done once for each control device 2 of type GerTyp with ID GerID when the control device 2 is fitted to a vehicle 1 with ID FzgID, e.g. at the time of vehicle manufacture under the OEM. 1. When a control device 2 of type GerTyp having a GerID is installed in a vehicle 1 having an FzgID, the data packet FzgID, GerTyp, GerID is recorded in an unforgeable manner and then transmitted in an unforgeable manner to the OEM's proprietary backend 3. 2. The backend 3 stores the data packet FzgID, GerTyp, and GerID in a tamper-proof manner. 3. When the vehicle 1 is manufactured, a counterfeit-proof unique digital vehicle fingerprint FzgFA of the vehicle 1 is recorded in a secure environment and the data packet FzgID, FzgFA is transmitted to the backend 3 in a tamper-proof manner. 4. The vehicle fingerprint FzgFA may also be populated with various unique vehicle data, such as the unique IDs of the different control devices installed in the vehicle, data that is preferably not recorded again and which cannot be easily reproduced manually. 5. The vehicle fingerprint FzgFA must be designed so that the data flowing into the vehicle fingerprint FzgFA is collected from other control devices attached to the vehicle 1, for example via various vehicle buses, so that the vehicle fingerprint FzgFA can be at least partially "reproduced" by the control device 2 attached to the vehicle 1 while it is being driven. 6. The backend 3 stores the data packet FzgID, FzgFA in a tamper-proof manner.

[0036] E: If the vehicle 1 requires a certificate or a new certificate from the point of view of the control device 2, the following steps are carried out. 1. The control device 2 is a. Determine the controller-specific vehicle fingerprint FzgFAGerSpez of controller 2 by collecting necessary information. b. Determine the ID FzgID of the vehicle in which the control device 2 is installed. c. In the secure environment, generate a key pair FzgIndPub, FzgIndPriv for a vehicle-specific certificate for vehicle 1 with ID FzgID, and the vehicle-specific private key FzgIndPriv remains in the secure environment. d. Create a Certificate Signing Request (CSR) for FzgID, FzgIndPub, and GerType. e. Generate a signature by signing the data packet (CSR(FzgID, FzgIndPub, GerTyp), FzgFAGerSpez) with the control device specific private key GerIndPriv. f. Send data packet(CSR(FzgID, FzgIndPub, GerTyp), FzgFAGerSpez, Sign, GerIndCert(GerID, GerIndPub, GerTyp)) to backend 3.

[0037] 2. Backend 3 receives the data packet and a. Check the correctness of the control device specific certificate GerIndCert using the public key of the Control Device Certification Authority GCA stored therein. b. The correctness of the signature Sign of the data packet is checked using the public key GerIndPub contained in the certificate GerIndCert unique to the control device sent together with the data packet. c. Extract the vehicle ID FzgID from the CSR, extract the controller 2 ID GerID and controller type GerTyp from the controller specific certificate GerIndCert, and check whether the backend 3 stores a record of FzgID, GerID and GerTyp. d. For vehicle 1 ID FzgID, check whether records of FzgID, FzgFA are stored. e. Check whether the control device specific vehicle fingerprint FzgFAGerSpez contained in the received message matches the general vehicle fingerprint FzgFA. f. If any of the above checks fail, abort the process. g. Otherwise, send the CSR(FzgID, FzgIndPub, GerTyp) for the vehicle ID FzgID and the public key FzgIndPub to the vehicle CA FCA via the secured channel. h. The FCA issues a vehicle-specific certificate FzgIndCert, signed by FzgRootPriv, based on the CSR(FzgID, FzgIndPub, GerTyp) for the vehicle ID FzgID and the public key FzgIndPub. The i.FCA sends the vehicle-specific certificate FzgIndCert back to Backend 3. j. The backend 3 sends the vehicle specific certificate FzgIndCert back to the control device 2 installed in the vehicle 1.

[0038] 3. The control device 2 is a. Check the received certificate FzgIndCert, i.e. i. Check the correctness of the certificate signature with FzgRootPub. ii. Check if the received certificate matches the sent CSR, i.e. FzgID, FzgIndPub, GerTyp match in both data structures. b. Save the vehicle-specific certificate FzgIndCert locally.

[0039] 4. From this point on, the control device 2 with ID GerID has the vehicle-specific certificate FzgIndCert issued to the vehicle ID FzgID and the associated vehicle-specific private key FzgIndPriv and can securely fulfil the roles entrusted to it by the vehicle 1.

Claims

1. A method for securely equipping a vehicle with a unique certificate, said vehicle comprising at least one control device and a communication unit arranged to establish a connection, if necessary, between said at least one control device and a server external to the vehicle, both implementing an asymmetric cryptographic mechanism for secure authentication, said method comprising: A vehicle certification authority (FCA) is established, the vehicle certification authority (FCA) having a vehicle public key infrastructure (PKI) based on the vehicle certification authority's (FCA) asymmetric key pair (FzgRootPub, FzgRootPriv); the private key (FzgRootPriv) of the key pair (FzgRootPub, FzgRootPriv) of the vehicle certification authority (FCA) remains at the vehicle certification authority (FCA), and the public key (FzgRootPub) of the key pair (FzgRootPub, FzgRootPriv) of the vehicle certification authority (FCA) is distributed to participants who need it; A Control Device Certification Authority (GCA) is established, said Control Device Certification Authority (GCA) having a Control Device Public Key Infrastructure (PKI) based on said Control Device Certification Authority (GCA) asymmetric key pair (GerRootPub, GerRootPriv); The private key (GerRootPriv) of the key pair (GerRootPub, GerRootPriv) of the control device certification authority (GCA) remains in the control device certification authority (GCA), and the public key (GerRootPub) of the key pair (GerRootPub, GerRootPriv) of the control device certification authority (GCA) is distributed to participants who need it; a controller-specific key pair (GerIndPub, GerIndPriv) is generated for the controller, and the controller's ID (GerID) and its public key (GerIndPub) are sent to the controller certification authority (GCA), thereby providing the controller with initial cryptographic material; Then, the control device certification authority (GCA) generates a control device-specific certificate (GerIndCert) for the transmitted data (GerID, GerIndPub) using the private key (GerRootPriv) of the control device certification authority (GCA), The control device specific certificate (GerIndCert) is then returned to the control device, where it is installed and tamper-proof stored, the public key (FzgRootPub) of the vehicle certification authority (FCA) is tamper-proof stored on the control device; and For an initial or new certificate request, the control device determines an ID (FzgID) of the vehicle to which the control device is attached; A vehicle-specific key pair (FzgIndPub, FzgIndPriv) for a unique vehicle certificate is generated in a secure environment of the control device, and the vehicle-specific private key (FzgIndPriv) remains in the secure environment; Thereafter, a Certificate Signing Request (CSR) is generated for at least the ID (FzgID) of the vehicle and the vehicle-specific public key; The certificate signing request (CSR(FzgID, FzgIndPub)) is then signed with the control device's unique private key (GerIndPriv) to generate a signature (Sign), and the data packet (CSR(FzgID, FzgIndPub), Sign, GerIndCert(GerID, GerIndPub)) thus generated is then sent to a server external to the vehicle, A server outside the vehicle receives the data packet (CSR (FzgID, FzgIndPub), Sign, GerIndCert (GerID, GerIndPub)) and verifies the correctness of the certificate (GerIndCert) specific to the control device using the public key (GerRootPub) of the control device certification authority (GCA) stored therein; A server external to the vehicle extracts the ID (FzgID) of the vehicle from the Certificate Signing Request (CSR) and the ID (GerID) of the control device from the control device specific certificate (GerIndCert) and checks whether a record of these data (FzgID, GerID) is stored; If any of these checks fail, the process is aborted by a server external to the vehicle; Then, a server (3) outside the vehicle verifies the correctness of the signature (Sign) of the received data packet using the public key (GerIndPub) of the control device (2) contained in the control device specific certificate (GerIndCert) sent together with the data packet; Then, if not, a server external to the vehicle sends the certificate signing request (CSR(FzgID, FzgIndPub)) for the ID (FzgID) of the vehicle and the vehicle-specific public key (FzgIndPub) to the vehicle certification authority (FCA) via a protected transmission path, and the vehicle certification authority (FCA) issues a vehicle-specific certificate (FzgIndCert) signed with the private key (FzgRootPriv) based on the certificate signing request (CSR(FzgID, FzgIndPub)) for the ID (FzgID) of the vehicle and the vehicle-specific public key (FzgIndPub) and returns it to the server external to the vehicle, Then, a server external to the vehicle transmits the vehicle-specific certificate (FzgIndCert) to the control device installed in the vehicle; the control device verifies the received vehicle specific certificate (FzgIndCert) by verifying at least the correctness of the signature of the vehicle specific certificate (FzgIndCert) with the public key (FzgRootPub) and by checking whether the received vehicle specific certificate (FzgIndCert) matches the sent certificate signing request (CSR), i.e. whether at least the ID (Fzg) of the vehicle and the vehicle specific public key (FzgIndPub) match in both data structures; Then, if the verification is positive, the vehicle specific certificate (FzgIndCert) is stored locally. The method as described above, characterized in that the above steps are performed.

2. 2. The method of claim 1, further comprising transmitting said control device type (GerTyp) to said control device certification authority (GCA).

3. 3. The method of claim 2, wherein the control device specific certificate (GerIndCert) contains the ID (GerID) of the control device as part of the subject and the type (GerTyp) of the control device as an additional field, and the entire data is signed with the private key (GerRootPriv) of the Control Device Certification Authority (GCA).

4. 4. The method according to claim 1, characterized in that, in order to determine the ID (FzgID) of the vehicle associated with the ID (GerID) of the control device, when the control device is attached to the vehicle, a data packet consisting of the ID (FzgID) of the vehicle and the ID (GerID) of the control device is recorded in an unforgeable manner and then transmitted in an unmanageable manner to a server external to the vehicle, which server in turn unmanageably stores the data packet (FzgID, GerID).

5. 5. The method of claim 4, further characterized in that the control device type (GerTyp) is included in the data packet.

6. The method according to any one of claims 1 to 5, characterized in that the control device specific key pair (GerIndPub, GerIndPriv) is generated by the control device and then the control device specific private key (GerIndPriv) is securely stored and never leaves the control device.

7. The method according to any one of claims 1 to 6, characterized in that the vehicle specific key pair (FzgIndPub, FzgIndPriv) is generated by the control device and then the vehicle specific private key (FzgIndPriv) is securely stored and never leaves the control device.

8. 8. The method according to claim 6 or 7, characterized in that the respective unique key pair (GerIndPub, GerIndPriv, FzgIndPub, FzgIndPriv) is generated in a Hardware Security Module (HSM) by the control device and / or is at least securely stored therein, and the respective private key (GerIndPriv, FzgIndPriv) never leaves the Hardware Security Module thereafter.

9. a counterfeit-proof unique digital vehicle fingerprint (FzgFA) is recorded at the time of manufacture of the vehicle, and a data packet containing the ID (FzgID) of the vehicle and the vehicle fingerprint (FzgFA) is tamper-proof transmitted to a server external to the vehicle and tamper-proof stored there; Upon creation of the Certificate Signing Request (CSR), the control device determines a unique control device specific vehicle fingerprint (FzgFAGerSpez) by collecting necessary information within the vehicle; Then, the data packet (CSR(FzgID, FzgIndPub), FzgFAGerSpez) including the control device's unique vehicle fingerprint (FzgFAGerSpez) is signed with the control device's unique private key (GerIndPriv) to generate the signature (Sign); The method according to any one of claims 1 to 8, characterized in that the data packet thus generated, extended to include the control device specific vehicle fingerprint (FzgFAGerSpez), is then transmitted instead of the data packet (CSR(FzgID, FzgIndPub), Sign, GerIndCert(GerID, GerIndPub)) according to claim 6 to a server outside the vehicle and further processed there.

10. 10. The method according to claim 1, wherein the type of the control device (GerTyp) is taken into account when creating the Certificate Signing Request (CSR), when creating the vehicle-specific certificate (FzgIndCert), when extracting data from the Certificate Signing Request (CSR) and / or when checking the Certificate Signing Request (CSR) or the signed vehicle-specific certificate (FzgIndCert).

Citation Information

Patent Citations

  • Method for performing communication between e.g. head unit of automobile and server, for use in e.g. navigation field, involves storing specific certificate as identifier on remote device such that head units are identified

    DE102009009310A1

  • Illicitness countering method and electronic control unit

    JP2016134170A

  • System, authentication station, on-vehicle computer, public key certificate issuing method, and program

    JP2018019415A

  • Management device, management method and management program

    JP2018116400A

  • On-vehicle authentication system, communication device, on-vehicle authentication device, computer program, communication device authentication method, and communication device manufacturing method

    JP2019009509A