Skip to content

Premigration fails with generated fmspc policy - TlsStream error #922

Description

@mpojmaj

Describe the bug

Premigration fails with generated fmspc policy - TlsStream error

Image

To Reproduce

  1. cd tools/migtd-policy-generator
  2. cargo build
  3. cd ../../
  4. ./target/debug/migtd-policy-generator -o config/policy_pre_production_fmspc_tool.json --pre-production
  5. bash sh_script/preparation.sh
  6. cargo image --policy config/policy_pre_production_fmspc_tool.json --root-ca config/Intel_SGX_Provisioning_Certification_RootCA_preproduction.cer
  7. cd sh_script/test
  8. sudo pytest -k "pre_migration" --servtd_hash $(cargo hash --image /root/MigTD/target/release/migtd.bin)

Expected behavior
Premigration should be successful.

Image

Additional context
It works with policy_pre_production_fmspc.json located in repository.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions