Preparing the Image Package

Before inference, prepare the model files required for inference. The directory structure is as follows:

Change the directory permission to 700 and the owner to the owner of the user who starts the container.

├── crypto_fs
│   ├── bin
│   │   └── crypto_fs
│   └── lib #crypto_fs dependency library
├── dec
├── rsa.CFS.pem    # Certificate used for two-way authenticated communication between CFS and KMSAgentTLS.
├── server.key # Encrypted private key used for two-way authenticated communication between CFS and KMSAgentTLS.
├── CA.pem      # Certificate used for two-way authenticated communication between CFS and KMSAgentTLS.
├── cert.crl     # Optional. It is the CRL used for two-way authenticated communication between CFS and KMSAgentTLS.
├── encrypt # Encrypted inference code, which is copied from the encryption directory.