<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Need help to install IAS certificate on Ubuntu and Android. in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Need-help-to-install-IAS-certificate-on-Ubuntu-and-Android/m-p/1162299#M2895</link>
    <description>&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Hello everyone, I need your help trying to understand how to use the certificate that I have registered with Intel to make HTTPS requests to the IAS (as referenced in the &lt;A href="https://community.intel.com/legacyfs/online/drupal_files/managed/7e/3b/ias-api-spec.pdf"&gt;documentation&lt;/A&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I have a very short and simple Java program that makes a simple Retreive SigRL GET request to the IAS, just to test out if it works at all. But I keep getting SSLHandshakeException when it tries to execute the HTTPS request.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://software.intel.com/en-us/articles/how-to-create-self-signed-certificates-for-use-with-intel-sgx-remote-attestation-using"&gt;This tutorial&lt;/A&gt; generates a client.pfx file that can be used to import the certificate to other platforms. I have copied this file to the Ubuntu system that runs my Java program and double-clicked it to import it and everything seemed sucessful, but I still keep getting Exceptions when running the program.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I have also installed the client.crt file on Android using the option in (Settings)&amp;gt;(Lockscreen and security)&amp;gt;(Other security settings)&amp;gt;(Credential Storage/Install from device storage). When I try to run this code from an Android Activity (just by copypasting the method), I get the exact same error. I need to be able to make the IAS requests both from Ubuntu and Android (7.0, API 24). The certificate I generated using this tutorial is already registered with Intel (I have received E-Mail confirmation and a service provider ID from Intel Developer Services).&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;
	&lt;P&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;I have attached my Java program and the console output to this forum post as a zip archive. The code is very short and simple so you might want to check it out. Here are pastebins of the program code and the output:&lt;/P&gt;

	&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Code: &lt;A href="https://pastebin.com/hn5RGQcs" target="_blank"&gt;https://pastebin.com/hn5RGQcs&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Output: &lt;A href="https://pastebin.com/bC8hS191" target="_blank"&gt;https://pastebin.com/bC8hS191&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;In principle the only thing I need to know is how to properly use/install the certificate that I generated on both Ubuntu and on Android and if I am properly issuing the HTTP request in the program. I am still a student and I need to work with SGX for a project, so please bear with my limited knowledge. I would be very grateful for an answer.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 26 Jul 2018 06:09:48 GMT</pubDate>
    <dc:creator>Mierzwinski__David</dc:creator>
    <dc:date>2018-07-26T06:09:48Z</dc:date>
    <item>
      <title>Need help to install IAS certificate on Ubuntu and Android.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Need-help-to-install-IAS-certificate-on-Ubuntu-and-Android/m-p/1162299#M2895</link>
      <description>&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Hello everyone, I need your help trying to understand how to use the certificate that I have registered with Intel to make HTTPS requests to the IAS (as referenced in the &lt;A href="https://community.intel.com/legacyfs/online/drupal_files/managed/7e/3b/ias-api-spec.pdf"&gt;documentation&lt;/A&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I have a very short and simple Java program that makes a simple Retreive SigRL GET request to the IAS, just to test out if it works at all. But I keep getting SSLHandshakeException when it tries to execute the HTTPS request.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://software.intel.com/en-us/articles/how-to-create-self-signed-certificates-for-use-with-intel-sgx-remote-attestation-using"&gt;This tutorial&lt;/A&gt; generates a client.pfx file that can be used to import the certificate to other platforms. I have copied this file to the Ubuntu system that runs my Java program and double-clicked it to import it and everything seemed sucessful, but I still keep getting Exceptions when running the program.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I have also installed the client.crt file on Android using the option in (Settings)&amp;gt;(Lockscreen and security)&amp;gt;(Other security settings)&amp;gt;(Credential Storage/Install from device storage). When I try to run this code from an Android Activity (just by copypasting the method), I get the exact same error. I need to be able to make the IAS requests both from Ubuntu and Android (7.0, API 24). The certificate I generated using this tutorial is already registered with Intel (I have received E-Mail confirmation and a service provider ID from Intel Developer Services).&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;
	&lt;P&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;I have attached my Java program and the console output to this forum post as a zip archive. The code is very short and simple so you might want to check it out. Here are pastebins of the program code and the output:&lt;/P&gt;

	&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Code: &lt;A href="https://pastebin.com/hn5RGQcs" target="_blank"&gt;https://pastebin.com/hn5RGQcs&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Output: &lt;A href="https://pastebin.com/bC8hS191" target="_blank"&gt;https://pastebin.com/bC8hS191&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;In principle the only thing I need to know is how to properly use/install the certificate that I generated on both Ubuntu and on Android and if I am properly issuing the HTTP request in the program. I am still a student and I need to work with SGX for a project, so please bear with my limited knowledge. I would be very grateful for an answer.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Jul 2018 06:09:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Need-help-to-install-IAS-certificate-on-Ubuntu-and-Android/m-p/1162299#M2895</guid>
      <dc:creator>Mierzwinski__David</dc:creator>
      <dc:date>2018-07-26T06:09:48Z</dc:date>
    </item>
  </channel>
</rss>

