You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/04/07 02:31:21 UTC

[GitHub] [incubator-teaclave-sgx-sdk] czzmmc opened a new issue #219: http_req Illegal instruction

czzmmc opened a new issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219
 
 
   Hi,
   I am trying to accomplish https request using rust sgx sdk.  I use MacBook with baidu lab docker as my develop tool. And I got "**thread panicked while processing panic. aborting.Illegal instruction**" when sending request to my https sever which written by python3. And I also want to use my own certifications created by openssl by myself. If there is any instructions, that would be nice.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] dingelish edited a comment on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
dingelish edited a comment on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-611218088
 
 
   what's the password of server cert?
   
   my fork with a sample client: https://github.com/dingelish/rust_sgx_https_req

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] dingelish commented on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
dingelish commented on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-611674068
 
 
   that's really good news!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] dingelish commented on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
dingelish commented on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-610157353
 
 
   how about this: you create a repo with the https server and it's ca/cert/private key, and then let me create a corresponding https client and create a PR?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] czzmmc commented on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
czzmmc commented on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-611353044
 
 
   @dingelish Sounds great! Please open the issue feature of your fork repo. I'll leave my comment there.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] czzmmc commented on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
czzmmc commented on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-611303374
 
 
   @dingelish I updated the all cert files. Please update, too.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] czzmmc commented on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
czzmmc commented on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-611392479
 
 
   @dingelish Hi, I found the cure. I was using baiduxlab/sgx-rust:latest docker, which is an old version. I switched to baiduxlab/sgx-rust:1804-1.1.1, and then it works. I run the https sample code successfully!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] czzmmc commented on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
czzmmc commented on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-610188701
 
 
   @dingelish Hi, I created a repo with my https server. 
   https://github.com/czzmmc/rust_sgx_https_req
   It's so nice of you.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] dingelish commented on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
dingelish commented on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-611327811
 
 
   i don't think it's a problem of any rust codes. your server pem does not contain `Subject Alternative Name` and DNS name verifier cannot let it go. since this is related to this sdk, let's move to my fork and create a issue to discuss. thanks
   
   https://github.com/dingelish/rust_sgx_https_req

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] dingelish commented on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
dingelish commented on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-611218088
 
 
   what's the password of server cert?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] czzmmc commented on issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
czzmmc commented on issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219#issuecomment-611302293
 
 
   @dingelish Sony to forget about that.  The pwd for server crt and client is 123456. And other info you might use is like below.
   Country Name (2 letter code) []:CN
   State or Province Name (full name) []:BJ
   Locality Name (eg, city) []:BJ
   Organization Name (eg, company) []:My Client / My Server / My CA (depending on different cert)
   Organizational Unit Name (eg, section) []:
   Common Name (eg, fully qualified host name) []:localhost
   Email Address []:
   
   Please enter the following 'extra' attributes
   to be sent with your certificate request
   A challenge password []:123456

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] dingelish closed issue #219: http_req Illegal instruction

Posted by GitBox <gi...@apache.org>.
dingelish closed issue #219: http_req Illegal instruction
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/219
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org