<?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 Re: Calling curl with https in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256414#M209544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi, I'd suggest limiting the use of smilies in your posts, if you want others to consider them seriously.&lt;BR /&gt;&lt;BR /&gt;Regarding the issue itself, I think the –insecure (or -k) option is what you want. This tells cURL to ignore any problems with the SSL connection, such as self-signed certificates.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Will&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, in this case, i dont want to use the insecure option, can you explain me how this certificate is make in this issue? I may be did something wrong somewhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2012 16:37:27 GMT</pubDate>
    <dc:creator>hasi_webmail</dc:creator>
    <dc:date>2012-04-18T16:37:27Z</dc:date>
    <item>
      <title>Calling curl with https</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256409#M209539</link>
      <description>I want to call to alfresco using curl with https for testing. Currently it works for http fine. Can any one help me in this isue?curl -vi –cacert AlfrescoRepository "https://localhost:8443/alfresco/service/api/login?u=a123&amp;amp;pw=a123" * About to connect() to localhost port 8443 (#0)*&amp;nbsp;&amp;nbsp; Trying ::1…</description>
      <pubDate>Wed, 11 Apr 2012 07:19:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256409#M209539</guid>
      <dc:creator>hasi_webmail</dc:creator>
      <dc:date>2012-04-11T07:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calling curl with https</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256410#M209540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Generally we need to register the certificate with the jdk on server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So that for each call it will be validated from there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a hint.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 07:27:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256410#M209540</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-04-11T07:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calling curl with https</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256411#M209541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You mean like this?? I have already added. But its same……&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll:&amp;nbsp; :roll: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;see;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$keytool -keystore my-ssl-keystore -importcert -alias AlfrescoRepository -file AlfrescoRepository &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Enter keystore password:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Re-enter new password: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Owner: CN=Alfresco Repository, OU=Unknown, O=Alfresco Software Ltd., L=Maidenhead, ST=UK, C=GB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Issuer: CN=Alfresco CA, O=Alfresco Software Ltd., L=Maidenhead, ST=UK, C=GB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Serial number: 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Valid from: Thu Aug 18 17:34:11 IST 2011 until: Fri Aug 17 17:34:11 IST 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Certificate fingerprints:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MD5:&amp;nbsp; FB:A0:FA:3E:1C:37:4E:A1:89:3B:A3:92:C6:E3:25:62&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SHA1: 13:2C:7A:FD:12:80:8E:F3:43&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;9:89:B6&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;7:2B:B8:C0:FD:0D:FB&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Signature algorithm name: SHA1withRSA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version: 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Trust this certificate? [no]:&amp;nbsp; yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Certificate was added to keystore&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im getting angry now&amp;nbsp; :twisted:&amp;nbsp; :twisted:&amp;nbsp; :twisted:&amp;nbsp; :twisted:&amp;nbsp; :twisted:&amp;nbsp; :twisted:&amp;nbsp; :twisted:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any one know whs the issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 07:34:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256411#M209541</guid>
      <dc:creator>hasi_webmail</dc:creator>
      <dc:date>2012-04-11T07:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calling curl with https</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256412#M209542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I,m still looking for this&amp;nbsp;&amp;nbsp;&amp;nbsp; :?:&amp;nbsp; :?:&amp;nbsp; :?:&amp;nbsp; :?: 61 views ans 3 replies?? come on peers…….. reviews??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 09:49:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256412#M209542</guid>
      <dc:creator>hasi_webmail</dc:creator>
      <dc:date>2012-04-17T09:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calling curl with https</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256413#M209543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I'd suggest limiting the use of smilies in your posts, if you want others to consider them seriously.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding the issue itself, I think the –insecure (or -k) option is what you want. This tells cURL to ignore any problems with the SSL connection, such as self-signed certificates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 19:00:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256413#M209543</guid>
      <dc:creator>wabson</dc:creator>
      <dc:date>2012-04-17T19:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calling curl with https</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256414#M209544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi, I'd suggest limiting the use of smilies in your posts, if you want others to consider them seriously.&lt;BR /&gt;&lt;BR /&gt;Regarding the issue itself, I think the –insecure (or -k) option is what you want. This tells cURL to ignore any problems with the SSL connection, such as self-signed certificates.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Will&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, in this case, i dont want to use the insecure option, can you explain me how this certificate is make in this issue? I may be did something wrong somewhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 16:37:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256414#M209544</guid>
      <dc:creator>hasi_webmail</dc:creator>
      <dc:date>2012-04-18T16:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calling curl with https</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256415#M209545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;open the url "&lt;/SPAN&gt;&lt;A href="https://localhost:8443/alfresco/service/api/login?u=a123&amp;amp;pw=a123" rel="nofollow noopener noreferrer"&gt;https://localhost:8443/alfresco/service/api/login?u=a123&amp;amp;pw=a123&lt;/A&gt;&lt;SPAN&gt;" in a chrome browser&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for all sites with self signed certificate it will complain that the is site in not a trusted site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;click the lock icon near the url, it will show a link to see the certificate information, click the link it will open the self signed certificate, goto details tab, click "copy to file" button , then click next button, then select the format " \DER encoded binary x.509(.cer) "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;click next button , give the path of a file then click next and then click finish button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now go to certification path tab , click each and every certificate in the tree , start from the root and export each and every certificate chain and save it as mentioned above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now move these files to /tmp/ assume the file names are file1.cer and file2.cer &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;excute the below command to convert the certificates to PEM format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;openssl x509 -inform DES&amp;nbsp; -in file1.cer -out file1.pem -text&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;openssl x509 -inform DES&amp;nbsp; -in file2.cer -out file2.pem -text&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now append these files to AlfrescoRepository&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cat file1.pem &amp;gt;&amp;gt; AlfrescoRepository &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cat file2.pem &amp;gt;&amp;gt; AlfrescoRepository &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now execute the curl command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;curl -vi –cacert AlfrescoRepository "&lt;/SPAN&gt;&lt;A href="https://localhost:8443/alfresco/service/api/login?u=a123&amp;amp;pw=a123" rel="nofollow noopener noreferrer"&gt;https://localhost:8443/alfresco/service/api/login?u=a123&amp;amp;pw=a123&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you need any clarification….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 03:00:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-curl-with-https/m-p/256415#M209545</guid>
      <dc:creator>cnatcisco</dc:creator>
      <dc:date>2013-05-08T03:00:40Z</dc:date>
    </item>
  </channel>
</rss>

