• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Use JSSE for CDC to connect to SSL web site but InvalidKeySpecException(Unknown key spec) occur

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a java program that is in Windows Mobile 6, and I use CrE-ME™ v4.12 jvm to run the program. Java version is 1.3 with JSSE 1.0.3 for CDC 1.0.2.

I use following code to connect to a secure site.
(This website is using Comodo Free SSL Certificate: 2048-bit, 128/256 bit encryption)



When I try to get the OutputStream



Following error occurs:



Please help me to solve this issue.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An obsolete Java version and crypto library running as part of an obsolete Java mobile API via a hack on an obsolete mobile OS - tall order . I have added this post to the Java ME forum as well.

My starting approach might be to determine which ciphers are supported by the server (using a tool like SSLScan), and then read through the JSSE 1.0 documentation to see which ciphers that supports - thereby determining whether there is any overlap.
 
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic