<?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: JTAPIProperties.setSecurityPropertyForInstance - corrupted keystor in Call Control</title>
    <link>https://community.cisco.com/t5/call-control/jtapiproperties-setsecuritypropertyforinstance-corrupted/m-p/4779757#M3384</link>
    <description>&lt;P&gt;Does anybody have similar problem? Or does anyone have any suggestion, how to solve this?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2023 16:05:53 GMT</pubDate>
    <dc:creator>Ladislava Frckova</dc:creator>
    <dc:date>2023-02-21T16:05:53Z</dc:date>
    <item>
      <title>JTAPIProperties.setSecurityPropertyForInstance - corrupted keystores</title>
      <link>https://community.cisco.com/t5/call-control/jtapiproperties-setsecuritypropertyforinstance-corrupted/m-p/4779519#M3383</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am trying to update our app for CUCM 14.0.1.12900-161 (SU2). We are not FIPS compliant, so according to developers guide only change in libraries on classpath is needed: &lt;A href="https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/jtapi_dev/14_0_1/cucm_b_cisco-unified-jtapi-developers-guide-14/cucm_b_cisco-unified-jtapi-developers-guide-1251_chapter_010.html#CUCM_TP_F254F96C_00" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/jtapi_dev/14_0_1/cucm_b_cisco-unified-jtapi-developers-guide-14/cucm_b_cisco-unified-jtapi-developers-guide-1251_chapter_010.html#CUCM_TP_F254F96C_00&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Currently I use &lt;SPAN&gt;bc-fips, &lt;/SPAN&gt;&lt;SPAN&gt;bcpkix-fips and &lt;/SPAN&gt;&lt;SPAN&gt;bctls-fips instead of previous bcprov-jdk15on and bcpkix-jdk15on&lt;/SPAN&gt;. I get some warnings, but I am able to download 3 files: CTLFile.tlv.sgn, JtapiServerKeyStore-* and JtapiClientKeyStore-*-*. The keystores seems corrupted.&lt;/P&gt;
&lt;P&gt;The keystores has different type then before, it is BCFIPS now. When I try to list the certificates using BouncyCastleFipsProvider. I get:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;java.io.IOException: BCFKS KeyStore corrupted: MAC calculation failed.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;I use keytool for listing certificates:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;keytool -list -v -keystore /path/to/certs/JtapiClientKeyStore-callrec-sec-callrecsec -storetype bcfks -provider org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider -providerpath /path/to/libs/bc-fips-1.0.2.3.jar -providername BCFIPS
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;I am not sure, if the warnings during certificates download are relevant. But here they are:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Feb 21, 2023 1:10:56 PM org.bouncycastle.jsse.provider.PropertyUtils getStringSecurityProperty
INFO: Found string security property [jdk.tls.disabledAlgorithms]: SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, DH keySize &amp;lt; 1024, EC keySize &amp;lt; 224, 3DES_EDE_CBC, anon, NULL, include jdk.disabled.namedCurves
Feb 21, 2023 1:10:56 PM org.bouncycastle.jsse.provider.DisabledAlgorithmConstraints create
WARNING: Ignoring unsupported entry in 'jdk.tls.disabledAlgorithms': include jdk.disabled.namedCurves
Feb 21, 2023 1:10:56 PM org.bouncycastle.jsse.provider.PropertyUtils getStringSecurityProperty
INFO: Found string security property [jdk.certpath.disabledAlgorithms]: MD2, MD5, SHA1 jdkCA &amp;amp; usage TLSServer, RSA keySize &amp;lt; 1024, DSA keySize &amp;lt; 1024, EC keySize &amp;lt; 224, include jdk.disabled.namedCurves
Feb 21, 2023 1:10:56 PM org.bouncycastle.jsse.provider.DisabledAlgorithmConstraints create
WARNING: Ignoring unsupported entry in 'jdk.certpath.disabledAlgorithms': SHA1 jdkCA &amp;amp; usage TLSServer
Feb 21, 2023 1:10:56 PM org.bouncycastle.jsse.provider.DisabledAlgorithmConstraints create
WARNING: Ignoring unsupported entry in 'jdk.certpath.disabledAlgorithms': include jdk.disabled.namedCurves
Feb 21, 2023 1:10:56 PM org.bouncycastle.jsse.provider.PropertyUtils getBooleanSecurityProperty
INFO: Found boolean security property [keystore.type.compat]: true
numberof certs=1certLength=937
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 12:15:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/jtapiproperties-setsecuritypropertyforinstance-corrupted/m-p/4779519#M3383</guid>
      <dc:creator>Ladislava Frckova</dc:creator>
      <dc:date>2023-02-21T12:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: JTAPIProperties.setSecurityPropertyForInstance - corrupted keystor</title>
      <link>https://community.cisco.com/t5/call-control/jtapiproperties-setsecuritypropertyforinstance-corrupted/m-p/4779757#M3384</link>
      <description>&lt;P&gt;Does anybody have similar problem? Or does anyone have any suggestion, how to solve this?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 16:05:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/jtapiproperties-setsecuritypropertyforinstance-corrupted/m-p/4779757#M3384</guid>
      <dc:creator>Ladislava Frckova</dc:creator>
      <dc:date>2023-02-21T16:05:53Z</dc:date>
    </item>
  </channel>
</rss>

