File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: Oct 08, 2008
Jun 08, 2010 05:18:00
I have a certificate.txt file from this how to create a keystore file.. Please assist me
-----BEGIN RSA PRIVATE KEY----- HpXRylvqyqzyOUUcDhpdrr3MD8Ahl9sIGoVz01JFDcb0gzLc8bCa+SxNsTYDLjn+ UxciqQBlAkEAz21l6wUNVlYpV/xCvXXeUPZavrLe3okqzj1QlwT+t0W2EPFRl/8p /HlTQXd5pfZK9ckS4dkMneeKj0PoF9tRlwJAD+0L7Ypmd7y3mNVQIcZvgJ3b2V/Q TFUzZEYtDoGBbc9YFeVYncDcvpNPx2qhnsgCccNnw8Mt2c5U9XxI/wejFQJBAJnh -----END RSA PRIVATE KEY-----
Joined: Nov 18, 2006
Jun 08, 2010 07:07:24
You need to use the 'keytool' as described in:
It's been a long time since working with keystores, but I don't think that you're able to simply import a RSA key (not without certificate).
Censorship is the younger of two shameful sisters, the older one bears the name inquisition.
-- Johann Nepomuk Nestroy
I agree. Here's the link:
subject: Java Keystore
Accessing HTTPS URL with a Client PEM file
KeyStore Algorithm & Cipher Algorithm
Storing Keys in KeyStore
iText: Digital signature
Questions about email encryption and signing with S/MIME
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013