Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does rust sgx sdk support generating public key certificates in x509 format? #442

Open
HGZ-20 opened this issue Aug 1, 2023 · 1 comment

Comments

@HGZ-20
Copy link

HGZ-20 commented Aug 1, 2023

I want to generate a public key certificate in the enclave and send it out, but I don't seem to find a way to generate a public key certificate in x509 format in the rust sgx sdk. Only see the get_ecc_cert() method written in SampleCode. Is it because exporting certificates is not supported yet, and I have to write related codes by myself?

@yangfh2004
Copy link

Yes, you do, if you want to use it with secured connections, you need a CA to sign your pub key otherwise you can sign it by yourself inside the enclave. You can generate a pair of RSA keys with the SDK but you need to do the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants