cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1373
Views
0
Helpful
1
Replies

Unable to sign docker image with ioxclient

junyi
Level 1
Level 1

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?

1 Reply 1

Alexander Stevenson
Cisco Employee
Cisco Employee

 

Hello @junyi,

 

There is also an IOx Mailer within Cisco called the iox-support(mailer list):

 

iox-support@cisco.com

 

Hope this helps!