<?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: SAP Host Agent SSL config cannot import self signed cert in DevOps and System Administration Forum</title>
    <link>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256206#M1065</link>
    <description>&lt;P&gt;Hi Sriram,&lt;/P&gt;&lt;P&gt;Thanks for your reply.  I checked the link and the platform is in UNIX.  But I am working on a Windows platform.  How to convert PEM to PKCS#12 from Windows? Please advise.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brian Hui&lt;/P&gt;</description>
    <pubDate>Fri, 07 Aug 2020 10:52:20 GMT</pubDate>
    <dc:creator>former_member396266</dc:creator>
    <dc:date>2020-08-07T10:52:20Z</dc:date>
    <item>
      <title>SAP Host Agent SSL config cannot import self signed cert</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256204#M1063</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;
  &lt;P&gt;I have installed the latest SAP Host Agent 7.21 SP48 (SAPHOSTAGENT48_48-20009417.SAR). I am now going to configure SSL on it based on the below information:&lt;/P&gt;&lt;A href="https://help.sap.com/viewer/host_agent/f950aeeb64604e818b24626d287b63b0.html" target="test_blank"&gt;https://help.sap.com/viewer/host_agent/f950aeeb64604e818b24626d287b63b0.html&lt;/A&gt;
  &lt;P&gt;&lt;A href="https://wiki.scn.sap.com/wiki/display/BOBJ/Enabling+Host+Agent+SSL"&gt;https://wiki.scn.sap.com/wiki/display/BOBJ/Enabling+Host+Agent+SSL&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://wiki.scn.sap.com/wiki/display/BOBJ/Creating+a+Self-Signed+Certificate+Authority+Key+Pair+and+Certificates"&gt;https://wiki.scn.sap.com/wiki/display/BOBJ/Creating+a+Self-Signed+Certificate+Authority+Key+Pair+and+Certificates&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;I am using the self signed cert approach. However when I import the self signed cert made by Keytool (as mentioned in the 3rd link above), there is an error showing "self signed cert not supported". How can I troubleshoot this case and fix this problems so that I can configure SSL on SAP Host Agent successfully?&lt;/P&gt;
  &lt;P&gt;This is the log when I tried to import the self signed cert (Some modification is done to change the password and relevant names and codes of course):&lt;/P&gt;
  &lt;P&gt;C:\Program Files\SAP\hostctrl\exe&amp;gt;sapgenpse import_own_cert -p SAPSSLS.pse -x whatever -c "SID.pem" -r "cacert_sid.pem" -v &lt;/P&gt;
  &lt;P&gt; Opening PSE "C:\Program Files\SAP\hostctrl\exe\sec\SAPSSLS.pse"... &lt;/P&gt;
  &lt;P&gt; No SSO credentials found for this PSE. &lt;/P&gt;
  &lt;P&gt; PSE (v2) open ok. &lt;/P&gt;
  &lt;P&gt;Trying to import Certification Response... &lt;/P&gt;
  &lt;P&gt;Found binary ASN.1 Certificate &lt;/P&gt;
  &lt;P&gt;---------------------------------------------------------------------------- &lt;/P&gt;
  &lt;P&gt;Subject : CN=systemhostname.myorganization, O=MyOrg, C=MO &lt;/P&gt;
  &lt;P&gt;Issuer : CN=systemhostname.myorganization, O=MyOrg, C=MO&lt;/P&gt;
  &lt;P&gt;Serialno : 11:22:33:44 &lt;/P&gt;
  &lt;P&gt;KeyInfo : RSA, 2048-bit &lt;/P&gt;
  &lt;P&gt;Validity - NotBefore: Wed Aug 5 17:27:50 2020 (200805092750Z) &lt;/P&gt;
  &lt;P&gt; NotAfter: Sat Aug 3 17:27:50 2030 (300803092750Z) &lt;/P&gt;
  &lt;P&gt;KeyUsage : none &lt;/P&gt;
  &lt;P&gt;ExtKeyUsage : none &lt;/P&gt;
  &lt;P&gt;SubjectAltName : none &lt;/P&gt;
  &lt;P&gt;---------------------------------------------------------------------------- &lt;/P&gt;
  &lt;P&gt;Found PEM-framed base64-encoded ASN.1 Certificate &lt;/P&gt;
  &lt;P&gt;---------------------------------------------------------------------------- &lt;/P&gt;
  &lt;P&gt;Subject : CN=systemhostname.myorganization, O=MyOrg, C=MO &lt;/P&gt;
  &lt;P&gt;Issuer : CN=systemhostname.myorganization, O=MyOrg, C=MO&lt;/P&gt;
  &lt;P&gt;Serialno : 22:33:44:55 &lt;/P&gt;
  &lt;P&gt;KeyInfo : RSA, 2048-bit &lt;/P&gt;
  &lt;P&gt;Validity - NotBefore: Wed Aug 5 17:18:31 2020 (200805091831Z) &lt;/P&gt;
  &lt;P&gt; NotAfter: Sat Aug 3 17:18:31 2030 (300803091831Z) &lt;/P&gt;
  &lt;P&gt;KeyUsage : none &lt;/P&gt;
  &lt;P&gt;ExtKeyUsage : none &lt;/P&gt;
  &lt;P&gt;SubjectAltName : none &lt;/P&gt;
  &lt;P&gt;---------------------------------------------------------------------------- &lt;/P&gt;
  &lt;P&gt;(Old) Certificate in PSE:&lt;/P&gt;
  &lt;P&gt; ---------------------------------------------------------------------------- &lt;/P&gt;
  &lt;P&gt;Subject : CN=systemhostname.myorganization, O=MyOrg, C=MO &lt;/P&gt;
  &lt;P&gt;Issuer : CN=systemhostname.myorganization, O=MyOrg, C=MO&lt;/P&gt;
  &lt;P&gt;Serialno : AA:BB:CC:DD:EE:FF:11:22 &lt;/P&gt;
  &lt;P&gt;KeyInfo : RSA, 2048-bit &lt;/P&gt;
  &lt;P&gt;Validity - NotBefore: Mon Aug 3 18:27:02 2020 (200803102702Z) &lt;/P&gt;
  &lt;P&gt; NotAfter: Fri Jan 1 08:00:01 2038 (380101000001Z) &lt;/P&gt;
  &lt;P&gt;KeyUsage : none &lt;/P&gt;
  &lt;P&gt;ExtKeyUsage : none &lt;/P&gt;
  &lt;P&gt;SubjectAltName : none &lt;/P&gt;
  &lt;P&gt;---------------------------------------------------------------------------- &lt;/P&gt;
  &lt;P&gt;Import self-signed certs not supported &lt;/P&gt;
  &lt;P&gt;import_own_cert: Incomplete certificate path &lt;/P&gt;
  &lt;P&gt;import_own_cert: Installation of certificate failed&lt;/P&gt;
  &lt;P&gt;I am very new to this stuff. Any advice would be appreciated.&lt;/P&gt;
  &lt;P&gt;Thank you.&lt;/P&gt;
  &lt;P&gt;Brian Hui&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 08:26:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256204#M1063</guid>
      <dc:creator>former_member396266</dc:creator>
      <dc:date>2020-08-07T08:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Host Agent SSL config cannot import self signed cert</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256205#M1064</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;Have you followed the SAP link to import the SSL in hostagent&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/viewer/e66c399612e84a83a8abe97c0eeb443a/2.3.latest/en-US/b142ba8699e64bf187eb7a5ed3ea2507.html"&gt;https://help.sap.com/viewer/e66c399612e84a83a8abe97c0eeb443a/2.3.latest/en-US/b142ba8699e64bf187eb7a5ed3ea2507.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SS&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 10:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256205#M1064</guid>
      <dc:creator>S_Sriram</dc:creator>
      <dc:date>2020-08-07T10:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Host Agent SSL config cannot import self signed cert</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256206#M1065</link>
      <description>&lt;P&gt;Hi Sriram,&lt;/P&gt;&lt;P&gt;Thanks for your reply.  I checked the link and the platform is in UNIX.  But I am working on a Windows platform.  How to convert PEM to PKCS#12 from Windows? Please advise.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brian Hui&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 10:52:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256206#M1065</guid>
      <dc:creator>former_member396266</dc:creator>
      <dc:date>2020-08-07T10:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Host Agent SSL config cannot import self signed cert</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256207#M1066</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;Do you really need the PSE to be signed? If yes, then why you don't use an internal or test CA (using, e.g. openssl) to sign the request? You can then import the signed certificate.&lt;/P&gt;&lt;P&gt;In the SAP Help Sriram shared, if you have a PKCS#12 package (i.e. you already have a signed certificate), then you can convert this package to PSE format, not needing to sign it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cris&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 12:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256207#M1066</guid>
      <dc:creator>cris_hansen</dc:creator>
      <dc:date>2020-08-07T12:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Host Agent SSL config cannot import self signed cert</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256208#M1067</link>
      <description>&lt;P&gt;Hi Cristiano,&lt;/P&gt;&lt;P&gt;My goal is to configure SSL successfully for SAP Host Agent.  Therefore I followed the steps provided by SAP.  There is a step which I need to import a cert to the PSE.  I tried the self signed cert approach but I got an error which I don't know how to solve it.  &lt;/P&gt;&lt;P&gt;I followed the 3 links above for the steps and I found nothing mentioned about PKCS#12 and so I don't know what you said is applicable to my case.&lt;/P&gt;&lt;P&gt;For OpenSSL, it seems that one is too challenging for me.  I will need to download its source code and use a compiler tool to compile it, right?  I haven't touched those things for more than 20 years....besides the fact that I don't think I have the right tool.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Brian Hui&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 01:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256208#M1067</guid>
      <dc:creator>former_member396266</dc:creator>
      <dc:date>2020-08-10T01:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Host Agent SSL config cannot import self signed cert</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256209#M1068</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;For OpenSSL, there are compiled versions available, so the effort should not be high.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cris&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 14:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/sap-host-agent-ssl-config-cannot-import-self-signed-cert/m-p/12256209#M1068</guid>
      <dc:creator>cris_hansen</dc:creator>
      <dc:date>2020-08-10T14:18:58Z</dc:date>
    </item>
  </channel>
</rss>

