Certificate-based local UE authentication
By using a private key/public key pair between the UE and the base station to generate a local authentication certificate, it solves the problem that authentication in the 3GPP network relies on centralized components, realizes fast and secure distributed authentication, and is suitable for efficient network environments in the future. .
Patent Information
- Application Number
- CN202211642059.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-12-20
- Filing Date
- 2022-12-20
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-12-20
AI Technical Summary
The authentication between the UE and the network in the existing 3GPP network relies on centralized components, resulting in an inefficient authentication process. It cannot meet the control plane latency requirements of future applications in the 5G network, and lacks a distributed authentication mechanism to cope with the number of connected devices. Added problem.
By establishing a private key/public key pair between the UE and the base station, a local authentication certificate is generated, allowing the base station to sign and decrypt the certificate, achieving local authentication and reducing reliance on centralized authentication. The SUCI scheme is used to encrypt transmission to ensure message integrity. sex and privacy.
It achieves distributed and fast local authentication, reduces core network load, overcomes bottlenecks and security attacks of centralized authentication, improves the efficiency and security of the authentication process, and is suitable for 6G networks and other radio networks.
Smart Images

Figure CN116321158B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to local UE authentication.
[0002] Abbreviations
[0003] 3GPP Third Generation Partnership Project 5G / 6G / 7G fifth generation / sixth generation / seventh generation AMF Access and Mobility Management Function ARPF access credentials repository and processing functions AS Access Layer AUSF authentication server function DH Diffie-Hellman EAP Extensible Authentication Protocol EC Elliptic Curve ECC Elliptic Curve Cryptography ECIES Elliptic Curve Integrated Encryption Scheme FBS Fake Base Station gNB 5G base station HN Home Network HTTPS Hypertext Transfer Protocol Secure ICB Initial Counter Block ID Identifier IKE Internet Key Exchange IP Internet Protocol IPsec IP Security KDF Key Derivation Function LTE Long Term Evolution MAC Message Authentication Code ME Mobile Devices NAS Non-Access Stratum PDCP Packet Data Convergence Protocol PDU Protocol Data Unit RAN Radio Access Network RRC Radio Resource Control SIDF subscription identifier de-hiding function SN Service Network SUCI Subscription Hidden Identifier SUPI Subscription Persistent Identifier TLS Transport Layer Security TR Technical Report TS Technical Specifications UDM Unified Data Management UE User Equipment USIM Universal Subscriber Identity Module WWW World Wide Web Background Art
[0004] The mutual authentication between the UE and the network in 3GPP is based on a shared long-term key. On the network side, this key is stored at a central location using the ARPF (Access Credentials Repository and Processing Function). The ARPF is accessed via the UDM. Therefore, the authentication operation always requires connection and access to the centralized components (UDM, APRF). For 5G, enhanced Home Network (HN) control is introduced, which means that the authentication operation always involves the HN. Unlike LTE, it is no longer possible to pass a bunch of authentication vectors from the HN to the Serving Network (SN) to allow the SN to perform additional authentication operations without contacting the HN.
[0005] In 3GPP networks, the frequency with which authentication runs are performed depends on network policy. It is a good security practice to authenticate the UE on a regular basis, not only when the UE registers with the network, but also when the UE starts a new session or makes a new service request.
[0006] Note that older versions of 3GPP TS 33.501 mentioned the term "local authentication" in clause 6.13 in the context of a procedure allowing the UE and gNB to inform each other of the current value of a counter for user plane packets. This term is a misnomer as no authentication is involved there. Therefore, the procedure is referred to as "Signalling procedure for PDCP count check" in the current version of 3GPP TS 33.501.
[0007] Between the UE and the network, 3GPP uses shared-key based authentication. However, many other encryption protocols (such as TLS or IKE) use public / private key pairs for authentication. When both peers have a private / public key pair and each peer knows the other peer's public key, the two peers can authenticate each other. In most cases, public keys are exchanged using certificates, where a trusted party validates the mapping of public keys to entities with the help of a signed certificate.
[0008] Today, 3GPP UEs do not have a private / public key pair for authentication in public mobile networks. But in private 5G networks, EAP-TLS can be used as the authentication method - each UE then has a private / public key pair, and the network authenticates the UE based on this via an EAP-based authentication process involving AUSF / UDM. For public networks, 3GPP will probably stick with the current authentication mechanism that relies on a shared key provided on the USIM. An authentication solution that requires a private / public key pair for all UEs would be a significant change and is unlikely to be adopted by 3GPP in the near future.
[0009] The use of a shared key for authentication between the UE and the network requires that the UE must be able to inform the network of its identity before a secure connection is established. In most cases, only temporary identities are used here, but in some cases, no temporary identity is assigned and a permanent identity must be sent. Until 4G, the permanent identity was sent in clear text. In 5G, 3GPP introduced a mechanism by which the UE can encrypt its permanent identity, known as the SUCI scheme (see 3GPP TS 33.501, Annex C for more details): Elliptic Curve Integrated Encryption Scheme for hiding the SUPI at the UE and de-hiding at the SIDF. Elliptic Curve Integrated Encryption Scheme (ECIES) encryption combines ECC-based asymmetric cryptography with symmetric cryptography, providing data encryption through EC private keys and data decryption through corresponding EC public keys. All symmetric keys can be derived independently in the UE and the network.
[0010] At the UE, a key pair generation primitive is used to generate a key pair (temporary public and private keys). Based on the Diffie-Hellman primitive, a shared key element is derived from the public key of the HN (which is securely provided on the UE's USIM) and the generated temporary private key. Subsequently, a key derivation function KDF is used to generate key data K consisting of an encryption key EK, an initial counter block (ICB) and a MAC key. Using the derived keys EK and ICB, symmetric encryption is performed to encrypt the plaintext block (SUPI) to generate a ciphertext. In addition, the integrity of the message is protected by adding a message authentication code (MAC). The MAC is a hash value calculated based on the ciphertext and the MAC key.
[0011] At the SIDF, the received UE temporary public key and the home network's private key are used to generate a temporary shared key. Using the key derivation function, the same key data K as used by the UE is generated. The generated EK and ICB are used to decrypt the ciphertext using symmetric decryption. The MAC key is used to generate the expected MAC, which is compared with the received MAC and the integrity of the SUCI is verified by this comparison.
[0012] The mechanism of using MAC to ensure the integrity of messages is not only used in the SUCI scheme, but is also widely used in various communication security protocols, such as TLS or IPsec specified by the IETF, or NAS and PDCP protocols specified by the 3GPP for mobile networks by the IETF. It should be noted that in such communication protocols, after successfully verifying the received MAC, the receiver not only knows that the message has not been modified by the attacker, but also knows that the message was created by the party that possesses the MAC key. If the MAC key is only owned by the two communicating peers (the receiver and the sender) and no one else, receiving a message with the correct MAC means that the message was created by the real sender, which implicitly authenticates the sender.
[0013] US2021 / 0112411A1 discloses a solution for enabling multi-factor authentication for a private mobile network, wherein a UE connects to a public mobile network using conventional centralized authentication, and in response to the public mobile network determining that the UE is not configured to authenticate to the private mobile network, a certificate-based access credential for the private mobile network is provided to the UE. Summary of the invention
[0014] An object of the present invention is to improve the prior art.
[0015] According to a first aspect of the present invention, there is provided an apparatus comprising means for performing the following operations:
[0016] checking whether the terminal has received a first local authentication certificate from the first base station using an established security association between the terminal and the first base station, wherein the first local authentication certificate includes a public key of the terminal, a public key of the first base station, and a base station identifier of the first base station;
[0017] If the terminal receives the first local authentication certificate, storing the first local authentication certificate;
[0018] monitoring whether the terminal is to be authenticated; and
[0019] If the terminal is to be authenticated:
[0020] retrieving a public key and a base station identifier of the first base station from the first local authentication certificate;
[0021] encrypting the certificate unit with a public key of the first base station to create an encrypted certificate unit, wherein the certificate unit includes a first local authentication certificate; and
[0022] A request for local authentication of the terminal is sent to the second base station, wherein the request for local authentication includes an encryption certificate unit and a base station identifier, and the base station identifier is not encrypted in the request for local authentication.
[0023] According to a second aspect of the present invention, there is provided an apparatus comprising means for performing the following operations:
[0024] Generate a local authentication certificate, wherein the local authentication certificate includes a base station identifier, a public key of the base station, and a public key of the terminal;
[0025] The local authentication certificate is signed by signing based on the private key of the base station, wherein the private key of the base station belongs to the public key of the base station;
[0026] sending a signed local authentication certificate to the terminal using an established security association between the base station and the terminal;
[0027] monitoring whether the base station receives a request for local authentication from the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0028] If the base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the base station without decrypting the received base station identifier;
[0029] If the received base station identifier is an identifier of the base station, decrypting the encrypted certificate unit using a private key of the base station to create a certificate unit;
[0030] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0031] If the certificate unit includes a local authentication certificate signed by a signature, the public key of the terminal is used for communication with the terminal.
[0032] According to a third aspect of the present invention, there is provided an apparatus comprising means for performing the following operations:
[0033] Generate a local authentication certificate, wherein the local authentication certificate includes a plurality of information elements, the plurality of information elements including an identifier of the first base station, a public key of the first base station, and a public key of the terminal;
[0034] Signing the local authentication certificate by signing based on the private key of the first base station, wherein the private key of the first base station belongs to the public key of the first base station;
[0035] sending the signed local authentication certificate to the terminal using the established security association between the first base station and the terminal;
[0036] monitoring whether the first base station receives a request to decrypt the encryption certificate unit from the second base station;
[0037] If the first base station receives a request to decrypt the encrypted certificate unit, decrypt the encrypted certificate unit using the private key of the first base station to create a certificate unit;
[0038] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0039] If the certificate unit comprises a local authentication certificate signed by the signature, at least a subset of information elements comprised by the local authentication certificate is provided in response to the received request, wherein the subset comprises a public key of the terminal.
[0040] According to a fourth aspect of the present invention, there is provided an apparatus comprising components configured to perform the following operations:
[0041] monitoring whether the second base station receives a request for local authentication from the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0042] If the second base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the second base station without decrypting the received base station identifier;
[0043] if the received base station identifier is not an identifier of the second base station, identifying the first base station based on the received base station identifier;
[0044] requesting the first base station to decrypt the received encrypted certificate unit and provide the certificate unit as a response;
[0045] monitoring whether a public key of the terminal is received from the first base station in response to the request; and
[0046] If the public key of the terminal is received, the public key of the terminal is used for communication with the terminal.
[0047] According to a fifth aspect of the present invention, there is provided a method comprising:
[0048] checking whether the terminal has received a first local authentication certificate from the first base station using an established security association between the terminal and the first base station, wherein the first local authentication certificate includes a public key of the terminal, a public key of the first base station, and a base station identifier of the first base station;
[0049] If the terminal receives the first local authentication certificate, storing the first local authentication certificate;
[0050] monitoring whether the terminal is to be authenticated; and
[0051] If the terminal is to be authenticated:
[0052] retrieving a public key and a base station identifier of the first base station from the first local authentication certificate;
[0053] encrypting the certificate unit with a public key of the first base station to create an encrypted certificate unit, wherein the certificate unit includes the first local authentication certificate; and
[0054] A request for local authentication of the terminal is sent to the second base station, wherein the request for local authentication includes an encryption certificate unit and a base station identifier, and the base station identifier is not encrypted in the request for local authentication.
[0055] According to a sixth aspect of the present invention, there is provided a method, comprising:
[0056] Generate a local authentication certificate, wherein the local authentication certificate includes a base station identifier, a public key of the base station, and a public key of the terminal;
[0057] The local authentication certificate is signed by signing based on the private key of the base station, wherein the private key of the base station belongs to the public key of the base station;
[0058] sending a signed local authentication certificate to the terminal using an established security association between the base station and the terminal;
[0059] monitoring whether the base station receives a request for local authentication from the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0060] If the base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the base station without decrypting the received base station identifier;
[0061] If the received base station identifier is an identifier of a base station, decrypting the encrypted certificate unit using a private key of the base station to create a certificate unit;
[0062] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0063] If the certificate unit includes a local authentication certificate signed by a signature, the public key of the terminal is used for communication with the terminal.
[0064] According to a seventh aspect of the present invention, there is provided a method, comprising:
[0065] Generate a local authentication certificate, wherein the local authentication certificate includes a plurality of information elements, the plurality of information elements including an identifier of the first base station, a public key of the first base station, and a public key of the terminal;
[0066] Signing the local authentication certificate by signing based on the private key of the first base station, wherein the private key of the first base station belongs to the public key of the first base station;
[0067] sending the signed local authentication certificate to the terminal using the established security association between the first base station and the terminal;
[0068] monitoring whether the first base station receives a request to decrypt the encryption certificate unit from the second base station;
[0069] If the first base station receives a request to decrypt the encrypted certificate unit, decrypt the encrypted certificate unit using the private key of the first base station to create a certificate unit;
[0070] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0071] If the certificate unit comprises a local authentication certificate signed by the signature, at least a subset of information elements comprised by the local authentication certificate is provided in response to the received request, wherein the subset comprises a public key of the terminal.
[0072] According to an eighth aspect of the present invention, there is provided a method comprising:
[0073] monitoring whether the second base station receives a request for local authentication of the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0074] If the second base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the second base station without decrypting the received base station identifier;
[0075] if the received base station identifier is not an identifier of the second base station, identifying the first base station based on the received base station identifier;
[0076] requesting the first base station to decrypt the received encrypted certificate unit and provide the certificate unit as a response;
[0077] monitoring whether a public key of the terminal is received from the first base station in response to the request; and
[0078] If the public key of the terminal is received, the public key of the terminal is used for communication with the terminal.
[0079] Each of the methods of the fifth to eighth aspects may be a local authentication method.
[0080] According to a ninth aspect of the present invention, there is provided a computer program product comprising a set of instructions, which, when executed on a device, are configured to cause the device to perform a method according to any one of the fifth to eighth aspects. The computer program product may be embodied as a computer readable medium or may be directly loaded into a computer.
[0081] According to some embodiments of the present invention, at least one of the following advantages can be achieved:
[0082] Can provide local certification;
[0083] Overcomes the bottleneck of centralized authentication.
[0084] Small amount of computation at the UE;
[0085] Reuse of existing processes;
[0086] Overcome known security attacks.
[0087] It should be understood that any of the above modifications may be applied individually or in combination to the various aspects to which they refer, unless they are explicitly stated to exclude alternatives. BRIEF DESCRIPTION OF THE DRAWINGS
[0088] Further details, features, objects and advantages will become apparent from the following detailed description of example embodiments of the invention taken in conjunction with the accompanying drawings, in which:
[0089] Figure 1 shows message flows according to some example embodiments of the present invention;
[0090] Figure 2 shows message flows according to some example embodiments of the present invention;
[0091] Figure 3 shows message flows according to some example embodiments of the present invention;
[0092] Figure 4 An apparatus according to an example embodiment of the present invention is shown;
[0093] Figure 5 A method according to an example embodiment of the present invention is shown;
[0094] Figure 6 An apparatus according to an example embodiment of the present invention is shown;
[0095] Figure 7 A method according to an example embodiment of the present invention is shown;
[0096] Figure 8 An apparatus according to an example embodiment of the present invention is shown;
[0097] Fig. 9 A method according to an example embodiment of the present invention is shown;
[0098] Fig.10 An apparatus according to an example embodiment of the present invention is shown;
[0099] Fig.11 A method according to an example embodiment of the present invention is shown; and
[0100] Fig.12An apparatus according to an example embodiment of the invention is shown. DETAILED DESCRIPTION
[0101] Below in conjunction with the accompanying drawings, some embodiments of the present invention will be described in detail, wherein unless otherwise specified, the features of the various embodiments can be freely combined with each other. However, it should be clearly understood that the description of some embodiments is given only by way of example, and is by no means intended to be understood as limiting the present invention to the disclosed details.
[0102] Furthermore, it should be understood that the apparatus is configured to perform the corresponding method, although in some cases only the apparatus or only the method is described.
[0103] As the number of connected devices continues to increase, especially for 6G use cases, centralized authentication becomes a bottleneck. In addition, centralized authentication may not meet the control plane latency requirements of future applications - it may be too slow for some applications.
[0104] According to some example embodiments, after centralized authentication (i.e., using ARPF) and subsequent security context establishment between the gNB and the UE, the UE and the gNB establish credentials that can subsequently be used for mutual authentication between the UE and the gNB (local authentication). To this end, the UE creates a private / public key pair and sends the public key to the gNB. The gNB creates a certificate (referred to herein as a local authentication certificate, e.g., "local-auth-cert") containing a UE id selected by the gNB (local-auth-UE-id), the UE's public key, the gNB's public key, a gNB identifier identifying the gNB, (optionally) an identifier of the gNB public key, (optionally) an expiration time, and (optionally) a set of policies (user local access policies, UE-local-access-policies), and a signature created with the gNB's private key. The gNB sends the local-auth-cert to the UE, which stores it for subsequent local authentication. The gNB identifier and the gNB's public key identifier (if present) may be jointly included in a key identifier (e.g., referred to herein as "gNB-pub-key-id").
[0105] When local authentication is subsequently required, the UE sends a specific message (e.g., referred to herein as a "local authentication request") including a local-auth-cert encrypted according to the SUCI scheme, but not based on the HN public key as in the SUCI scheme, but based on the gNB public key contained in the local-auth-cert. In addition, the local authentication request (local-auth-request) includes the key ID "gNB-pub-key-id" in plain text (i.e., unencrypted), allowing the RAN to locate the gNB that has created the local-auth-cert. This gNB uses its private key to decrypt the encrypted local-auth-cert. After this step, the RAN knows the UE's public key and it can therefore authenticate the UE. Vice versa, the UE can authenticate the RAN via the gNB public key. This authentication can be achieved using state-of-the-art mechanisms, such as those applied in the TLS handshake specified in IETF RFC8446.
[0106] The local-auth-cert can include the following information:
[0107]
[0108] Examples of gNB-selected UE id (local-auth-UE-id) are RAN UE NGAP ID; AMF UE NGAPID; old NG-RAN node UE XnAP ID; new NG-RAN node UE XnAP ID; M-NG-RAN node UE XnAP ID; S-NG-RAN node UE XnAP ID; gNB-CU UE F1AP ID; gNB-DU UE F1AP ID; gNB-CU-CP UE E1AP ID; gNB-CU-UP UE E1AP ID; ng-eNB-CU UE W1AP ID; ng-eNB-DU UE W1AP ID as described in 3GPP TS 38.401 clause 6.2.1. Examples of gNB identifiers are the Local Area Identity according to 3GPP TS 23.003 clause 4.1 concatenated with the unique number of the gNB within that local area, or the Cell Global Identity of one of the cells of the gNB according to 3GPP TS 23.003 clause 4.3.1.
[0109] Figure 1 A message diagram according to some example embodiments of the present invention is shown. The message diagram includes 3 main blocks:
[0110] 1. Primary authentication (i.e., central authentication of ARPF using HN);
[0111] 2. Establish credentials for local authentication; and
[0112] 3. For local authentication at the gNB where the UE requests the creation of credentials for local authentication in main block 2, the UE is locally authenticated by the gNB.
[0113] Figure 1 The message flow is as follows:
[0114] Main Block 1:
[0115] Perform the normal centralized (primary) authentication and establish the NAS and AS security associations. After this step, the UE and gNB authenticate each other by using the key K derived on both sides. RRCint Proper MAC is provided for RRC messages to implicitly authenticate each other and have a security association.
[0116] Main Block 2:
[0117] The UE generates a public / private key pair. Generating a public / private key pair is well within the scope of the UE capabilities, as this is also required for creating the SUCI. The UE stores the private key securely. From a security perspective, a preferred approach is to generate the key pair on the USIM, where the private key never leaves the USIM, but this is not mandatory - it can also be done in the ME. The UE passes the public key to the gNB via secure RRC communication.
[0118] After receiving the UE’s public key, the gNB creates a local-auth-cert as described above and sends it to the UE via secure RRC communication.
[0119] Then, after executing main block 2, the UE may become idle or disconnected and want to connect to the network again. Therefore, the gNB should authenticate the UE again. As another option, the UE should be authenticated again for some other reasons (such as "good security practice" described in the prior art section).
[0120] Main Block 3
[0121] The UE sends a local authentication request message via secure RRC communication. The local authentication request message includes:
[0122] - An encrypted certificate unit. The certificate unit comprises the local authentication certificate received from the gNB in main block 2. According to some example embodiments, the local-auth-cert may be concatenated with a random nonce of reasonable length (e.g. 128 bits). The certificate unit comprises the local-auth-cert or the concatenation. The certificate unit is encrypted based on the gNB's public key to create the encrypted certificate unit. The UE knows the gNB public key as it can retrieve it from the local-auth-cert received from the gNB in main block 2. Preferably, the encryption uses a SUCI scheme based on the gNB public key (i.e. the scheme does not use the HN public key, which is used to create the SUCI from the SUPI, but replaces the HN public key with the gNB public key); and
[0123] - Plain text (unencrypted) gNB-pub-key-id (including at least the gNB identifier and optional key identifier).
[0124] The gNB receives the local authentication request including the encrypted certificate element. Figure 1 In this example, it is assumed that the gNB that receives the local authentication request is also the gNB that created the local-auth-cert included in the certificate element.
[0125] - The gNB sees from the gNB-pub-key-id including the gNB ID that it established the credentials for local authentication in the primary block 2.
[0126] - If the gNB uses multiple public keys and the gNB-pub-key includes a key ID, the gNB sees from the gNB-pub-key-id which public key of the gNB was used by the UE to encrypt the local-auth-cert and (if present) the concatenated UE's random nonce, and decrypts it using the corresponding private key. It then verifies the integrity of the local-auth-cert by checking the signature in the local-auth-cert. This step ensures that the local-auth-cert has not been tampered with (e.g. the UE itself could have manipulated the UE-local-access-policies in other ways). Additionally, it may optionally verify the validity of the local-auth-cert by checking the expiration time.
[0127] If the verification is successful, the gNB and UE may subsequently use each other's public key for any communication with each other. In particular, the gNB may then authenticate the UE and vice versa. An example of a subsequent authentication process is Figure 2For example, the gNB can authenticate by requesting proof of possession of the UE private key from the local-auth-cert that matches the UE public key. Vice versa, the gNB can simply prove possession of the gNB private key by proving that it can decrypt the random number. During this authentication, a symmetric key may also be derived, for example via a Diffie-Hellman (DH) key exchange. This key is like K gNB The gNB is used in the same way to derive traffic encryption and integrity protection keys for subsequent communications between the UE and the gNB. For this key derivation, the random number is used as one of the inputs. When the UE subsequently receives an integrity-protected message from the gNB and can successfully verify the message authentication code (MAC) of the message, it has proof that the gNB can decrypt the random number. In this way, the gNB is authenticated by the UE.
[0128] Optionally, the gNB may authorize the UE to access local services based on the UE-local-access-policies from the local-auth-cert.
[0129] Applying the SUCI scheme in the encryption of the local-auth-cert not only protects sensitive information such as the local-auth-UE-id (which could otherwise be used to track the subscriber locally) or the UE-local-access-policies, but also ensures that this part of the local authentication request is different for each call. Otherwise, the UE could be tracked because an attacker would know if two different local authentication requests were sent by the same UE.
[0130] According to some example embodiments of the present invention, the random number is used here not only to authenticate the gNB, but also to prevent linking attacks by exchanging the current local authentication request of the UE with an old authentication request of a known victim UE. This is the same attack that can be applied to regular SUCI, which is the well-known SUCI replay linking attack, and its mitigation is one of the key issues in 3GPP TR 33.846. The mechanism with random numbers can prevent this attack because if the current local authentication request message is exchanged with an old message, which results in different random values on the UE and gNB side, the local authentication will always fail, and no "linking information" can be obtained by the attacker.
[0131] The use of known algorithms is an advantage of some example embodiments of the present invention. For example, the algorithm used in the TLS handshake between a server with a private / public key pair and a client without such a key pair (which is the case for all HTTPS traffic in the regular WWW) can be applied, which only authenticates one side (the server) and establishes a shared key. Applicable to the present case, this mechanism allows the gNB to authenticate the UE and establish a shared key. In addition to this, some example embodiments of the present invention use a random number mechanism to enable the UE to authenticate the gNB.
[0132] In some example embodiments, instead of or in addition to a random number (which may be created by, for example, collecting some randomness from the radio environment or by a random number generator), the UE may concatenate a sequence number and / or a timestamp with the local authentication credential. That is, in such example embodiments, the sequence number and / or timestamp may be used in the same manner as the random number.
[0133] Concatenating a local authentication certificate and a random number (and / or a sequence number and / or a timestamp) is an example of combining these information elements. As another example, the individual bits may be interleaved according to a scheme known to both the UE and the gNB.
[0134] Figure 3 The message flow is shown for the case where the Local Authentication Request is received not by the gNB that generated the Local Authentication Certificate (the “old gNB” or “first gNB”) but by another gNB (the “new gNB” or “second gNB”). Figure 3 middle, Figure 1 The main block 1 is not shown and is Figure 1 In the main block 2 actions, only the message of the old gNB providing the local-auth-cert to the UE is shown. The new gNB can then authenticate the UE, for example because the UE is in idle mode and wants to reconnect to the new gNB.
[0135] -and Figure 1 As shown in , the UE may optionally select a random number and encrypt the received local-auth-cert with the concatenated random number (if present) to obtain an encrypted certificate unit. For encryption, the UE uses the public key retrieved from the received local-auth-cert, i.e., the public key of the old gNB. It then sends a local authentication request including the encrypted certificate unit to the new gNB.
[0136] - The new gNB sees from the gNB-pub-key-id (i.e. from the gNB ID) which gNB (the “old gNB”) created the local-auth-cert. Note that the gNB-pub-key-id is not encrypted in the local authentication request.
[0137] -When the new gNB can contact the old gNB (e.g., the old gNB is in the same area) using a security association (e.g., Xn protected by IPsec), the new gNB forwards the received encrypted certificate unit (i.e., local-auth-cert and random number) to the old gNB for decryption. The old gNB decrypts the encrypted certificate unit and checks the integrity of the certificate by checking the signature. If successful, it returns at least a subset of the information elements included by the decrypted local-auth-cert and the random number (if present in the certificate unit). The subset of information elements includes at least the public key of the terminal. The old gNB may return the entire decrypted local-auth-cert (including all information elements) and the random number (if present in the certificate unit) to the new gNB.
[0138] - The new gNB now has the information required to perform authentication and key agreement, just like Figure 1 The same is true for the case where the new gNB in the RAN is the same as the old gNB. (The UE can identify that the new gNB is different from the old gNB, but when the new gNB can prove possession of the random number, it means that the new gNB has received it from the old gNB and is therefore in a trust relationship with the old gNB, i.e. it is part of the same RAN and can be trusted by the UE.)
[0139] -and Figure 1 As in the case of local-auth-cert, the gNB may authorize the UE to access local services based on the UE-local-access-policies from the local-auth-cert, if necessary.
[0140] - Either or both the old gNB and the new gNB may check the expiration time, if available in the local authentication certificate. If the expiration time has passed and the old gNB checks it, it shall not provide the certificate element to the new gNB, or it may provide the certificate element to the new gNB, possibly with an indication that the validity of the certificate element has expired. If the expiration time has passed and the new gNB checks it, the information contained in the certificate element is considered invalid and is not used any more.
[0141] - If the new gNB cannot contact the old gNB using security association, local authentication is not possible and the network falls back to centralized authentication.
[0142] Some further aspects according to some example embodiments of the invention are listed:
[0143] Lifetime of the certificate: The choice of the lifecycle is determined by the policy on the network side. It may depend on the capabilities of the UE, e.g. if the UE can use secure hardware to generate and store private keys, it may be longer, if this is not the case, it may be shorter.
[0144] • When the UE successfully authenticates using local authentication, the network may decide to provide new certificates and optionally suggest that the UE discard the old certificates.
[0145] • After local authentication without core network involvement, the UE is apparently not yet reachable for incoming requests via the core network, but can use local services.
[0146] When a UE is connected to a gNB using local authentication, the local authentication credentials include the UE's identifier, and there are still NAS sessions maintained, the UE can resume the previous NAS session and any PDU sessions that are still present (in the user plane, if the gNB has changed, the path must be switched to the new gNB). The AMF may decide to trigger periodic, centralized re-authentication at any time. Some sessions may be resumed automatically without any further indication from the UE. As another option, the UE indicates whether it wishes to resume a session. The UE may also specify which of the previously suspended sessions are to be resumed.
[0147] The UE may support maintaining more than one local authentication certificate in parallel. It may then select one of the local authentication certificates. For example, if not otherwise indicated, it may select the last stored local authentication certificate. In some example embodiments, the UE may store some indication of suitability along with each stored local authentication certificate. For example, the indication of suitability may be related to the geographical location of the UE. The UE may associate each certificate with the geographical location at which the certificate was received, and when attempting to connect to the network using local authentication, it may select the certificate whose associated geographical location best matches the current geographical location. As another option, the indication of suitability may be related to system information broadcasted by the current gNB. A UE holding more than one local-auth-cert may also use information broadcasted by the gNB to find out which local-auth-certs are suitable for local authentication at the current gNB. The indication of suitability may be related to a combination of the geographical location of the UE and the system information.
[0148] The ability for a UE to hold more than one local authority certificate in parallel supports the use case where a subscriber using a smartphone frequently uses one of a set of small gNBs, e.g. when at home or in the office, so most of the authentication runs for this subscriber can be local authentications.
[0149] Local authentication is not limited to the home network, but can also be applied when the UE roams to a foreign access network.
[0150] Instead of the UE generating a private / public key pair, the gNB can create this key pair and pass the private key to the UE along with the local-auth-cert. This variant can be used to keep the computational effort on the UE to a minimum.
[0151] Some example embodiments of the present invention address the scalability and speed issues of centralized authentication mechanisms by providing decentralized, fast local authentication. By allowing local authorization for UE access to local services, the load on the core network can be further reduced, and the edge cloud can continue to operate even if it is isolated from the core network. Naturally, offloading the core network means adding more load on the RAN. For example, by using an edge cloud, the processing resources required in the RAN can be provided in an efficient and scalable manner. On the UE side, the additional required capabilities are negligible, and the computational workload is well within the range required for traditional authentication.
[0152] Figure 4 An apparatus according to an exemplary embodiment of the present invention is shown. The apparatus may be a terminal, such as a UE or an MTC device, or an element thereof. Figure 5 A method according to an exemplary embodiment of the present invention is shown. Figure 4 The device can perform Figure 5 method but not limited to this method. Figure 5 The method can be Figure 4 The present invention is performed by a device, but is not limited to being performed by the device.
[0153] The apparatus includes a component 120 for checking, a component 130 for storing, a component 140 for monitoring, a component 150 for retrieving, a component 160 for encrypting, and a component 170 for sending. The component 120 for checking, the component 130 for storing, the component 140 for monitoring, the component 150 for retrieving, the component 160 for encrypting, and the component 170 for sending may be a checking component, a storage component, a monitoring component, a retrieving component, an encryption component, and a sending component, respectively. The component 120 for checking, the component 130 for storing, the component 140 for monitoring, the component 150 for retrieving, the component 160 for encrypting, and the component 170 for sending may be a checker, a storage device, a monitor, a retriever, an encryption device, and a sender, respectively. The component 120 for checking, the component 130 for storing, the component 140 for monitoring, the component 150 for retrieving, the component 160 for encrypting, and the component 170 for sending may be an checking processor, a storing processor, a monitoring processor, a retrieving processor, an encrypting processor, and a sending processor, respectively.
[0154] The component 120 for checking checks whether the terminal has received a local authentication certificate from the first base station (S120). In order to receive the local authentication certificate by the terminal, the established security association between the terminal and the first base station is used. The local authentication certificate includes a public key of the terminal, a public key of the first base station, and a base station identifier of the first base station. If the terminal receives the local authentication certificate (S120=Yes), the component 130 for storing stores the local authentication certificate (S130).
[0155] Then, the monitoring section 140 monitors whether the terminal is to be authenticated (S140). For example, if the terminal is reconnected to the network, the terminal is to be authenticated. If the terminal is to be authenticated (S140=Yes), S150 to S170 are executed.
[0156] The component 150 for retrieving retrieves the public key and the base station identifier of the first base station from the local authentication certificate (S150). The component 160 for encrypting encrypts the certificate unit with the public key of the first base station (S160). The certificate unit includes the local authentication certificate. Therefore, the component 160 for encrypting creates an encrypted certificate unit. In some example embodiments, the component 160 for encrypting encrypts the local authentication certificate combined with the random number to create an encrypted certificate unit.
[0157] The component 170 for sending sends a request for local authentication of the terminal to the second base station (S170). The second base station may be the same as or different from the first base station. The request for local authentication includes an encryption certificate unit and a base station identifier. The base station identifier is not encrypted in the request for local authentication.
[0158] Figure 6 An apparatus according to an example embodiment of the present invention is shown. The apparatus may be a base station, such as a gNB or an eNB, or an element thereof. Figure 7 A method according to an exemplary embodiment of the present invention is shown. Figure 6 The device can perform Figure 7 method but not limited to this method. Figure 7 The method can be Figure 6 The present invention is performed by a device, but is not limited to being performed by the device.
[0159] The device includes a component 220 for generating, a component 230 for signing, a component 240 for sending, a component 250 for monitoring, a first component 260 for checking, a component 270 for decrypting, a second component 280 for checking, and a component 290 for communicating. The component 220 for generating, the component 230 for signing, the component 240 for sending, the component 250 for monitoring, the first component 260 for checking, the component 270 for decrypting, the second component 280 for checking, and the component 290 for communicating can be a generating component, a signing component, a sending component, a monitoring component, a first checking component, a decrypting component, a second checking component, and a communicating component, respectively. The component 220 for generating, the component 230 for signing, the component 240 for sending, the component 250 for monitoring, the first component 260 for checking, the component 270 for decrypting, the second component 280 for checking, and the component 290 for communicating can be a generator, a signer, a sender, a monitor, a first checker, a decrypter, a second checker, and a communicator, respectively. The component 220 for generating, the component 230 for signing, the component 240 for sending, the component 250 for monitoring, the first component 260 for checking, the component 270 for decrypting, the second component 280 for checking and the component 290 for communicating can be a generation processor, a signature processor, a sending processor, a monitoring processor, a first checking processor, a decryption processor, a second checking processor and a communication processor respectively.
[0160] The component 220 for generating generates a local authentication certificate (S220). The local authentication certificate includes a base station identifier, a public key of the base station, and a public key of the terminal. The component 230 for signing signs the local authentication certificate by signing (S230). The signature is based on the private key of the base station. The private key of the base station belongs to the public key of the base station, that is, the private key of the base station and the public key of the base station are a pair of keys. The component 240 for sending uses the established security association between the base station and the terminal to send the signed local authentication certificate to the terminal (S240).
[0161] Then, the monitoring means 250 monitors whether the base station receives a request for local authentication from the terminal (S250). The request for local authentication includes an encryption certificate unit and a base station identifier. The base station identifier is not encrypted.
[0162] If the base station receives a request for local authentication (S250=Yes), the first component 260 for checking checks whether the received base station identifier is an identifier of the base station (S260). For this check, the first component 260 for checking does not decrypt the received base station identifier. If the received base station identifier is an identifier of the base station (S260=Yes), the component 270 for decrypting decrypts the encrypted certificate unit (S270). For decryption, the component 270 for decrypting uses the private key of the base station. Therefore, the component for decrypting creates a certificate unit.
[0163] The second component 280 for checking checks whether the certificate unit includes a local authentication certificate signed by the signature of S230 (S280). If the certificate unit includes a local authentication certificate signed with the signature (S280=Yes), the component 290 for communicating uses the public key of the terminal for communication with the terminal (S290). For example, the communication may include authenticating the terminal, wherein if the terminal provides proof of the private key of the terminal that possesses the public key of the terminal, it is determined that the terminal has been authenticated.
[0164] Figure 8 An apparatus according to an example embodiment of the present invention is shown. The apparatus may be a base station, such as a gNB or an eNB, or an element thereof. Fig. 9 A method according to an exemplary embodiment of the present invention is shown. Figure 8 The device can perform Fig. 9 method but not limited to this method. Fig. 9 The method can be Figure 8 The present invention is performed by a device, but is not limited to being performed by the device.
[0165] The device includes a component 320 for generating, a component 330 for signing, a component 340 for sending, a component 350 for monitoring, a component 360 for decrypting, a component 370 for checking, and a component 380 for providing. The component 320 for generating, the component 330 for signing, the component 340 for sending, the component 350 for monitoring, the component 360 for decrypting, the component 370 for checking, and the component 380 for providing can be a generating component, a signing component, a sending component, a monitoring component, a decrypting component, a checking component, and a providing component, respectively. The component 320 for generating, the component 330 for signing, the component 340 for sending, the component 350 for monitoring, the component 360 for decrypting, the component 370 for checking, and the component 380 for providing can be a generator, a signer, a sender, a monitor, a decryptor, a checker, and a provider, respectively. The component 320 for generating, the component 330 for signing, the component 340 for sending, the component 350 for monitoring, the component 360 for decrypting, the component 370 for checking, and the component 380 for providing may be a generating processor, a signing processor, a sending processor, a monitoring processor, a decryption processor, a checking processor, and a providing processor, respectively.
[0166] The component 320 for generating generates a local authentication certificate (S320). The local authentication certificate includes multiple information elements, and the multiple information elements include an identifier of the first base station, a public key of the first base station, and a public key of the terminal. The component 330 for signing signs the local authentication certificate by signing (S330). The signature is based on the private key of the first base station. The private key of the first base station belongs to the public key of the first base station, that is, the private key of the first base station and the public key of the first base station are a pair of keys. The component 340 for sending uses the established security association between the first base station and the terminal to send the signed local authentication certificate to the terminal (S340).
[0167] Then, the component 350 for monitoring monitors whether the first base station receives a request to decrypt the encrypted certificate unit (S350). The request is received from the second base station. If the first base station receives a request to decrypt the encrypted local authentication certificate (S350=Yes), the component 360 for decrypting decrypts the encrypted certificate unit (S360). For decryption, the component 360 for decrypting uses the private key of the first base station. Therefore, the component 360 for decrypting creates the certificate unit.
[0168] The component 370 for checking checks whether the certificate unit includes a local authentication certificate signed by the signature of S330 (S370). If the certificate unit includes a local authentication certificate signed by the signature (S370=Yes), the component 380 for providing provides at least a subset of the information elements included by the local authentication certificate unit in response to the received request of S350 (S380). The subset includes at least the public key of the terminal. If the certificate unit does not include a local authentication certificate signed by the signature (S370=No), the component 380 for providing may not provide any information elements included by the local authentication certificate in response to the received request.
[0169] Fig.10 An apparatus according to an example embodiment of the present invention is shown. The apparatus may be a base station, such as a gNB or an eNB, or an element thereof. Fig.11 A method according to an exemplary embodiment of the present invention is shown. Fig.10 The device can perform Fig.11 method but not limited to this method. Fig.11 The method can be Fig.10 The present invention is performed by a device, but is not limited to being performed by the device.
[0170] The apparatus includes a first component 410 for monitoring, a component 420 for checking, a component 430 for identifying, a component 440 for requesting, a second component 450 for monitoring, and a component 460 for communicating. The first component 410 for monitoring, the component 420 for checking, the component 430 for identifying, the component 440 for requesting, the second component 450 for monitoring, and the component 460 for communicating may be a first monitoring component, an checking component, an identifying component, a requesting component, a second monitoring component, and a communicating component, respectively. The first component 410 for monitoring, the component 420 for checking, the component 430 for identifying, the component 440 for requesting, the second component 450 for monitoring, and the component 460 for communicating may be a first monitor, an inspector, an identifier, a requester, a second monitor, and a communicator, respectively. The first component 410 for monitoring, the component 420 for checking, the component 430 for identifying, the component 440 for requesting, the second component 450 for monitoring, and the component 460 for communicating may be respectively a first monitoring processor, an checking processor, an identifying processor, a requesting processor, a second monitoring processor, and a communication processor.
[0171] The first component 410 for monitoring monitors whether the second base station receives a request for local authentication from the terminal (S410). The request for local authentication includes an encryption certificate unit and a base station identifier. The base station identifier is not encrypted.
[0172] If the second base station receives the request for local authentication (S410=Yes), the means 420 for checking checks whether the received base station identifier is the identifier of the second base station (S420). For the checking, the means 420 for checking does not decrypt the received base station identifier.
[0173] If the received base station identifier is not an identifier of the second base station (S420=No), the component 430 for identifying identifies the first base station based on the received base station identifier (S430). The component 440 for requesting requests the first base station to decrypt the received encrypted certificate unit and provide the certificate unit in response to the request to decrypt the received encrypted certificate unit (S440).
[0174] The second component 450 for monitoring monitors whether the public key of the terminal is received from the first base station in response to the request of S440 (S450). If the public key of the terminal is received from the first base station in response to the request of S440 (S450=Yes), the component 460 for communicating uses the public key of the terminal for communication with the terminal (S460). For example, the communication may include authenticating the terminal, wherein if the terminal provides proof of possession of the terminal private key belonging to the terminal public key, it is determined that the terminal has been authenticated.
[0175] Fig.12 An apparatus according to an embodiment of the present invention is shown. The apparatus comprises at least one processor 810, at least one memory 820 comprising computer program code, and the at least one processor 810 together with the at least one memory 820 and the computer program code is arranged to cause the apparatus to at least perform at least Figure 5 , Figure 7 , Fig. 9 or Fig.11 And at least one method described in related detail.
[0176] Technical Terms
[0177] Clause 1. An apparatus comprising means for performing the following operations:
[0178] checking whether the terminal has received a first local authentication certificate from the first base station using an established security association between the terminal and the first base station, wherein the first local authentication certificate includes a public key of the terminal, a public key of the first base station, and a base station identifier of the first base station;
[0179] If the terminal receives the first local authentication certificate, storing the first local authentication certificate;
[0180] monitoring whether the terminal is to be authenticated; and
[0181] If the terminal is to be authenticated:
[0182] retrieving a public key and a base station identifier of the first base station from the first local authentication certificate;
[0183] encrypting the certificate unit with a public key of the first base station to create an encrypted certificate unit, wherein the certificate unit includes the first local authentication certificate; and
[0184] A request for local authentication of the terminal is sent to the second base station, wherein the request for local authentication includes an encryption certificate unit and a base station identifier, and the base station identifier is not encrypted in the request for local authentication.
[0185] Clause 2. The apparatus of clause 1, wherein the local authentication certificate further comprises a key identifier; wherein the component is further configured to perform:
[0186] retrieving a key identifier from the first local authentication certificate; and
[0187] The key identifier is sent in the request for local authentication, wherein the key identifier is not encrypted in the request for local authentication.
[0188] Clause 3. The apparatus of any one of clauses 1 and 2, wherein the component is further configured to perform:
[0189] Select a random number; and at least one of the following:
[0190] using a random number to protect an uplink message from the terminal to the second base station, and the communication includes the uplink message; or
[0191] using a random number to verify a downlink message received from the second base station to the terminal, and the communication includes the downlink message; wherein
[0192] The certificate unit includes a combination of a first local authentication certificate and a random number.
[0193] Clause 4. The apparatus of clause 3, wherein the component is further configured to perform:
[0194] If the downlink message from the second base station to the terminal is verified using the random number, it is determined that the base station has been authenticated.
[0195] Clause 5. The apparatus of clause 4, wherein the component is further configured to perform:
[0196] If a downlink message from the second base station to the terminal is not authenticated using the random number, determining the base station as authenticated is prohibited.
[0197] Clause 6. The apparatus of any one of clauses 1 to 5, wherein the component is further configured to perform:
[0198] generating a pair of a private key of the terminal and a public key of the terminal belonging to the private key of the terminal; and
[0199] Before checking whether the terminal has received the first local authentication certificate using the established security association, a public key of the terminal is sent to the first base station using the established security association.
[0200] Clause 7. An apparatus according to any one of clauses 1 to 6, wherein the component is further configured to perform:
[0201] Before checking whether the terminal has received the first local authentication certificate using the established security association, a pair of a private key of the terminal and a public key of the terminal belonging to the private key of the terminal is received from the first base station using the established security association.
[0202] Clause 8. An apparatus according to any one of clauses 1 to 7, wherein the first local authentication credential comprises an identifier of the terminal, and the component is further configured to perform:
[0203] A request is made to resume the suspended session with the second base station.
[0204] Clause 9. An apparatus according to any one of clauses 1 to 8, wherein the first local authentication credential comprises an identifier of the terminal, and the component is further configured to perform:
[0205] monitoring whether the suspended session with the second base station is available for resumption; and
[0206] If the suspended session is available for resumption, the suspended session is resumed.
[0207] Clause 10. The apparatus of any one of clauses 1 to 9, wherein the component is further configured to perform:
[0208] for each of the plurality of base stations including the first base station, checking whether the terminal has received a corresponding local authentication certificate from the corresponding base station using a corresponding established security association between the terminal and the corresponding base station, wherein the corresponding local authentication certificate includes a corresponding public key of the terminal, a public key of the corresponding base station, and a base station identifier of the corresponding base station;
[0209] If the terminal receives the corresponding local authentication certificate, storing the corresponding local authentication certificate for each of the plurality of base stations; and
[0210] One of the stored multiple local authentication certificates is selected as a first local authentication certificate.
[0211] Clause 11. The apparatus of clause 10, wherein the component is further configured to perform:
[0212] For each of the plurality of base stations, storing such that a corresponding local authentication credential is stored with a corresponding indication of suitability;
[0213] Based on the corresponding applicability indication, one of the stored plurality of local authentication credentials is selected as the first local authentication credential.
[0214] Clause 12. The apparatus of clause 11, wherein the suitability indication is related to at least one of a location of the terminal or system information broadcast by the second base station.
[0215] Clause 13. The apparatus of any of clauses 1 to 12, wherein encrypting the credential unit is based on a subscription hidden identifier encryption scheme.
[0216] Clause 14. The apparatus of any of clauses 1 to 13, wherein the first local authentication credential comprises a policy.
[0217] Clause 15. The apparatus according to any one of clauses 1 to 14, wherein a terminal comprises the apparatus, or the terminal is the apparatus.
[0218] Clause 16. An apparatus comprising means for performing the following operations:
[0219] Generate a local authentication certificate, wherein the local authentication certificate includes a base station identifier, a public key of the base station, and a public key of the terminal;
[0220] The local authentication certificate is signed by signing based on the private key of the base station, wherein the private key of the base station belongs to the public key of the base station;
[0221] sending a signed local authentication certificate to the terminal using an established security association between the base station and the terminal;
[0222] monitoring whether the base station receives a request for local authentication from the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0223] If the base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the base station without decrypting the received base station identifier;
[0224] If the received base station identifier is an identifier of a base station, decrypting the encrypted certificate unit using a private key of the base station to create a certificate unit;
[0225] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0226] If the certificate unit includes a local authentication certificate signed by a signature, the public key of the terminal is used for communication with the terminal.
[0227] Clause 17. The apparatus according to clause 16, wherein
[0228] The local authentication certificate also includes a key identifier;
[0229] The key identifier identifies a public key of the base station; and
[0230] The received request for local authentication includes the received key identifier;
[0231] The component is also configured to perform:
[0232] The encrypted certificate unit is decrypted using the base station's private key belonging to the base station's public key identified by the received key identifier.
[0233] Clause 18. The apparatus of any one of clauses 16 to 17, wherein the component is further configured to perform:
[0234] Retrieving a random number from a certificate element; and at least one of the following:
[0235] protecting a downlink message to the terminal using the random number, wherein the communication includes the downlink message; and
[0236] An uplink message received from a terminal is authenticated using the random number, wherein the communication includes the uplink message.
[0237] Clause 19. An apparatus according to any of clauses 16 to 18, wherein the communication comprises authenticating the terminal, wherein the terminal is determined to be authenticated if the terminal provides proof of possession of the terminal's private key belonging to a public key of the terminal.
[0238] Clause 20. An apparatus according to any one of clauses 16 to 19, wherein the local authentication certificate includes an expiration time; and the component is further configured to perform:
[0239] Check if the expiration time has passed; and
[0240] If the expiration time has passed, the use of the public key of the terminal for communication with the terminal is prohibited.
[0241] Clause 21. An apparatus according to any of clauses 16 to 20, wherein the local authentication credential comprises an identifier of the terminal, and the component is further configured to perform:
[0242] checking whether there is a suspended session with the terminal; and
[0243] If there is a suspended session with the terminal, the suspended session is resumed.
[0244] Clause 22. The apparatus of clause 21, wherein the component is further configured to perform:
[0245] checking whether a request to resume a suspended session with the terminal is received; and
[0246] If no resume request is received, resuming the suspended session is prohibited.
[0247] Clause 23. The apparatus of any one of clauses 16 to 22, wherein the component is further configured to perform:
[0248] A security association is used to receive the endpoint's public key before generating a local authentication certificate.
[0249] Clause 24. The apparatus of any one of clauses 16 to 23, wherein the component is further configured to perform:
[0250] generating a pair of a private key of the terminal and a public key of the terminal belonging to the private key of the terminal; and
[0251] A pair of a private key of the terminal and a public key of the terminal is provided to the terminal using a security association.
[0252] Clause 25. An apparatus as described in any of clauses 16 to 24, wherein the encryption certificate unit is encrypted based on a subscription hidden identifier encryption scheme.
[0253] Clause 26. An apparatus according to any one of clauses 16 to 25, wherein the local authentication certificate includes a policy, and the component is further configured to perform:
[0254] Authorize endpoints to services based on policies.
[0255] Clause 27. The apparatus of any one of clauses 16 to 26, wherein the component is further configured to perform:
[0256] If the certificate unit does not include the local authentication certificate signed by the signature, use of the public key of the terminal for communication with the terminal is prohibited.
[0257] Clause 28. An apparatus comprising means for performing the following operations:
[0258] Generate a local authentication certificate, wherein the local authentication certificate includes a plurality of information elements, the plurality of information elements including an identifier of the first base station, a public key of the first base station, and a public key of the terminal;
[0259] Signing the local authentication certificate based on a private key of the first base station, wherein the private key of the first base station belongs to a public key of the first base station;
[0260] sending the signed local authentication certificate to the terminal using the established security association between the first base station and the terminal;
[0261] monitoring whether the first base station receives a request to decrypt the encryption certificate unit from the second base station;
[0262] If the first base station receives a request to decrypt the encrypted certificate unit, decrypt the encrypted certificate unit using the private key of the first base station to create a certificate unit;
[0263] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0264] If the certificate unit includes a local authentication certificate signed by the signature, at least a subset of information elements included by the local authentication certificate is provided in response to the received request, wherein the subset includes a public key of the terminal.
[0265] Clause 29. The apparatus of clause 28, wherein the information element included with the local authentication credential includes an expiration time, and the component is further configured to perform:
[0266] Check whether the expiration time has passed; and, if the expiration time has passed, do at least one of the following:
[0267] MUST NOT provide a subset of the information elements included in the local authentication certificate; or
[0268] In response to receiving the request, an indication is provided that the expiration time has passed.
[0269] Clause 30. The device according to any one of clauses 28 and 29, wherein
[0270] The information elements included by the local authentication certificate additionally include a key identifier;
[0271] The key identifier identifies a public key of the first base station;
[0272] The received request to decrypt the encrypted certificate unit includes the received key identifier;
[0273] The component is also configured to perform:
[0274] The encrypted certificate unit is decrypted using the private key belonging to the public key identified by the received key identifier.
[0275] Clause 31. An apparatus according to any one of clauses 28 to 30, wherein the credential unit includes a random number in addition to the local authentication credential, and the component is further configured to perform:
[0276] If the credential unit includes a random number, the random number is provided in response to the received request.
[0277] Clause 32. The apparatus of any one of clauses 28 to 31, wherein the component is further configured to perform:
[0278] If the certificate unit does not include a local authentication certificate signed by the signature, providing at least a subset of the information elements included by the local authentication certificate is prohibited.
[0279] Clause 33. The apparatus of any one of clauses 28 to 32, wherein the component is further configured to perform:
[0280] A security association is used to receive the endpoint's public key before generating a local authentication certificate.
[0281] Clause 34. The apparatus of any one of clauses 28 to 33, wherein the component is further configured to perform:
[0282] generating a pair of a private key of the terminal and a public key of the terminal belonging to the private key of the terminal;
[0283] A pair of a private key of the terminal and a public key of the terminal is provided to the terminal using a security association.
[0284] Clause 35. An apparatus as described in any of clauses 28 to 34, wherein the encryption certificate unit is encrypted based on a subscription hidden identifier encryption scheme.
[0285] Clause 36. An apparatus as described in any of clauses 28 to 35, wherein the information element included by the local authentication certificate is a policy, and the subset of the information elements includes the policy.
[0286] Clause 37. An apparatus as described in any of clauses 16 to 36, wherein the first base station comprises the apparatus, or the first base station is the apparatus.
[0287] Clause 38. An apparatus comprising means for performing the following operations:
[0288] monitoring whether the second base station receives a request for local authentication of the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0289] If the second base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the second base station without decrypting the received base station identifier;
[0290] if the received base station identifier is not an identifier of the second base station, identifying the first base station based on the received base station identifier;
[0291] requesting the first base station to decrypt the received encrypted certificate unit and provide the certificate unit as a response;
[0292] monitoring whether a public key of the terminal is received from the first base station in response to the request; and
[0293] If the public key of the terminal is received, the public key of the terminal is used for communication with the terminal.
[0294] Clause 39. The apparatus of clause 38, wherein the component is further configured to perform:
[0295] monitoring whether a random number is received from the first base station in response to the request; and
[0296] If the random number is received, using the random number to protect a downlink message to the terminal, wherein the communication includes the downlink message; and
[0297] If a random number is received, the random number is used to authenticate an uplink message received from the terminal, wherein the communication includes the uplink message.
[0298] Clause 40. An apparatus according to any of clauses 38 and 39, wherein the communication comprises authenticating the terminal, wherein the terminal is determined to be authenticated if the terminal provides proof of possession of a private key of the terminal belonging to a public key of the terminal.
[0299] Clause 41. The apparatus of any one of clauses 38 to 40, wherein the component is further configured to perform:
[0300] monitoring whether an expiration time is received from the first base station in response to the request;
[0301] If an expiration time is received, checking whether the expiration time has passed; and
[0302] If the expiration time has passed, the use of the public key of the terminal for communication with the terminal is prohibited.
[0303] Clause 42. The apparatus of any one of clauses 38 to 41, wherein the component is further configured to perform:
[0304] monitoring whether an identifier of the terminal is received from the first base station in response to the request;
[0305] If the identifier is received, checking whether there is a suspended session with the terminal; and
[0306] If there is a suspended session with the terminal, the suspended session is resumed.
[0307] Clause 43. The apparatus of clause 42, wherein the component is further configured to perform:
[0308] checking whether a request to resume a suspended session with the terminal is received; and
[0309] If no resume request is received, resuming the suspended session is prohibited.
[0310] Clause 44. The apparatus of any one of clauses 38 to 43, wherein the component is further configured to perform:
[0311] monitoring whether a policy is received from the first base station in response to the request;
[0312] If a policy is received, the terminal is authorized to the service based on the policy.
[0313] Clause 45. The apparatus of any one of clauses 38 to 44, wherein the component is further configured to perform:
[0314] If an indication is received in response to the request that the certificate element is invalid, use of the public key of the terminal for communicating with the terminal is prohibited.
[0315] Clause 46. An apparatus as described in any of clauses 38 to 45, wherein the second base station comprises the apparatus, or the second base station is the apparatus.
[0316] Clause 47. An apparatus according to any one of clauses 1 to 46, wherein the component comprises at least one processor; at least one memory comprising computer program code, the at least one memory and the computer program code being configured to, together with the at least one processor, cause execution of the apparatus.
[0317] Clause 48. A method comprising:
[0318] checking whether the terminal has received a first local authentication certificate from the first base station using an established security association between the terminal and the first base station, wherein the first local authentication certificate includes a public key of the terminal, a public key of the first base station, and a base station identifier of the first base station;
[0319] If the terminal receives the first local authentication certificate, storing the first local authentication certificate;
[0320] monitoring whether the terminal is to be authenticated; and
[0321] If the terminal is to be authenticated:
[0322] retrieving a public key and a base station identifier of the first base station from the first local authentication certificate;
[0323] encrypting the certificate unit with a public key of the first base station to create an encrypted certificate unit, wherein the certificate unit includes a first local authentication certificate; and
[0324] A request for local authentication of the terminal is sent to the second base station, wherein the request for local authentication includes an encryption certificate unit and a base station identifier, and the base station identifier is not encrypted in the request for local authentication.
[0325] Clause 49. The method of clause 48, wherein the local authentication certificate additionally includes a key identifier; wherein the method further comprises:
[0326] retrieving a key identifier from the first local authentication certificate; and
[0327] The key identifier is sent in the request for local authentication, wherein the key identifier is not encrypted in the request for local authentication.
[0328] Clause 50. The method according to any one of clauses 48 and 49, wherein the method further comprises:
[0329] Select a random number; and at least one of the following:
[0330] using a random number to protect an uplink message from the terminal to the second base station, and the communication includes the uplink message; or
[0331] using a random number to verify a downlink message received from the second base station to the terminal, and the communication includes the downlink message; wherein
[0332] The certificate unit includes a combination of a first local authentication certificate and a random number.
[0333] Clause 51. The method according to clause 50, wherein the method further comprises:
[0334] If the downlink message from the second base station to the terminal is verified using the random number, it is determined that the base station has been authenticated.
[0335] Clause 52. The method according to clause 51, wherein the method further comprises:
[0336] If the downlink message from the second base station to the terminal is not authenticated using the random number, it is prohibited to determine the base station as authenticated.
[0337] Clause 53. The method according to any one of clauses 48 to 52, wherein the method further comprises:
[0338] generating a pair of a private key of the terminal and a public key of the terminal belonging to the private key of the terminal; and
[0339] Before checking whether the terminal has received the first local authentication certificate using the established security association, a public key of the terminal is sent to the first base station using the established security association.
[0340] Clause 54. A method according to any one of clauses 48 to 53, wherein the method further comprises:
[0341] Before checking whether the terminal has received the first local authentication certificate using the established security association, a pair of a private key of the terminal and a public key of the terminal belonging to the private key of the terminal is received from the first base station using the established security association.
[0342] Clause 55. A method according to any one of clauses 48 to 54, wherein the first local authentication credential comprises an identifier of the terminal, and the method further comprises:
[0343] A request is made to resume the suspended session with the second base station.
[0344] Clause 56. A method according to any one of clauses 48 to 55, wherein the first local authentication certificate comprises an identifier of the terminal, and the method further comprises:
[0345] monitoring whether the suspended session with the second base station is available for resumption; and
[0346] If the suspended session is available for resumption, the suspended session is resumed.
[0347] Clause 57. The method according to any one of clauses 48 to 56, wherein the method further comprises:
[0348] for each of the plurality of base stations including the first base station, checking whether the terminal has received a corresponding local authentication certificate from the corresponding base station using a corresponding established security association between the terminal and the corresponding base station, wherein the corresponding local authentication certificate includes a corresponding public key of the terminal, a public key of the corresponding base station, and a base station identifier of the corresponding base station;
[0349] If the terminal receives the corresponding local authentication certificate, storing the corresponding local authentication certificate for each of the plurality of base stations; and
[0350] One of the stored multiple local authentication certificates is selected as a first local authentication certificate.
[0351] Clause 58. The method according to clause 57, wherein the method further comprises:
[0352] For each of the plurality of base stations, storing such that a corresponding local authentication credential is stored with a corresponding indication of suitability;
[0353] Based on the corresponding applicability indication, one of the stored plurality of local authentication credentials is selected as the first local authentication credential.
[0354] Clause 59. The method of clause 58, wherein the suitability indication is related to at least one of a location of the terminal or system information broadcast by the second base station.
[0355] Clause 60. The method of any one of clauses 48 to 59, wherein encrypting the certificate unit is based on a subscription hidden identifier encryption scheme.
[0356] Clause 61. A method as described in any of clauses 48 to 60, wherein the first local authentication certificate includes a policy.
[0357] Clause 62. A method comprising:
[0358] Generate a local authentication certificate, wherein the local authentication certificate includes a base station identifier, a public key of the base station, and a public key of the terminal;
[0359] The local authentication certificate is signed by signing based on the private key of the base station, wherein the private key of the base station belongs to the public key of the base station;
[0360] sending a signed local authentication certificate to the terminal using an established security association between the base station and the terminal;
[0361] monitoring whether the base station receives a request for local authentication from the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0362] If the base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the base station without decrypting the received base station identifier;
[0363] If the received base station identifier is an identifier of a base station, decrypting the encrypted certificate unit using a private key of the base station to create a certificate unit;
[0364] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0365] If the certificate unit includes a local authentication certificate signed by a signature, the public key of the terminal is used for communication with the terminal.
[0366] Clause 63. The method according to clause 62, wherein
[0367] The local authentication certificate additionally includes a key identifier;
[0368] The key identifier identifies a public key of the base station; and
[0369] The received request for local authentication includes the received key identifier;
[0370] The component is also configured to perform:
[0371] The encrypted certificate unit is decrypted using the base station's private key belonging to the base station's public key identified by the received key identifier.
[0372] Clause 64. The method according to any one of clauses 62 to 63, wherein the method further comprises:
[0373] Retrieving a random number from a certificate unit; and at least one of:
[0374] protecting a downlink message to the terminal using the random number, wherein the communication includes the downlink message; and
[0375] An uplink message received from a terminal is authenticated using the random number, wherein the communication includes the uplink message.
[0376] Clause 65. A method according to any one of clauses 62 to 64, wherein the communication comprises authenticating the terminal, wherein the terminal is determined to be authenticated if the terminal provides proof of possession of the terminal's private key belonging to a public key of the terminal.
[0377] Clause 66. A method according to any one of clauses 62 to 65, wherein the local authentication certificate includes an expiration time; and the method further comprises:
[0378] Check if the expiration time has passed; and
[0379] If the expiration time has passed, the use of the public key of the terminal for communication with the terminal is prohibited.
[0380] Clause 67. A method according to any one of clauses 62 to 66, wherein the local authentication certificate includes an identifier of the terminal, and the method further comprises:
[0381] checking whether there is a suspended session with the terminal; and
[0382] If there is a suspended session with the terminal, the suspended session is resumed.
[0383] Clause 68. The method according to clause 67, wherein the method further comprises:
[0384] checking whether a request to resume a suspended session with the terminal is received; and
[0385] If no resume request is received, resuming the suspended session is prohibited.
[0386] Clause 69. The method according to any one of clauses 62 to 68, wherein the method further comprises:
[0387] A security association is used to receive the endpoint's public key before generating a local authentication certificate.
[0388] Clause 70. The method according to any one of clauses 62 to 69, wherein the method further comprises:
[0389] generating a pair of a private key of the terminal and a public key of the terminal belonging to the private key of the terminal; and
[0390] A pair of a private key of the terminal and a public key of the terminal is provided to the terminal using a security association.
[0391] Clause 71. A method according to any one of clauses 62 to 70, wherein the encryption certificate unit is encrypted based on a subscription hidden identifier encryption scheme.
[0392] Clause 72. A method according to any one of clauses 62 to 71, wherein the local authentication certificate includes a policy, and the method further comprises:
[0393] Authorize endpoints to services based on policies.
[0394] Clause 73. The method according to any one of clauses 62 to 72, wherein the method further comprises:
[0395] If the certificate unit does not include the local authentication certificate signed by the signature, use of the public key of the terminal for communication with the terminal is prohibited.
[0396] Clause 74. A method comprising:
[0397] Generate a local authentication certificate, wherein the local authentication certificate includes a plurality of information elements, the plurality of information elements including an identifier of the first base station, a public key of the first base station, and a public key of the terminal;
[0398] Signing the local authentication certificate with a signature based on a private key of the first base station, wherein the private key of the first base station belongs to a public key of the first base station;
[0399] sending the signed local authentication certificate to the terminal using the established security association between the first base station and the terminal;
[0400] monitoring whether the first base station receives a request to decrypt the encryption certificate unit from the second base station;
[0401] If the first base station receives a request to decrypt the encrypted certificate unit, decrypt the encrypted certificate unit using the private key of the first base station to create a certificate unit;
[0402] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0403] If the certificate unit comprises a local authentication certificate signed by the signature, at least a subset of the information elements comprised by the local authentication certificate is provided in response to the received request, wherein the subset comprises a public key of the terminal.
[0404] Clause 75. The method of clause 74, wherein the information element included by the local authentication certificate includes an expiration time, and the method further comprises:
[0405] Check whether the expiration time has passed; and, if the expiration time has passed, do at least one of the following:
[0406] MUST NOT provide a subset of the information elements included in the local authentication certificate; or
[0407] In response to receiving the request, an indication is provided that the expiration time has passed.
[0408] Clause 76. A method according to any one of clauses 74 and 75, wherein
[0409] The information elements included by the local authentication certificate additionally include a key identifier;
[0410] The key identifier identifies a public key of the first base station;
[0411] The received request to decrypt the encrypted certificate unit includes the received key identifier;
[0412] The method further comprises:
[0413] The encrypted certificate unit is decrypted using the private key belonging to the public key identified by the received key identifier.
[0414] Clause 77. A method according to any one of clauses 74 to 76, wherein the credential unit includes a random number in addition to the local authentication credential; and the component is further configured to perform:
[0415] If the credential unit includes a random number, the random number is provided in response to the received request.
[0416] Clause 78. The method according to any one of clauses 74 to 77, wherein the method further comprises:
[0417] If the certificate unit does not include a local authentication certificate signed by the signature, providing at least a subset of the information elements included by the local authentication certificate is prohibited.
[0418] Clause 79. The method according to any one of clauses 74 to 78, wherein the method further comprises:
[0419] A security association is used to receive the endpoint's public key before generating a local authentication certificate.
[0420] Clause 80. The method according to any one of clauses 74 to 79, wherein the method further comprises:
[0421] generating a pair of a private key of the terminal and a public key of the terminal belonging to the private key of the terminal;
[0422] A pair of a private key of the terminal and a public key of the terminal is provided to the terminal using a security association.
[0423] Clause 81. A method according to any one of clauses 74 to 80, wherein the encryption certificate unit is encrypted based on a subscription hidden identifier encryption scheme.
[0424] Clause 82. A method as described in any of clauses 74 to 81, wherein the information element included by the local authentication certificate is a policy, and the subset of the information elements includes the policy.
[0425] Clause 83. A method comprising:
[0426] monitoring whether the second base station receives a request for local authentication of the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0427] If the second base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the second base station without decrypting the received base station identifier;
[0428] if the received base station identifier is not an identifier of the second base station, identifying the first base station based on the received base station identifier;
[0429] requesting the first base station to decrypt the received encrypted certificate unit and provide the certificate unit as a response;
[0430] monitoring whether a public key of the terminal is received from the first base station in response to the request; and
[0431] If the public key of the terminal is received, the public key of the terminal is used for communication with the terminal.
[0432] Clause 84. The method according to clause 83, wherein the method further comprises:
[0433] monitoring whether a random number is received from the first base station in response to the request; and at least one of:
[0434] If the random number is received, using the random number to protect a downlink message to the terminal, wherein the communication includes the downlink message; and
[0435] If a random number is received, the random number is used to authenticate an uplink message received from the terminal, wherein the communication includes the uplink message.
[0436] Clause 85. A method according to any one of clauses 83 and 84, wherein the communication comprises authenticating the terminal, wherein the terminal is determined to be authenticated if the terminal provides proof of possession of the terminal's private key belonging to a public key of the terminal.
[0437] Clause 86. The method according to any one of clauses 83 to 85, wherein the method further comprises:
[0438] monitoring whether an expiration time is received from the first base station in response to the request;
[0439] If an expiration time is received, checking whether the expiration time has passed; and
[0440] If the expiration time has passed, the use of the public key of the terminal for communication with the terminal is prohibited.
[0441] Clause 87. The method according to any one of clauses 83 to 86, wherein the method further comprises:
[0442] monitoring whether an identifier of the terminal is received from the first base station in response to the request;
[0443] If the identifier is received, checking whether there is a suspended session with the terminal; and
[0444] If there is a suspended session with the terminal, the suspended session is resumed.
[0445] Clause 88. The method according to clause 87, wherein the method further comprises:
[0446] checking whether a request to resume a suspended session with the terminal is received; and
[0447] If no resume request is received, resuming the suspended session is prohibited.
[0448] Clause 89. The method according to any one of clauses 83 to 88, wherein the method further comprises:
[0449] monitoring whether a policy is received from the first base station in response to the request;
[0450] If a policy is received, the terminal is authorized to the service based on the policy.
[0451] Clause 90. The method according to any one of clauses 83 to 89, wherein the method further comprises:
[0452] If an indication is received in response to the request that the certificate element is invalid, use of the public key of the terminal for communicating with the terminal is prohibited.
[0453] Clause 91. A computer-readable medium comprising instructions for causing an apparatus to at least:
[0454] checking whether the terminal has received a first local authentication certificate from the first base station using an established security association between the terminal and the first base station, wherein the first local authentication certificate includes a public key of the terminal, a public key of the first base station, and a base station identifier of the first base station;
[0455] If the terminal receives the first local authentication certificate, storing the first local authentication certificate;
[0456] monitoring whether the terminal is to be authenticated; and
[0457] If the terminal is to be authenticated:
[0458] retrieving a public key and a base station identifier of the first base station from the first local authentication certificate;
[0459] encrypting the certificate unit with a public key of the first base station to create an encrypted certificate unit, wherein the certificate unit includes a first local authentication certificate; and
[0460] A request for local authentication of the terminal is sent to the second base station, wherein the request for local authentication includes an encryption certificate unit and a base station identifier, and the base station identifier is not encrypted in the request for local authentication.
[0461] Clause 92. A computer-readable medium comprising instructions for causing an apparatus to at least:
[0462] Generate a local authentication certificate, wherein the local authentication certificate includes a base station identifier, a public key of the base station, and a public key of the terminal;
[0463] The local authentication certificate is signed by signing based on the private key of the base station, wherein the private key of the base station belongs to the public key of the base station;
[0464] sending a signed local authentication certificate to the terminal using an established security association between the base station and the terminal;
[0465] monitoring whether the base station receives a request for local authentication from the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0466] If the base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the base station without decrypting the received base station identifier;
[0467] If the received base station identifier is an identifier of a base station, decrypting the encrypted certificate unit using a private key of the base station to create a certificate unit;
[0468] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0469] If the certificate unit includes a local authentication certificate signed by a signature, the public key of the terminal is used for communication with the terminal.
[0470] Clause 93. A computer-readable medium comprising instructions for causing an apparatus to at least:
[0471] Generate a local authentication certificate, wherein the local authentication certificate includes a plurality of information elements, the plurality of information elements including an identifier of the first base station, a public key of the first base station, and a public key of the terminal;
[0472] Signing the local authentication certificate based on a private key of the first base station, wherein the private key of the first base station belongs to a public key of the first base station;
[0473] sending the signed local authentication certificate to the terminal using the established security association between the first base station and the terminal;
[0474] monitoring whether the first base station receives a request to decrypt the encryption certificate unit from the second base station;
[0475] If the first base station receives a request to decrypt the encrypted certificate unit, decrypt the encrypted certificate unit using the private key of the first base station to create a certificate unit;
[0476] checking whether the certificate element includes a local certification certificate signed by the signature; and
[0477] If the certificate unit comprises a local authentication certificate signed by the signature, at least a subset of the information elements comprised by the local authentication certificate is responded to in response to the received request, wherein the subset comprises the public key of the terminal.
[0478] Clause 94. A computer-readable medium comprising instructions for causing an apparatus to at least:
[0479] monitoring whether the second base station receives a request for local authentication of the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier;
[0480] If the second base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the second base station without decrypting the received base station identifier;
[0481] if the received base station identifier is not an identifier of the second base station, identifying the first base station based on the received base station identifier;
[0482] requesting the first base station to decrypt the received encrypted certificate unit and provide the certificate unit as a response;
[0483] monitoring whether a public key of the terminal is received from the first base station in response to the request; and
[0484] If the public key of the terminal is received, the public key of the terminal is used for communication with the terminal.
[0485] The encryption / decryption of local authentication certificates and certificate units is independent of the encryption / decryption associated with the security association. Typically, the encryption / decryption of the former involves a higher layer than the encryption / decryption of the latter.
[0486] Some example embodiments are explained with respect to 6G networks. However, the present invention is not limited to 6G. It can also be used in other radio networks, for example in previous or upcoming generations of 3GPP networks, such as 4G, 5G or 7G, etc. It can be used in non-3GPP mobile communication networks that provide authentication.
[0487] A piece of information can be transferred from one entity to another in one or more messages. Each of these messages can include more (different) information.
[0488] The names of network elements, network functions, protocols and methods are based on current standards. In other versions or other technologies, the names of these network elements and / or network functions and / or protocols and / or methods may be different, as long as they provide corresponding functionality.
[0489] If not otherwise stated or clear from the context, the statement that two entities are different means that they perform different functions. This does not necessarily mean that they are based on different hardware. That is, each entity described in this specification can be based on different hardware, or some or all entities can be based on the same hardware. This does not necessarily mean that they are based on different software. That is, each entity described in this specification can be based on different software, or some or all entities can be based on the same software. Each entity described in this specification can be deployed in the cloud.
[0490] From the above description, it should be apparent that the exemplary embodiments of the present invention provide, for example, a terminal (such as a UE or an MTC device) or a component thereof, an apparatus embodying them, a method for controlling and / or operating them, and (multiple) computer programs for controlling and / or operating them, as well as a medium carrying (multiple) such computer programs and forming (multiple) computer program products. From the above description, it should be apparent that the exemplary embodiments of the present invention provide, for example, a base station (such as a gNB or an eNB) or a component thereof, an apparatus embodying them, a method for controlling and / or operating them, and (multiple) computer programs for controlling and / or operating them, as well as a medium carrying (multiple) such computer programs and forming (multiple) computer program products.
[0491] As non-limiting examples, implementations of any of the above blocks, devices, systems, techniques, or methods include implementations as hardware, software, firmware, dedicated circuits or logic, general purpose hardware or controllers or other computing devices, or some combination thereof. Each entity described in this specification may be embodied in the cloud.
[0492] It should be understood that the above description is what is currently considered to be an example embodiment of the present invention. However, it should be noted that the description of the example embodiment is given by way of example only, and various modifications can be made without departing from the scope of the present invention as defined by the appended claims.
[0493] The expression “at least one of A or B” in this document means A, or B, or both A and B.
Claims
1. An apparatus for communication, comprising means for performing the following operations: checking whether the terminal has received a first local authentication certificate from a first base station using an established security association between the terminal and the first base station, wherein the first local authentication certificate comprises a public key of the terminal, a public key of the first base station and a base station identifier of the first base station; If the terminal receives the first local authentication certificate, storing the first local authentication certificate; monitoring whether the terminal is to be authenticated; as well as If the terminal is to be authenticated: retrieving the public key and the base station identifier of the first base station from the first local authentication certificate; encrypting a certificate unit with the public key of the first base station to create an encrypted certificate unit, wherein the certificate unit includes the first local authentication certificate; as well as A request for local authentication of the terminal is sent to a second base station, wherein the request for local authentication includes the encryption certificate unit and the base station identifier, and the base station identifier is not encrypted in the request for local authentication.
2. The apparatus of claim 1 , wherein the local authentication certificate further comprises a key identifier; wherein the component is further configured to perform: retrieving the key identifier from the first local authentication certificate; and The key identifier is sent in the request for local authentication, wherein the key identifier is not encrypted in the request for local authentication.
3. The apparatus according to any one of claims 1 and 2, wherein the component is further configured to perform: Select random number ; And at least one of the following: using the random number to protect an uplink message from the terminal to the second base station, and the communication with the second base station includes the uplink message; or using the random number to verify a downlink message received from the second base station to the terminal, wherein the communication includes the downlink message; in The certificate unit includes a combination of the first local authentication certificate and the random number.
4. The apparatus of claim 3, wherein the component is further configured to perform: If the downlink message from the second base station to the terminal is verified using the random number, it is determined that the base station has been authenticated.
5. The apparatus according to any one of claims 1 to 2, wherein the component is further configured to perform: generating a pair of a private key of the terminal and the public key of the terminal belonging to the private key of the terminal; and Before checking whether the terminal has received the first local authentication certificate using the established security association, the public key of the terminal is sent to the first base station using the established security association.
6. The apparatus according to any one of claims 1 to 2, wherein the component is further configured to perform: for each of a plurality of base stations including the first base station, checking whether the terminal has received a corresponding local authentication certificate from the corresponding base station using a corresponding established security association between the terminal and the corresponding base station, wherein the corresponding local authentication certificate comprises a corresponding public key of the terminal, a public key of the corresponding base station and a base station identifier of the corresponding base station; If the terminal receives the corresponding local authentication certificate, storing the corresponding local authentication certificate for each of the plurality of base stations; as well as One of the stored local authentication certificates is selected as the first local authentication certificate.
7. An apparatus for communication, comprising means for performing the following operations: Generate a local authentication certificate, wherein the local authentication certificate includes a base station identifier, a public key of the base station, and a public key of the terminal; Signing the local authentication certificate by signing based on a private key of the base station, wherein the private key of the base station belongs to the public key of the base station; sending a signed local authentication certificate to the terminal using an established security association between the base station and the terminal; monitoring whether the base station receives a request for local authentication of the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier; If the base station receives the request for local authentication, checking whether the received base station identifier is the identifier of the base station without decrypting the received base station identifier; If the received base station identifier is the identifier of the base station, decrypting the encrypted certificate unit using the private key of the base station to create a certificate unit; checking whether the certificate unit includes the local authentication certificate signed by the signature; as well as If the certificate unit includes the local authentication certificate signed by the signature, the public key of the terminal is used for communication with the terminal.
8. The device according to claim 7, wherein The local authentication certificate additionally includes a key identifier; The key identifier identifies the public key of the base station; and The received request for local authentication includes a received key identifier; The component is further configured to perform: The encrypted certificate unit is decrypted using the private key of the base station belonging to the public key of the base station identified by the received key identifier.
9. The apparatus according to any one of claims 7 to 8, wherein the component is further configured to perform: retrieving a random number from the credential unit; and at least one of: protecting a downlink message to the terminal using the random number, wherein the communication comprises the downlink message; and An uplink message received from the terminal is authenticated using the random number, wherein the communication includes the uplink message.
10. The apparatus according to any one of claims 7 to 8, wherein the component is further configured to perform: Prior to generating the local authentication certificate, the public key of the terminal is received using the security association.
11. The apparatus according to any one of claims 7 to 8, wherein the local authentication certificate includes a policy, and the component is further configured to perform: The terminal is authorized to a service based on the policy.
12. An apparatus for communication, comprising means for performing the following operations: Generate a local authentication certificate, wherein the local authentication certificate includes a plurality of information elements, the plurality of information elements including an identifier of the first base station, a public key of the first base station, and a public key of the terminal; Signing the local authentication certificate by signing based on a private key of the first base station, wherein the private key of the first base station belongs to the public key of the first base station; Using the established security association between the first base station and the terminal, sending a signed local authentication certificate to the terminal; monitoring whether the first base station receives a request to decrypt the encryption certificate unit from the second base station; If the first base station receives the request to decrypt the encrypted certificate unit, decrypt the encrypted certificate unit using the private key of the first base station to create a certificate unit; checking whether the certificate unit includes the local authentication certificate signed by the signature; as well as If the certificate unit comprises the local authentication certificate signed by the signature, at least a subset of the information elements comprised by the local authentication certificate is provided in response to the received request, wherein the subset comprises the public key of the terminal.
13. The device according to claim 12, wherein said information element comprised by said local authentication certificate further comprising a key identifier; The key identifier identifies the public key of the first base station; The received request to decrypt the encryption certificate unit includes a received key identifier; The component is further configured to perform: The encrypted certificate unit is decrypted using the private key belonging to the public key identified by the received key identifier.
14. The apparatus according to any one of claims 12 to 13, wherein the credential unit further comprises a random number in addition to the local authentication credential, and the component is further configured to perform: If the credential unit includes the random number, the random number is provided in response to the received request.
15. An apparatus for communication, comprising means for performing the following operations: monitoring whether the second base station receives a request for local authentication from the terminal, wherein the request for local authentication includes an encryption certificate unit and a base station identifier; If the second base station receives the request for local authentication, checking whether the received base station identifier is an identifier of the second base station without decrypting the received base station identifier; identifying a first base station based on the received base station identifier if the received base station identifier is not the identifier of the second base station; requesting the first base station to decrypt the received encrypted certificate unit and provide the certificate unit as a response; monitoring whether a public key of the terminal is received from the first base station in response to the request; as well as If the public key of the terminal is received, the public key of the terminal is used for communication with the terminal.
16. The apparatus of claim 15, wherein the component is further configured to perform: monitoring whether a random number is received from the first base station in response to the request; and If the random number is received, using the random number to protect a downlink message to the terminal, wherein the communication includes the downlink message; and If the random number is received, the random number is used to verify an uplink message received from the terminal, wherein the communication includes the uplink message.
17. The apparatus according to any one of claims 15 to 16, wherein the component is further configured to perform: monitoring whether a policy is received from the first base station in response to the request; If the policy is received, the terminal is authorized to the service based on the policy.
18. An apparatus according to any one of claims 1 to 17, wherein the component comprises at least one processor; at least one memory comprising computer program code, the at least one memory and the computer program code being configured to, together with the at least one processor, cause execution of the component.
