<?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>Question Re: Connect to SQL Console and Database Explorer error:  'Cannot create SSL context' in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/connect-to-sql-console-and-database-explorer-error-cannot-create-ssl/qaa-p/709409#M194053</link>
    <description>&lt;P&gt;Could not replicate in my HXE, but may be you should try to upgrade your version? The new HXE 2.0 Rev 31 just became available.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jul 2018 18:38:31 GMT</pubDate>
    <dc:creator>Vitaliy-R</dc:creator>
    <dc:date>2018-07-19T18:38:31Z</dc:date>
    <item>
      <title>Connect to SQL Console and Database Explorer error:  'Cannot create SSL context'</title>
      <link>https://community.sap.com/t5/technology-q-a/connect-to-sql-console-and-database-explorer-error-cannot-create-ssl/qaq-p/709408</link>
      <description>&lt;P&gt;Using VMWare HANA Express.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;When going from HANA Cockpit to SQL Console ....&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Screen comes up but when the screen accesses HANA SYSTEM and Tenant databases I get the following error:&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;SQL Error: Connection failed (RTE:[300010] Cannot create SSL context: Error in api.SSL_CTX_set_default_pse_by_name - SSL error [4129]: Unknown error, General error: 0x00001021 | SAPCRYPTOLIB | SSL_CTX_set_default_pse_by_name SAPCRYPTO API error&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The PSE file does not....&amp;lt;EOM&amp;gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I believe the ‘end of this message’ is ‘does not exit’ as it is truncated.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;From the hxehost instance I see the following and it looks like I have the necessary pse files:&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;hxeadm@hxehost:/usr/sap/HXE/HDB90&amp;gt; xs domains&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Getting domains...&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;name type org&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;--------------------------------&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;hxehost shared (default)&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;hxeadm@hxehost:/usr/sap/HXE/HDB90&amp;gt; sudo -s&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;hxehost:/hana/shared/HXE/HDB90 # find / -name *.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/usr/sap/hostctrl/exe/sec/SAPSSLS.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/HDB90/hxehost/sec/sap_system_pki_instance.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/HDB90/hxehost/sec/SAPSSLS.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/HDB90/hxehost/sec/SAPSSLC.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/HDB90/hxehost/sec/SAPSSLA.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/HDB90/hxehost/sec/saplogon.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/HDB90/hxehost/sec/sapsrv.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/xs/controller_data/controller/router/webdispatcher/sec/default.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/xs/controller_data/controller/router/webdispatcher/sec/internal_root.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;hxehost:/hana/shared/HXE/HDB90 # find / -name sapgenpse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/usr/sap/hostctrl/exe/sapgenpse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/global/hdb/saphostagent_setup/sapgenpse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;/hana/shared/HXE/exe/linuxx86_64/HDB_2.00.030.00.1522210459_bb2ff6b25b8eab5ab382c170a43dc95ae6ce298f/sapgenpse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;hxehost:/hana/shared/HXE/HDB90 # cd /hana/shared/HXE/HDB90/hxehost/sec&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;hxehost:/hana/shared/HXE/HDB90/hxehost/sec # ll&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;total 28&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;-rw------- 1 hxeadm sapsys 1787 Apr 4 12:25 SAPSSLA.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;-rw------- 1 hxeadm sapsys 1895 Apr 4 12:25 SAPSSLC.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;-rw------- 1 hxeadm sapsys 1880 Apr 4 12:25 SAPSSLS.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;-rw------- 1 hxeadm sapsys 3540 Apr 4 12:23 sap_system_pki_instance.p12&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;-rw------- 1 hxeadm sapsys 2231 Apr 4 12:23 sap_system_pki_instance.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;-rw------- 1 hxeadm sapsys 1798 Apr 4 12:25 saplogon.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;-rw------- 1 hxeadm sapsys 1979 Apr 4 12:25 sapsrv.pse&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Interesting to note that the config files reference another pse file “sapsrv_internal” which I do not have (as seen in DBA Cockpit global.ini file. &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Appreciate any help out there as I am at a standstill. Everything is working except for this.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;JWJ&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 17:21:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connect-to-sql-console-and-database-explorer-error-cannot-create-ssl/qaq-p/709408</guid>
      <dc:creator>former_member197516</dc:creator>
      <dc:date>2018-07-06T17:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQL Console and Database Explorer error:  'Cannot create SSL context'</title>
      <link>https://community.sap.com/t5/technology-q-a/connect-to-sql-console-and-database-explorer-error-cannot-create-ssl/qaa-p/709409#M194053</link>
      <description>&lt;P&gt;Could not replicate in my HXE, but may be you should try to upgrade your version? The new HXE 2.0 Rev 31 just became available.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 18:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connect-to-sql-console-and-database-explorer-error-cannot-create-ssl/qaa-p/709409#M194053</guid>
      <dc:creator>Vitaliy-R</dc:creator>
      <dc:date>2018-07-19T18:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQL Console and Database Explorer error:  'Cannot create SSL context'</title>
      <link>https://community.sap.com/t5/technology-q-a/connect-to-sql-console-and-database-explorer-error-cannot-create-ssl/qaa-p/709410#M194054</link>
      <description>&lt;P&gt;Yeah, I found this too. After tracing the HANA Tools app (&lt;STRONG&gt;xs logs hrtt-service&lt;/STRONG&gt;) I still got no further.&lt;/P&gt;
  &lt;P&gt;However, if you're simply trying to establish a Database Explorer session to issue SQL commands then the following worked for me:&lt;/P&gt;
  &lt;OL&gt;
   &lt;LI&gt;Select the "&lt;STRONG&gt;+&lt;/STRONG&gt;" icon (i.e. &lt;EM&gt;Add a database to the Database Explorer&lt;/EM&gt;)&lt;/LI&gt;
   &lt;LI&gt;Select "&lt;EM&gt;SAP HANA Database (Multitenant)&lt;/EM&gt;" from the &lt;STRONG&gt;Database Type &lt;/STRONG&gt;drop-down list&lt;/LI&gt;
   &lt;LI&gt;Supply the following&lt;/LI&gt;
  &lt;/OL&gt;
  &lt;UL&gt;
   &lt;LI&gt;Host: &lt;STRONG&gt;hxehost&lt;/STRONG&gt;&lt;/LI&gt;
   &lt;LI&gt;Instance: &lt;STRONG&gt;90&lt;/STRONG&gt;&lt;/LI&gt;
   &lt;LI&gt;Database: &lt;STRONG&gt;Tenant Database &lt;/STRONG&gt;Name: &lt;STRONG&gt;HXE&lt;/STRONG&gt;&lt;/LI&gt;
   &lt;LI&gt;User: &lt;STRONG&gt;SYSTEM&lt;/STRONG&gt;&lt;/LI&gt;
   &lt;LI&gt;Password: &lt;EM&gt;Your password (the one you specified for all users on the platform)&lt;/EM&gt;&lt;/LI&gt;
  &lt;/UL&gt;
  &lt;P&gt;That got me in. HTH&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 01:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connect-to-sql-console-and-database-explorer-error-cannot-create-ssl/qaa-p/709410#M194054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-08-11T01:41:08Z</dc:date>
    </item>
  </channel>
</rss>

