To provide a device and its control method, a program, and a storage medium, capable of performing the backup of secret information within a device without using an external memory medium.
The method for performing the backup of the information of a private key and a root CA Certificate in a HDD 207 includes steps of performing a key information backup process, making the encryption of key information and server certificate information which are managed on the HDD 207 by a key management module 401 into an encryption module 402 using an arbitrary key, converting data encrypted by the encryption module 402 to a print image by an image processing module 403, and making a printing module 404 form the image on the paper of a printer engine 212 after being converted.