Skip to content

how to generate a ra-tls certificate by a provided CA using ra_tls_attest.so? #1648

Answered by dimakuv
tiagorvmartins asked this question in Q&A
Discussion options

You must be logged in to vote

I believe if I wrap my client inside an enclave, and do VerifyConnection on both ends calling my custom callback to check the sgx quote measurements on each side of each opposite enclave, it could work and even be secure? I guess that could be considered a TLS mutual authentication?

Yes, exactly.

P.S. Regarding InsecureSkipVerify -- yes, you have to specify it. Think of it this way: RA-TLS uses the X.509 certificate format only as a convenience wrapper around the SGX quote. By itself, this X.509 certificate is basically useless; the only benefit of using classic certs is so that we can easily re-use SSL/TLS libraries like OpenSSL, mbedTLS, WolfSSL. But the actual verification of trustwo…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@tiagorvmartins
Comment options

@dimakuv
Comment options

Answer selected by tiagorvmartins
@tiagorvmartins
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants