Information processing apparatus and method for controlling the same, and program
The information processing device secures cryptographic communication by acquiring and updating root certificates using encrypted communication, addressing the challenge of non-encrypted network environments.
Patent Information
- Application Number
- JP2024013310
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-17
- Filing Date
- 2024-01-31
- Publication Date
- 2024-08-29
AI Technical Summary
Existing information processing devices, such as printers and digital cameras, cannot obtain root certificates for cryptographic communication in network environments where non-encrypted communication is not permitted, preventing the use of encrypted communication with servers.
The device acquires root certificates from an external server using encrypted communication, allowing it to update and store these certificates in non-volatile memory or RAM, enabling encrypted communication with both the root certificate server and content servers.
Enables the secure acquisition and updating of root certificates even in environments that restrict non-encrypted communication, ensuring secure cryptographic communication with servers.
Smart Images

Figure 2024117729000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, a control method thereof, and a program. [Background technology]
[0002] Information processing devices such as printers, digital still cameras, and portable music players are now equipped with a function for connecting to the Internet themselves. Therefore, in order to ensure the security of the devices by using encrypted communications such as SSL (Secure Socket Layer), it is becoming necessary to install electronic certificates, which were previously only available for computers, in such information processing devices.
[0003] Digital certificates are used, for example, to verify the validity of digital signatures, and are generally issued by a trusted third-party certification organization (called a certification authority). By using an issued digital certificate, it is possible, for example, to prove that the server you are trying to access is capable of encrypted communication, or to prove that the provider of a website actually exists.
[0004] In addition, there exists a type of electronic certificate called a root certificate, which is signed and issued by the certification authority itself to prove its legitimacy. Usually, when performing encrypted communication, a web browser, a network controller, etc., holds a root certificate issued by the certification authority in advance. When communicating with a website (web server), first, it is checked whether the server certificate sent from the website (web server) is legitimate or not. When checking the legitimacy of a server certificate, it is first determined whether the server certificate issued by the certification authority is legitimate or not. If the server certificate is legitimate, it is then checked whether the certification authority itself is trustworthy. At this time, if a user holds in advance a root certificate digitally signed by the certification authority, the website (web server) can be considered to be trustworthy. Note that the root certificate and server certificate usually have an expiration date. Therefore, there is a technology for performing such certificate renewal work (see Patent Document 1).
[0005] There is also a technology in which updated firmware has root certificate data and the root certificate is updated together with the firmware update (see Patent Document 2). [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2006-239930 A [Patent Document 2] JP 2008-129788 A Summary of the Invention [Problem to be solved by the invention]
[0007] Therefore, if an information processing device such as a printer, digital still camera, or portable music player itself is compatible with encrypted communication on the Internet, it is necessary to have a function for acquiring a root certificate and realizing an update process, as in Patent Document 1. However, in the technology described in Patent Document 1, when acquiring a root certificate, encrypted communication using a root certificate cannot be used for communication between the information processing device and the server device from which the root certificate is acquired. Therefore, in a network environment in which communication that is not encrypted is not permitted, communication between the information processing device and the server device from which the root certificate is acquired cannot be performed, and therefore the root certificate cannot be acquired.
[0008] The present invention has been made to solve the above-mentioned problem, and aims to provide a technology that enables a root certificate to be obtained from an external device even in a network environment where non-encrypted communication is not permitted. [Means for solving the problem]
[0009] In order to achieve the above object, an information processing device according to one aspect of the present invention has the following configuration. a first acquisition means for acquiring a first root certificate for performing encrypted communication with a first server from the first server; a second acquisition means for acquiring a second root certificate for performing encrypted communication with a second server different from the first server, through encrypted communication that has become possible by using the first root certificate; a communication means for communicating with the second server via encrypted communication that is made possible by using the second root certificate; An information processing device having the above configuration. Effect of the Invention
[0010] According to the present invention, updated electronic certificate data can be obtained from an external device through encrypted communication, and thus a root certificate can be obtained from a server even in a network environment where non-encrypted communication is not permitted.
[0011] Other features and advantages of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings, in which the same reference numerals are used to designate the same or similar components throughout the drawings. [Brief description of the drawings]
[0012] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention. [Figure 1] FIG. 1 is a block diagram illustrating a hardware configuration of an information processing device according to a first embodiment of the present invention. [Diagram 2] FIG. 4 is a sequence diagram for explaining a process in which the information processing device according to the first embodiment acquires a first root certificate group from a root certificate server. [Diagram 3] FIG. 11 is a sequence diagram for explaining a process in which the information processing device according to the first embodiment acquires a second root certificate group from a root certificate server. [Figure 4] 2 is a diagram showing the relationship between the information processing device, a root certificate server, and a content server according to the first embodiment. [Diagram 5] FIG. 4 is a diagram showing the data arrangement of a first root certificate group and a second root certificate group according to the first embodiment. [Figure 6] 4 is a diagram for explaining the state of a root certificate stored in a ROM, a RAM, and a non-volatile memory in the information processing device according to the first embodiment. [Figure 7] 11 is a flowchart for explaining a process in which an information processing device according to the second embodiment acquires a first root certificate group from a root certificate server 112. [Figure 8] 11 is a flowchart for explaining a process in which an information processing device according to a third embodiment acquires a first root certificate group from a root certificate server. [Figure 9] 9 is a diagram showing an example of a screen displayed on the operation unit of the information processing apparatus in step S808 of FIG. 8 to inform the user that the root certificate has expired. [Figure 10]13 is a diagram showing an example of a screen displaying an instruction to install the root certificate using a USB memory to update the root certificate in S809 of FIG. 8. [Figure 11] FIG. 2 is a block diagram showing the hardware configuration of a root certificate server according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, the embodiments of the present invention will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0014] [Embodiment 1] FIG. 1 is a block diagram for explaining the hardware configuration of an information processing apparatus according to the first embodiment of the present invention as an embodiment of a printer apparatus.
[0015] In the information processing device 100, the CPU 101 executes various processes for controlling the operation of the information processing device 100 by expanding a control program stored in a ROM (read only memory) 102 into a RAM 203 and executing the program. The ROM 102 stores the control program and the like. The RAM 103 is used as a main memory of the CPU 101, a temporary storage area such as a work area, and an area for expanding the program. In the information processing device 100 of the embodiment, one CPU 101 executes each process shown in the flowcharts described later, but other aspects may be used. For example, a plurality of CPUs may cooperate to execute each process shown in the flowcharts described later. Also, some of the processes shown in the flowcharts described later may be executed using a hardware circuit such as an ASIC.
[0016] The print unit 105 executes a print process on a print medium (a recording medium such as a sheet or paper) based on the print data received by the network device 104. The scanner unit 106 reads an original placed by a user and generates an original image (scanned image). The original image generated by the scanner unit 106 is printed by the print unit 105 (copy process) or saved in the PC 110 via the network 109.
[0017] The operation unit 107 has a display (display unit) with a touch panel function and various hardware keys, and the display of the operation unit 107 displays various operation screens. A user can input instructions and information to the information processing device 100 via the operation unit 107. The network device 104 is connected to a network 109 via a LAN cable, and communicates with a communication device present on the network 109, in this case a host terminal such as a PC 110. An encrypted communication protocol such as TLS (Transport Layer Security) is applied to the communication executed by the network device 104. The above-mentioned units such as the CPU 101, ROM 102, and RAM 103 are connected to the bus 108, and control signals and data signals from the CPU 101 are transmitted and received between the units.
[0018] The content server 111 is a server device that stores digital content. The information processing device 100 can obtain image data from the content server 111 and execute a print process based on the image data. However, the role of the content server 111 and the data communicated between the information processing device 100 and the content server 111 are not limited to this form. The content server 111 may have any role as long as it is a server that is a communication partner of the information processing device 100. In addition, the data communicated between the information processing device 100 and the content server 111 may be any data. The root certificate server 112 is a server device that holds a root certificate. The information processing device 100 obtains a new updated root certificate from the root certificate server 112. Note that in this embodiment, the updated root certificate is a root certificate with a newer version than the root certificate stored in the memory of the information processing device 100. Alternatively, the updated root certificate is a root certificate that has not expired. In addition, the root certificate before the update is a root certificate stored in the memory of the information processing device 100 and is an older version than the latest version of the root certificate held by the root certificate server 112. Alternatively, the root certificate before update is an expired root certificate.
[0019] A non-volatile memory 113 is also connected to the bus 108, and the non-volatile memory 113 is used as a storage area for storing a new updated root certificate. A USB I / F (USB interface) 114 is also connected to the bus 108. The USB I / F 114 is a USB interface for connecting a USB memory (external memory) 115 to the information processing device 100.
[0020] 2 is a sequence diagram for explaining a process in which the information processing device 100 according to the first embodiment acquires a first root certificate group (first electronic certificate data) from the root certificate server 112. The process in this sequence diagram is started, for example, when the information processing device 100 is turned on. The first root certificate group includes one root certificate used in encrypted communication with the root certificate server 112, but may include multiple root certificates.
[0021] In S201, the information processing device 100 determines whether the first root certificate group is stored in the non-volatile memory 113. If it is determined in S201 that the first root certificate group is stored in the non-volatile memory 113, the process proceeds to S202, where the first root certificate group stored in the non-volatile memory 113 is expanded in the RAM 103, and the process proceeds to S204. On the other hand, if it is determined in S201 that the first root certificate group is not stored in the non-volatile memory 113, the process proceeds to S203, where the first root certificate group stored in the ROM 102 is expanded in the RAM 103, and the process proceeds to S204.
[0022] In S204, the information processing device 100 starts checking for an update of the first root certificate group, and proceeds to S205. In S205, the information processing device 100 transmits to the root certificate server 112 the root certificate name and the root certificate signature of the first root certificate group data held therein.
[0023] As a result, in S206, the root certificate server 112 receives a confirmation notification of the update of the first root certificate group. Next, the process proceeds to S207, where the root certificate server 112 determines whether the root certificate name and root certificate signature of the first root certificate group received from the information processing device 100 match the updated new root certificate. This determination corresponds to a determination of whether the root certificate server 112 can provide the information processing device 100 with a newer version of the first root certificate group than the version of the first root certificate group held by the information processing device 100. A determination that they do not match corresponds to a determination that the root certificate server 112 can provide the information processing device 100 with a newer version of the first root certificate group than the version of the first root certificate group held by the information processing device 100. A determination that they match corresponds to a determination that the root certificate server 112 cannot provide the information processing device 100 with a newer version of the first root certificate group than the version of the first root certificate group held by the information processing device 100. If it is determined that there is no match here, it is determined that the first root certificate group stored in the information processing device 100 needs to be updated, and the process proceeds to S208. In S208, the root certificate server 112 creates a notification that the first root certificate group needs to be updated, and the process proceeds to S210. On the other hand, if it is determined that there is a match in S207, the process proceeds to S209, where the root certificate server 112 determines that the first root certificate group stored in the information processing device 100 does not need to be updated, creates a notification that the first root certificate group does not need to be updated, and the process proceeds to S210. In S210, the root certificate server 112 transmits the result of the update check created in S208 or S209 to the information processing device 100.
[0024] As a result, in S211, the information processing device 100 receives a notification from the root certificate server 112 indicating whether or not the first root certificate group needs to be updated, and determines whether or not the first root certificate group has been updated based on the notification. If it is determined that the first root certificate group has been updated, that is, that the first root certificate group needs to be updated, the process proceeds to S212. On the other hand, if it is determined that the first root certificate group has not been updated, the process ends directly. In S212, the information processing device 100 transmits a request to acquire the first root certificate group to the root certificate server 112.
[0025] As a result, the root certificate server 112 receives the request to acquire the first root certificate group in S213, and transmits the requested data of the updated first root certificate group to the information processing device 100.
[0026] Thus, in S214, the information processing device 100 receives the updated first root certificate group, and if the first root certificate group is stored in the non-volatile memory 113, the information processing device 100 overwrites and updates the first root certificate group stored in the non-volatile memory 113 with the received first root certificate group and stores it in the non-volatile memory 113. Furthermore, if the first root certificate group is not stored in the non-volatile memory 113 (the first root certificate group is stored only in ROM 102), the information processing device 100 stores the received first root certificate group in the non-volatile memory 113. Note that in this embodiment, the first root certificate group is acquired from the root certificate server 112 by non-encrypted communication. Then, this process ends.
[0027] In this way, the information processing device 100 inquires of the root certificate server 112 as to whether the first root certificate group held in its own non-volatile memory has been updated. If the first root certificate group has been updated, the information processing device 100 can obtain the updated first root certificate group from the root certificate server 112 and update the root certificate group in the non-volatile memory.
[0028] 3 is a sequence diagram for explaining a process in which the information processing device 100 according to the first embodiment acquires a second root certificate group (second electronic certificate data) from the root certificate server 112. The process of this sequence diagram is started, for example, when the power supply of the information processing device 100 is turned on. The process of this sequence diagram is also performed after the process described above with reference to FIG. 2 is completed. Note that the present embodiment is not limited to this, and the process of this sequence diagram may be started, for example, when a predetermined operation for starting communication with the content server 111 is executed in the information processing device 100. The second root certificate group stores a root certificate used for encrypted communication with the content server 111, and if there are multiple content servers, multiple root certificates can be stored.
[0029] In S301, the information processing device 100 expands the first root certificate group from the ROM 102 to the RAM 103. At this time, if the first root certificate group updated by the process of FIG. 2 is stored in the non-volatile memory 113, the information processing device 100 expands the first root certificate group stored in the non-volatile memory 113 to the RAM 103. Then, the information processing device 100 executes a process for performing encrypted communication with the root certificate server 112 using the first root certificate group expanded in the RAM 103. Specifically, first, the information processing device 100 acquires a server certificate corresponding to the root certificate server 112 from the root certificate server 112. Then, the information processing device 100 verifies the server certificate using the first root certificate group expanded in the RAM 103. If the verification is successful, the information processing device 100 generates and acquires a common key used for encrypted communication with the root certificate server 112 using a public key present in the server certificate. Then, the information processing device 100 transmits the generated common key to the root certificate server 112. Thereafter, the information processing device 100 communicates with the root certificate server 112 by encrypted communication using the common key acquired here. That is, by executing the verification process using the first root certificate group, the information processing device 100 becomes able to execute encrypted communication with the root certificate server 112. Note that the communications between the information processing device 100 and the root certificate server 112 executed in S303, S304, S308, S310, and S311 described below are executed by this encrypted communication. Then, the information processing device 100 expands the second root certificate group from the ROM 102 to the RAM 103. Next, the process proceeds to S302, where the information processing device 100 starts checking for update of the second root certificate group. Then, the process proceeds to S303, where the information processing device 100 transmits to the root certificate server 112 the root certificate name and the root certificate signature of the second root certificate group data expanded in the RAM 103, which is the second root certificate group data held in the ROM 102.
[0030] As a result, in S304, the root certificate server 112 receives a confirmation notification of the update of the second root certificate group. Next, the process proceeds to S305, where the root certificate server 112 determines whether the root certificate name and root certificate signature of the second root certificate group received from the information processing device 100 match the updated new root certificate. This determination corresponds to a determination of whether the root certificate server 112 can provide the information processing device 100 with a newer version of the second root certificate group than the version of the second root certificate group held by the information processing device 100. A determination that they do not match corresponds to a determination that the root certificate server 112 can provide the information processing device 100 with a newer version of the second root certificate group than the version of the second root certificate group held by the information processing device 100. A determination that they match corresponds to a determination that the root certificate server 112 cannot provide the information processing device 100 with a newer version of the second root certificate group than the version of the second root certificate group held by the information processing device 100. If it is determined in S305 that there is no match, it is determined that the second root certificate group stored in the information processing device 100 needs to be updated, and the process proceeds to S306. In S306, the root certificate server 112 creates a notification that the second root certificate group needs to be updated, and the process proceeds to S308. On the other hand, if it is determined in S305 that there is a match, it is determined that there is no need to update the second root certificate group, and the process proceeds to S307, where it creates a notification that the second root certificate group does not need to be updated, and the process proceeds to S308. In S308, the root certificate server 112 transmits the notification of whether or not the second root certificate group needs to be updated, created in S306 or S307, to the information processing device 100.
[0031] As a result, in S309, the information processing device 100 receives a notification indicating whether or not the second root certificate group received from the root certificate server 112 needs to be updated, and determines whether or not the second root certificate group needs to be updated. If it is determined that an update is necessary, the process proceeds to S310, and if it is determined that an update is not necessary, the process ends. In S310, the information processing device 100 transmits a request to acquire the second root certificate group to the root certificate server 112.
[0032] Thus, upon receiving the request to acquire the second root certificate group in S311, the root certificate server 112 transmits data of the updated second root certificate group to the information processing device 100.
[0033] As a result, in S312, the information processing device 100 receives the updated second root certificate group, and if the second root certificate group is stored in the RAM 103, the information processing device 100 overwrites and updates the second root certificate group in the RAM 103 with the received second root certificate group and stores it in the RAM 103. If the second root certificate group is not stored in the RAM 103 (the second root certificate group is stored only in the ROM 102), the information processing device 100 stores the received second root certificate group in the RAM 103. After this process, when starting communication with the content server 111 in a state in which the updated second root certificate group is stored in the RAM 103, the information processing device 100 executes a process for executing encrypted communication with the content server 111. Specifically, first, the information processing device 100 acquires a server certificate corresponding to the content server 111 from the content server 111. Then, the information processing device 100 verifies the server certificate by using the second root certificate group expanded in the RAM 103. If the verification is successful, the information processing device 100 uses the public key present in the server certificate to generate and obtain a common key to be used for encrypted communication with the content server 111. Then, the information processing device 100 transmits the generated common key to the content server 111. Thereafter, the information processing device 100 and the content server 111 communicate with each other by encrypted communication using the common key obtained here. In other words, by executing the verification process using the second root certificate group, the information processing device 100 becomes able to perform encrypted communication with the content server 111.
[0034] As a result, the information processing device 100 inquires of the root certificate server 112 as to whether the second root certificate group expanded in the RAM 103 has been updated. If the second root certificate group has been updated, the information processing device 100 can obtain the updated second root certificate group from the root certificate server 112 and update the root certificate group in the RAM 103.
[0035] FIG. 4 is a diagram showing the relationship between the information processing device 100, the root certificate server 112, and the content server 111 in the first embodiment.
[0036] The information processing device 100 communicates with various server devices through a network via the Internet. Servers 111-A, 111-B, 111-C, and 111-D are servers for the respective content services, and in order to perform encrypted communication, server certificates issued by different Certificate Authorities (CAs) are set for each of them.
[0037] A server certificate issued by company a (hereinafter, company a server certificate) is set in server 111-A for content services. A server certificate issued by company b (hereinafter, company b server certificate) is set in server 111-B for content services. A server certificate issued by company c (hereinafter, company c server certificate) is set in server 111-C for content services. A server certificate issued by company d (hereinafter, company d server certificate) is set in server 111-D for content services. And a server certificate issued by company e (hereinafter, company e server certificate) is set in root certificate server 112.
[0038] FIG. 5 is a diagram showing the data arrangement of the first root certificate group and the second root certificate group according to the first embodiment.
[0039] 5(A) shows the first root certificate group, in which a root certificate issued by company e (hereinafter, company e root certificate 501) required for cryptographic communication with root certificate server 112 is placed. This company e root certificate 501 makes it possible to verify the server certificate issued by company e in cryptographic communication with root certificate server 112.
[0040] FIG. 5B shows the second root certificate group, in which a root certificate issued by company a (hereinafter, company a root certificate 502) necessary for performing encrypted communication with content service server 111-A is disposed. In addition, a root certificate issued by company b (hereinafter, company b root certificate 503) necessary for performing encrypted communication with content service server 111-B is disposed in the second root certificate group. In addition, a root certificate issued by company c (hereinafter, company c root certificate 504) necessary for performing encrypted communication with content service server 111-C is disposed in the second root certificate group. In addition, a root certificate issued by company d (hereinafter, company d root certificate 505) necessary for performing encrypted communication with content service server 111-D is disposed in the second root certificate group. That is, server certificates issued by different CAs are set in the respective content service servers, and the root certificates required for the encryption are different CA root certificates.
[0041] A company a server certificate is set in the content service server 111-A, and a corresponding company a root certificate 502 is placed in the second root certificate group. A company b server certificate is set in the content service server 111-B, and a corresponding company b root certificate 503 is placed in the second root certificate group.
[0042] In embodiment 1, there are four server devices that provide content services with which information processing device 100 communicates, but the number of content services may be greater, and it is also possible to communicate with servers for more types of content services.
[0043] FIG. 6 is a diagram illustrating the states of the root certificates stored in the ROM 102, the RAM 103, and the non-volatile memory 113 in the information processing device 100 according to the first embodiment.
[0044] A first root certificate group and a second root certificate group are stored in ROM 102. The two root certificate groups in ROM 102 can be stored as data independent of the firmware, or can be incorporated into the firmware, allowing the root certificates to be updated together with the firmware update. In a form in which the two root certificate groups are incorporated into the firmware, the two root certificate groups in ROM 102 can be updated only by updating the firmware. In other words, the two root certificate groups incorporated into the firmware cannot be updated separately from other components of the firmware. On the other hand, updating the entire firmware takes time, and therefore it is not preferable to update the entire firmware just to update the two root certificate groups.
[0045] Therefore, in this embodiment, the unupdated old version of the first root certificate group is kept in ROM 102, and the updated new version of the first root certificate group is stored in non-volatile memory 113. Then, when the updated new version of the first root certificate group exists, the first root certificate group stored in non-volatile memory 113 is used in the process of performing encrypted communication with the root certificate server 112.
[0046] Furthermore, in this embodiment, the unupdated old version of the second root certificate group is maintained in ROM 102, and the updated new version of the second root certificate group is stored in RAM 103. If the updated new version of the second root certificate group exists, the second root certificate group stored in RAM 103 is used in the process of executing encrypted communication with content server 111. With this configuration, the updated new version of the root certificate group can be used even in a configuration in which the root certificate group is incorporated in firmware in ROM 102.
[0047] In this embodiment, it is assumed that a first root certificate group and a second root certificate group are stored in ROM 102 from the time of arrival of information processing device 100. Also, as described above, each root certificate group stored in ROM 102 from the time of arrival of information processing device 100 can be updated by updating firmware, but the server providing data for updating firmware is different from root certificate server 112. In other words, it is assumed that the two root certificate groups stored in ROM 102 are not acquired from root certificate server 112.
[0048] In this embodiment, the memory capacity of the non-volatile memory 113 is smaller than those of the ROM 102 and the RAM 103. The data capacity of the second root certificate group is larger than that of the first root certificate group. Therefore, the second root certificate group cannot be stored in the non-volatile memory 113, and the second root certificate group is stored in the RAM 103. The information stored in the RAM 103 is deleted when the information processing device 100 is powered off. Therefore, if there is a second root certificate group with a newer version than the second root certificate group stored in the ROM 102, the second root certificate group is acquired from the root certificate server 112 and stored in the RAM 103 every time the information processing device is powered on. On the other hand, the information stored in the non-volatile memory 113 is not deleted even when the information processing device 100 is powered off. Therefore, if there exists a first root certificate group of a newer version than the first root certificate group stored in ROM 102, but the first root certificate group of that version is stored in non-volatile memory 113, the first root certificate group does not need to be newly acquired from the root certificate server 112 even when the information processing device is powered on. As described above, the first root certificate group and the second root certificate group are deployed and stored in RAM 103. When the information processing device 100 is started, the data stored in ROM 102 is copied and used by the program, but if there is data acquired from the root certificate server 112, it is overwritten in RAM 103 and used by the program. The first root certificate group is stored in non-volatile memory 113. If there is data acquired from the root certificate server 112, it is stored in non-volatile memory 113 and used. If the updated first root certificate group is stored in non-volatile memory 113, the first root certificate group stored in non-volatile memory 113 is copied to RAM 103 and used by the program, without using the first root certificate group stored in ROM 102. Also, a second root certificate group can be stored in non-volatile memory 113.However, when the number of content servers 111 is large, the size of the second root certificate group also becomes large, and therefore the second root certificate group is not stored in the non-volatile memory to prevent an increase in the required memory capacity of the expensive non-volatile memory. Therefore, the second root certificate group uses a copy of data stored in ROM 102 when the information processing device 100 is started up, or, if there is data obtained from the root certificate server 112, it is overwritten in RAM 103 and used by the program.
[0049] As described above, according to the first embodiment, a first root certificate group and a second root certificate group are stored in the ROM, and the first root certificate group is stored in the non-volatile memory. If the first root certificate group has been updated in the root certificate server, the updated certificate is obtained from the root certificate server and the first root certificate group in the non-volatile memory is updated. If the second root certificate group has been updated in the root certificate server, the updated certificate is obtained from the root certificate server and the second root certificate group deployed in the RAM is updated.
[0050] This has the effect of preventing an increase in the memory capacity of an expensive non-volatile memory and making it possible to deal with a case where the first root certificate group and the second root certificate group are updated.
[0051] [Embodiment 2] In the above-mentioned first embodiment, a case has been described where the communication path with the root certificate server 112 is only encrypted communication. In contrast, in the second embodiment, a configuration for performing unencrypted communication when encrypted communication with the root certificate server 112 becomes impossible will be described using a flowchart. Causes for which encrypted communication becomes impossible include expiration of the root certificate and change of the certificate authority of the server certificate. Note that the hardware configuration of the information processing device 110 according to the second embodiment and the system configuration including the content server 111, the root certificate server 112, etc. are the same as those in the above-mentioned first embodiment, and therefore description thereof will be omitted.
[0052] 7 is a flowchart for explaining a process in which the information processing device 100 according to the second embodiment acquires a first root certificate group from the root certificate server 112. The first root certificate group stores one root certificate used in encrypted communication with the root certificate server 112, but it is also possible to store multiple root certificates. The process shown in this flowchart is achieved by the CPU 101 executing a program expanded in the RAM 103.
[0053] In S701, CPU 101 determines whether the first root certificate group is stored in non-volatile memory 113. If it is determined in S701 that the first root certificate group is stored in non-volatile memory 113, the process proceeds to S702 where CPU 101 expands the first root certificate group stored in non-volatile memory 113 to RAM 103 and proceeds to S704. On the other hand, if it is determined in S701 that the first root certificate group is not stored in non-volatile memory 113, the process proceeds to S703 where CPU 101 expands the first root certificate group from ROM 102 to RAM 103 and proceeds to S704. In S604, CPU 101 sets the communication path to encrypted communication and proceeds to S705.
[0054] In S705, the CPU 101 starts checking the update of the first root certificate group, and proceeds to S706. In S706, the CPU 101 transmits the root certificate name and the root certificate signature of the first root certificate group data held by it to the root certificate server 112. Then, the process proceeds to S707, where the CPU 101 determines whether or not the update check result notification of the first root certificate group has been received from the root certificate server 112. If the update check result notification has not been received in S707, the process proceeds to S708, where the CPU 101 determines whether or not the notification was received by encrypted communication. If the communication was encrypted in S708, the process proceeds to S709, where the CPU 101 sets the communication path to be used for the next communication to unencrypted communication, and returns to the process of S706. On the other hand, if the communication was unencrypted in S708, the process ends without continuing the process to receive the first root certificate from the root certificate server 112.
[0055] If the CPU 101 receives an update check result notification in S707, the process proceeds to S710, where it determines whether the first root certificate group has been updated. If it determines in S710 that the first root certificate group has not been updated, the process ends. On the other hand, if it determines in S710 that the first root certificate group has been updated, the process proceeds to S711, where the CPU 101 transmits a request to acquire the first root certificate group to the root certificate server 112. Then, the process proceeds to S712, where the CPU 101 receives the first root certificate group from the root certificate server 112, overwrites and updates the first root certificate group in the non-volatile memory 113, and ends the process.
[0056] As described above, according to the second embodiment, when the first root certificate group has been updated, the updated first root certificate group can be received from the root certificate server and stored in non-volatile memory. Also, when a notification as to whether the first root certificate group has been updated cannot be received from the root certificate server, encrypted communication can be switched to unencrypted communication to see whether an update check result notification can be received.
[0057] [Embodiment 3] Next, as a third embodiment, a configuration will be described in which, when encrypted communication becomes impossible in communication with the root certificate server 112, a new root certificate is inserted into the USB memory 115 and installed in the information processing device 100. Causes of the inability to communicate encrypted include the expiration of the root certificate and a change in the certification authority of the server certificate. Note that the hardware configuration of the information processing device 110 according to the third embodiment and the system configuration including the content server 111, the root certificate server 112, etc. are the same as those of the first embodiment described above, and therefore description thereof will be omitted.
[0058] 8 is a flowchart for explaining a process in which the information processing device 100 according to the third embodiment acquires a first root certificate group from the root certificate server 112. The first root certificate group stores one root certificate used in encrypted communication with the root certificate server 112, but it is also possible to store multiple root certificates. The process shown in this flowchart is achieved by the CPU 101 executing a program expanded in the RAM 103.
[0059] In S801, CPU 101 determines whether the first root certificate group is stored in non-volatile memory 113. If it is determined in S801 that the first root certificate group is stored in non-volatile memory 113, the process proceeds to S802, where the first root certificate group stored in non-volatile memory 113 is expanded in RAM 103, and the process proceeds to S804. On the other hand, if it is determined in S801 that the first root certificate group is not stored in non-volatile memory 113, the process proceeds to S803, where the first root certificate group is expanded from ROM 102 to RAM 103, and the process proceeds to S804. In S804, CPU 101 starts checking for an update of the first root certificate group.
[0060] In S805, the CPU 101 transmits the root certificate name and the root certificate signature of the held first root certificate group data to the root certificate server 112. Next, the process proceeds to S806, where the CPU 101 determines whether or not the update check result notification of the first root certificate group has been received from the root certificate server 112. If the CPU 101 determines in S806 that the update check result notification has not been received, the process proceeds to S807, where the CPU 101 determines whether or not the root certificate in the first root certificate group has expired. If the CPU 101 determines in S807 that the root certificate has expired, the process proceeds to S808, where the CPU 101 displays on the operation unit 107 that the root certificate has expired, and the process proceeds to S809. In S809, the CPU 101 displays an instruction to install the root certificate using the USB memory 115 to update the root certificate, and ends this process. On the other hand, if the CPU 101 determines in S807 that the root certificate has not expired, the process proceeds to S809, where the CPU 101 displays an instruction to install the root certificate using the USB memory 115 to update the root certificate, and ends this process.
[0061] If the CPU 101 determines in S806 that it has received an update check result notification from the root certificate server 112, the process proceeds to S810, where it determines whether the first root certificate group has been updated. If the CPU 101 determines in S810 that the first root certificate group has not been updated, the process ends. If the CPU 101 determines in S810 that the first root certificate group has been updated, the process proceeds to S811, where the CPU 101 transmits an acquisition request for the first root certificate group to the root certificate server 112. The process then proceeds to S812, where the CPU 101 receives the first root certificate group from the root certificate server 112, overwrites and updates the first root certificate group in the non-volatile memory 113, and ends the process.
[0062] FIG. 9 is a diagram showing an example of a screen displayed on the operation unit 107 of the information processing apparatus 100 in S808 of FIG. 8, which indicates that the root certificate has expired.
[0063] This screen displays a warning message 901 indicating that the root certificate has expired, and an OK button 902. When this OK button 902 is pressed, the screen transitions to the screen shown in FIG.
[0064] FIG. 10 is a diagram showing an example of a screen displaying an instruction to install a root certificate using the USB memory 115 in order to update the root certificate in S809 of FIG.
[0065] This screen displays a message 1001 prompting the user to install a root certificate from a USB memory, an OK button 1002, and a cancel button 1003. When the user wants to install the root certificate from the USB memory, he presses the OK button 1002. This causes the root certificate from the USB memory 115 to be installed via the USB I / F 114 and stored in the non-volatile memory 113. On the other hand, when the user does not want to install the root certificate from the USB memory, he presses the cancel button 1003. When the cancel button 1003 is pressed, the installation of the root certificate from the USB memory 115 is not performed and the process ends.
[0066] As described above, according to the third embodiment, the information processing device queries the root certificate server as to whether the first root certificate group has been updated, and when it cannot receive a response, it determines whether the first root certificate group has expired. If the first root certificate group has expired, it displays a warning message and a selection screen for whether to install the first root certificate group from the USB memory. Depending on the selection on the screen, it can instruct the reading of the first root certificate group from the USB memory.
[0067] FIG. 11 is a block diagram showing a hardware configuration of the root certificate server 112 according to the embodiment.
[0068] The root certificate server 112 has a CPU 1101, a program memory 1102, a data memory 1103, a non-volatile memory 1104, and a network device 1105, which are connected to the CPU 1101 via an internal bus 1106. The CPU 1101 controls these components via the internal bus 1106 by executing programs in the program memory. The network device 1105 is connected to the Internet via a network 1107.
[0069] (Other embodiments) In the above description, two root certificate groups are stored in ROM 102 in advance, and when the root certificate server 112 can provide a newer root certificate than the root certificate group stored in ROM 102, a new root certificate is acquired from the root certificate server 112. However, the present invention is not limited to this configuration. That is, the two root certificate groups do not have to be stored in ROM 102 in advance. Also, a new root certificate may be acquired from the root certificate server 112 every time the information processing device 100 is powered on or every time communication with the content server 111 is required, without comparison with the root certificate group stored in ROM 102.
[0070] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0071] This specification and drawings disclose the following information processing apparatus and its control method. (Item 1) a first acquisition means for acquiring a first root certificate for performing encrypted communication with a first server from the first server; a second acquisition means for acquiring a second root certificate for performing encrypted communication with a second server different from the first server, through encrypted communication that has become possible by using the first root certificate; a communication means for communicating with the second server via encrypted communication that is made possible by using the second root certificate; 13. An information processing device comprising: (Item 2) When the first server can provide a newer version of the first root certificate than a version of the first root certificate held by the information processing device, the first root certificate is acquired from the first server. 2. The information processing device according to item 1, (Item 3) when the first server can provide a newer version of the first root certificate than a version of the first root certificate stored in a first memory of the information processing device, the first root certificate is obtained from the first server; the first root certificate acquired from the first server is stored in a second memory which is a memory different from the first memory and is included in the information processing device; 2. The information processing device according to item 1, (Item 4) the first root certificate obtained from the first server is stored in the second memory while the first root certificate remains stored in the first memory; 4. The information processing device according to item 3. (Item 5) the first memory is a ROM, The second memory is a non-volatile memory. 5. The information processing device according to item 3 or 4. (Item 6) the first root certificate stored in a first memory of the information processing device is incorporated in firmware of the information processing device; 6. The information processing device according to any one of items 3 to 5. (Item 7) the first root certificate stored in a first memory of the information processing device is updated by updating firmware of the information processing device; 7. The information processing device according to any one of items 3 to 6, (Item 8) if the first server can provide a newer version of the second root certificate than the version of the second root certificate stored in the first memory, the second root certificate is obtained from the first server; the second root certificate acquired from the first server is stored in a third memory that is different from the first memory and different from the second memory and is a memory included in the information processing device; 8. The information processing device according to any one of items 3 to 7, (Item 9) the first memory is a ROM, the third memory is a RAM; 9. The information processing device according to item 8, (Item 10) The data capacity of the second root certificate is larger than the memory capacity of the second memory. 10. The information processing device according to item 8 or 9, (Item 11) if the first server can provide a newer version of the second root certificate than the version of the second root certificate stored in the third memory, the second root certificate is obtained from the first server; the second root certificate obtained from the first server is stored in the third memory such that the second root certificate stored in the third memory is updated; 11. The information processing device according to any one of items 8 to 10. (Item 12) The first root certificate is obtained from the first server when the information processing device is powered on. 12. The information processing device according to any one of items 1 to 11, (Item 13) the second root certificate is acquired from the first server based on at least one of the following: the information processing device is powered on; and a predetermined operation for communicating with the second server is executed in the information processing device. 13. The information processing device according to any one of items 1 to 12. (Item 14) after the first root certificate is obtained from the first server, the second root certificate is obtained from the first server; 13. The information processing device according to any one of items 1 to 12, (Item 15) the second root certificate includes a root certificate for performing encrypted communication with the second server, and a root certificate for performing encrypted communication with a third server that is different from the first server and different from the second server; 15. The information processing device according to any one of items 1 to 14. (Item 16) the first root certificate is obtained from the first server through unencrypted communication; 16. The information processing device according to any one of items 1 to 15, (Item 17) 17. The information processing device according to any one of items 1 to 16, further comprising a printing unit for executing printing. (Item 18) printing is performed based on information acquired from the second server through encrypted communication that is enabled by using the second root certificate; 18. The information processing device according to item 17, (Item 19) A method for controlling an information processing device, comprising: a first obtaining step of obtaining a first root certificate from a first server for performing encrypted communication with the first server; a second acquisition step of acquiring a second root certificate for performing encrypted communication with a second server different from the first server through encrypted communication that is enabled by using the first root certificate; a communication step of communicating with the second server via encrypted communication that is enabled by using the second root certificate; A control method comprising the steps of: (Item 20) The computer of the information processing device, a first obtaining means for obtaining a first root certificate for performing encrypted communication with a first server from the first server; a second acquisition means for acquiring a second root certificate for executing encrypted communication with a second server different from the first server, via encrypted communication that has become executable by using the first root certificate; a communication means for communicating with the second server via encrypted communication that is made possible by using the second root certificate; A program characterized by causing the program to function as a
[0072] The present invention is not limited to the above-described embodiments, and various modifications and variations can be made without departing from the spirit and scope of the present invention. Therefore, the following claims are appended to apprise the public of the scope of the present invention. [Explanation of symbols]
[0073] 100: information processing device, 101: CPU, 102: ROM, 103: RAM, 107: operation unit, 111: content server, 112: root certificate server
Claims
1. a first obtaining means for obtaining a first root certificate for performing encrypted communication with a first server from the first server; a second acquisition means for acquiring a second root certificate for performing encrypted communication with a second server different from the first server, via encrypted communication that has become possible by using the first root certificate; a communication means for communicating with the second server via encrypted communication that is made possible by using the second root certificate; 13. An information processing device comprising:
2. when the first server can provide a newer version of the first root certificate than a version of the first root certificate held by the information processing device, the first root certificate is acquired from the first server; 2. The information processing apparatus according to claim 1,
3. when the first server can provide a newer version of the first root certificate than a version of the first root certificate stored in a first memory of the information processing device, the first root certificate is obtained from the first server; the first root certificate acquired from the first server is stored in a second memory which is a memory different from the first memory and is included in the information processing device; 2. The information processing apparatus according to claim 1,
4. the first root certificate obtained from the first server is stored in the second memory while the first root certificate remains stored in the first memory; 4. The information processing apparatus according to claim 3.
5. the first memory is a ROM; the second memory is a non-volatile memory; 4. The information processing apparatus according to claim 3.
6. the first root certificate stored in a first memory of the information processing device is incorporated in firmware of the information processing device; 4. The information processing apparatus according to claim 3.
7. the first root certificate stored in a first memory of the information processing device is updated by updating firmware of the information processing device; 4. The information processing apparatus according to claim 3.
8. if the first server can provide a newer version of the second root certificate than a version of the second root certificate stored in the first memory, the second root certificate is obtained from the first server; the second root certificate acquired from the first server is stored in a third memory that is different from the first memory and different from the second memory and is a memory included in the information processing device; 4. The information processing apparatus according to claim 3.
9. the first memory is a ROM; the third memory is a RAM; 9. The information processing apparatus according to claim 8,
10. a data capacity of the second root certificate is larger than a memory capacity of the second memory; 9. The information processing apparatus according to claim 8,
11. if the first server can provide a newer version of the second root certificate than the version of the second root certificate stored in the third memory, the second root certificate is obtained from the first server; the second root certificate obtained from the first server is stored in the third memory such that the second root certificate stored in the third memory is updated; 9. The information processing apparatus according to claim 8,
12. The first root certificate is obtained from the first server when the information processing device is powered on.
2. The information processing apparatus according to claim 1,
13. the second root certificate is acquired from the first server based on at least one of a power-on of the information processing device and a predetermined operation for communication with the second server being executed in the information processing device; 2. The information processing apparatus according to claim 1,
14. after the first root certificate is obtained from the first server, the second root certificate is obtained from the first server; 2. The information processing apparatus according to claim 1,
15. the second root certificate includes a root certificate for performing encrypted communication with the second server, and a root certificate for performing encrypted communication with a third server different from the first server and different from the second server; 2. The information processing apparatus according to claim 1,
16. the first root certificate is obtained from the first server through unencrypted communication; 2. The information processing apparatus according to claim 1,
17. 2. The information processing apparatus according to claim 1, further comprising a printing means for executing printing.
18. printing is performed based on information acquired from the second server through encrypted communication that is enabled by using the second root certificate; 18. The information processing apparatus according to claim 17,
19. A method for controlling an information processing device, comprising: a first obtaining step of obtaining a first root certificate from a first server for performing encrypted communication with the first server; a second acquisition step of acquiring a second root certificate for executing encrypted communication with a second server different from the first server through encrypted communication that has become executable by using the first root certificate; a communication step of communicating with the second server via encrypted communication that is enabled by using the second root certificate; A control method comprising the steps of:
20. The computer of the information processing device, a first obtaining means for obtaining a first root certificate for performing encrypted communication with a first server from the first server; a second acquisition means for acquiring a second root certificate for executing encrypted communication with a second server different from the first server, via encrypted communication that has become executable by using the first root certificate; a communication means for communicating with the second server via encrypted communication that is made possible by using the second root certificate; A program characterized by causing the program to function as a
Citation Information
Patent Citations
Printer with certificate managing function
JP2006239930A
Information processor, method for controlling the same and information processing system
JP2008129788A
