Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Generating a selfcertificate programatically

 
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that there is no way to generate a selfcertificate via a JRE API. For instance java.security.cert.CertificateFactory needs to read an already existing certificate (encoding) from an InputStream. While CertPathBuilder requires LDAP or a Collection of certificates.

I do not want to force the users to pay to a CA, any free alternatives?
In fact, I would like the program would allow the user to generate the selfcertificates, preventing the user of knowing/managing the keytool utility.
I know they are not said to be reliable. But I think the user can phone the owner/subject of the selfcertificate to find out the "digitall firm" and check its autenticity. This is how I would like my program worked.

[ June 28, 2004: Message edited by: Jose Botella ]

[ June 28, 2004: Message edited by: Jose Botella ]
[ June 29, 2004: Message edited by: Jose Botella ]
 
Jose Botella
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey I have found the bouncycastle.org site. Now it seems I am on the track!

Dou you think this practice is secure or unfeasible?
 
and POOF! You're gone! But look, this tiny ad is still here:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic