While using ioxclient to sign the docker image, I always got the errer below
The private/public key and ca certificate were generated by openssl in pem format.
ioxclient.exe docker pkg -k privkey.pem -c CA.pem testapp:2.0 ./dev
Currently active profile : default
Command Name: docker-package
Timestamp at DockerPackage start: 1626434114552
Using the package descriptor file in the project dir
Validating descriptor file package.yaml with package schema definitions
Parsing descriptor file..
Found schema version 2.8
Loading schema file for version 2.8
Validating package descriptor file..
File package.yaml is valid under schema version 2.8
Generating IOx package of type docker with layers as rootfs
Replacing symbolically linked layers in docker rootfs, if any
No symbolically linked layers found in rootfs. No changes made in rootfs
Removing emulation layers in docker rootfs, if any
The docker image is better left in it's pristine state
Parsing Package Metadata file : C:\Users\zhj\PycharmProjects\SilentHost\dev\.package.metadata
Updated package metadata file : C:\Users\zhj\PycharmProjects\SilentHost\dev\.package.metadata
Using rsa key and cert provided via command line to sign the package
-------------------------------------------------------------------------
Generating the envelope package
Error: Unable to copy file contents &{0xc0002ab680}
Error while adding file C:\Users\zhj\AppData\Local\Temp\120408302\package.cert
Failed to create package tar file
Without using parameter -c and -k I was able to repackage the image as IOX package, but everytime I want to sign, no success.
Does anybody know the reason, something wrong with the keys?