Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® Enterprise Service 10

Reply
Contributor
Posts: 16
Registered: ‎05-29-2012
My Device: n/a
My Carrier: n/a

fusion studio doesn't accept uds ssl certificate

I'm creating a self signed certificate for UDS from IIS 7

 

I installed UDS fine, and I can login no problem but when I try to install fusion mobile studio, it takes the exchange BESX certificate fine, but it fails on the UDS certificate. It does see it, but when I click on YES, I get an error:

 

the application could not remove the domain label from the keystore file

 

logs

 

F[ec b3 1a 07 bc 31 f5 2c f2 ac 7e 85 a8 79 d6 82 ba 18 e2 28 ]FAlg[sha1]]
<#01>[10000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain begins for domain of name [<domain>]
<#03>[30000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain reads a domain count of [2]
<#03>[30000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain reads child #0
<#03>[30000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain got attributes for domain #0
<#03>[30000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain finds name attribute for domain #0
<#03>[30000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain reads child #1
<#03>[30000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain got attributes for domain #1
<#03>[30000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain finds name attribute for domain #1
<#03>[30000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain deleted domain #1
<#03>[30000] (08/20 11:37:26.167):{0x1554} CFUSEXMLImplement::RemoveFUSEDomain result was [1]
<#03>[30000] (08/20 11:37:26.182):{0x1554} CXMLImplement::UpdateConfigXML: Successfully updated the changes into 'C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.xml'.
<#03>[30000] (08/20 11:37:26.182):{0x1554} CFUSECon::RemoveDomainFromCfgFile result is [0]
<#03>[30000] (08/20 11:37:26.182):{0x1554} CJavaKeystore sets path JH[C:\Program Files (x86)\Java\jre1.6.0_31]
<#03>[30000] (08/20 11:37:26.182):{0x1554} CJavaKeystore sets paths KSF[C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore] KSLF[C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore.listing.txt] LF[C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore.log.txt]
<#03>[30000] (08/20 11:37:26.182):{0x1554} JavaKeytoolHelper::RemoveCertificateFromKeystoreFile - Commandline: ["C:\Program Files (x86)\Java\jre1.6.0_31\bin\java.exe" -Duser.country=US -Duser.language=en sun.security.tools.KeyTool -delete -v -alias "<domain>" -keypass "XXXXXXXX" -keystore "C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore" -storepass "XXXXXXXX" -new "XXXXXXXX" ]
<#01>[10000] (08/20 11:37:26.354):{0x1554} JavaKeytoolHelper::KeystoreFileExists result for keystore file [C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore] was [0]
<#03>[30000] (08/20 11:37:26.354):{0x1554} CJavaKeystore::smileyvery-happy:oesKeystoreExist for [C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore] returns [1]
<#03>[30000] (08/20 11:37:26.354):{0x1554} JavaKeytoolHelper::GenerateListingOfKeyStoreFile - Commandline: ["C:\Program Files (x86)\Java\jre1.6.0_31\bin\java.exe" -Duser.country=US -Duser.language=en sun.security.tools.KeyTool -list -v -keypass "XXXXXXXX" -keystore "C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore" -storepass "XXXXXXXX" -new "XXXXXXXX" ]
<#03>[30000] (08/20 11:37:26.510):{0x1554} JavaKeytoolHelper::GenerateListingOfKeyStoreFile - Succeeded to produce listing file [C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore.listing.txt]
<#01>[10000] (08/20 11:37:26.510):{0x1554} CJavaKeystore::InterpretKeystoreListingFile listing file [C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore.listing.txt] is missing expected header
<#03>[30000] (08/20 11:37:26.510):{0x1554} CJavaKeystore::Load of keystore [C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore] returning [7] - [JavaKeystore [C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore] - keys [0] []]
<#03>[30000] (08/20 11:37:26.510):{0x1554} CJavaKeystore::smileyvery-happy:eleteCertificate with alias [<domain>] result is [7] - JavaKeystore [C:\Program Files (x86)\Research In Motion\BlackBerry Mobile Fusion Studio\BlackBerryMobileFusion.keystore] - keys [0] []
<#01>[10000] (08/20 11:37:26.510):{0x1554} CFUSECon::RemoveDomain failed to remove the domain from the keystore
<#03>[30000] (08/20 11:37:26.510):{0x1554} CFUSECon::RemoveDomain result was [41]
<#01>[10000] (08/20 11:37:26.510):{0x1554} CFUSECon::ReloadQualifiedDomain failed to remove domain [?B?B?B???@?@?@?B?@?B?B?B?B?@?@?B???a?B?B??`?a??`???B???B???B???B???B???B???B?B?B?B?B?B?J?B?B?B?B?B?B?B???B?B?B?B?B?B?J?B?B?B?J?B?B?B??????????]
<#03>[30000] (08/20 11:37:26.510):{0x1554} CFUSECon::ReloadQualifiedDomain result was [41]
<#01>[10000] (08/20 11:37:26.510):{0x1554} Failed to reload domain [Name[<domain>] URL/Host[https://<domain>:8082/<domain>] R[1] CS[1] Alias[<domain>] X509 cert - x509ASN[1] Ver[3] EncSz[712] SigAlg[1.2.840.113549.1.1.13][----]
Issuer[<domain>]
PKAlg[1.2.840.113549.1.1.1][RSA] PK[30 82 01 0a 02 82 01 01 00 84 23 4f de 90 e5 13 2e 30 bc 9d 21 98 03 5d 17 f5 5a b1 ec 98 b7 2d 0d 28 54 d8 f8 2a 27 db 3d d1 0e 2e eb 5c 4b eb 4f 1b 6c 1e dc 64 54 05 bf f2 e2 68 67 13 59 fe 88 dd 4e 0d df d7 a1 7f 97 98 66 16 18 4b f6 9c 3d 6a 1b 54 60 7c 48 4a 9f 09 7c e9 0b ed 06 e3 fc 43 cf f9 84 d6 a5 1a 2f 46 77 be 25 16 3b 2a 89 bd 69 e3 41 04 af 9f 87 44 f1 c9 91 7a 0a cd db 14 7f dc 26 4d c0 d0 bb b6 05 8e d2 ee 42 99 da 6b e5 d0 8d 5e 2d 87 0e ac b8 6b 43 5a 47 74 ca d7 fa 5f c9 74 83 cd 38 52 86 12 89 dd 4c 20 94 5f d3 e1 48 ea 1b f6 99 20 bb 80 c9 30 62 33 e5 b0 67 67 d1 67 b2 d6 35 1e 42 38 c9 bc 31 94 da 46 c1 f2 61 37 92 81 3d c1 41 ea a6 2f 75 92 1f 9e d9 2b 0a e0 c3 9d e5 ed 2a 21 aa 41 b9 16 23 3f c4 b9 18 7d a6 ac f2 92 d9 4d 5a 54 91 52 97 50 2a 5a 39 79 3b 2a 9d 02 03 01 00 01 ][2048]
Valid[1]From[Monday, August 20, 2012 11:19:39 AM]To[Friday, June 04, 2286 11:19:39 AM] SN[50 32 0f 3b ]
Subject[<domain>]
F[ec b3 1a 07 bc 31 f5 2c f2 ac 7e 85 a8 79 d6 82 ba 18 e2 28 ]FAlg[sha1]]
<#03>[30000] (08/20 11:37:26.510):{0x1554} Could not load a caption - defaulting to banner title.

 

I replaced the domain with <domain>


Developer
Posts: 229
Registered: ‎05-14-2008
My Device: 8520, 9700

Re: fusion studio doesn't accept uds ssl certificate

Validate that you are in fact using the correct port and is not being bound by another process.

Default is 8082.

 

I have many times that .net framework binds port 8082, even on a fresh install.

I adjusted the port in the UDS Core install to 8085.

 

CMD:

netstat -ao > c:\ports.txt

 

Review txt file and check what is using port 8082 by checking the PID.

Use this and check task manager.

 

The friendly name must also be, in most cases, the Server name.

 

Eg:

Friendly name: UDSSERVER

ServerName/Cert:https://UDSSERVER.domain.local:8082