This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Keytool error: java.lang.Exception: Failed to parse input Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Keytool error: java.lang.Exception: Failed to parse input" Watch "Keytool error: java.lang.Exception: Failed to parse input" New topic
Author

Keytool error: java.lang.Exception: Failed to parse input

Raghupathiraja Arumugam
Greenhorn

Joined: Jul 19, 2013
Posts: 1
Hi all,


This question may be duplicate, but i am not able to get the solution, I tried to create SSL certificate with following commands,



I have tried get certificate request using following command

And got following response in the command prompt
**-----BEGIN NEW CERTIFICATE REQUEST----- MIIBlzCCAQACAQAwVzELMAkGA1UEBhMCSU4xCzAJBgNVBAgTAktBMQ0wCwYDVQQHEwRCYW5nMQ4w
DAYDVQQKEwVpR2F0ZTEMMAoGA1UECxMDQkZTMQ4wDAYDVQQDEwVSYWdodTCBnzANBgkqhkiG9w0B
AQEFAAOBjQAwgYkCgYEA0Aoxz2V/Cqs00d7d4iVysIcfMxXDA4ydD5+AY2Q2hPqIOAbfrz0HiSjZ
JwKV0/g7P/oWPU9fCFYnLXAynusbaAtw5xIolMNqj9gtxmD1BzrwxcVIX3oWY0LzO768TMY3Szjp
tS64z5q1KSTYqeZww0f11N2JssjtMch8gw50FIcCAwEAAaAAMA0GCSqGSIb3DQEBBQUAA4GBAK1v
sE0BNxGrGKNBXhYuSdgwF14ZnELtjWBzDJDzbzgJbK6RJlOEstKxdStR2fq7iv0ow+Df7TnVWidm
+0PRLuhtr3DMZVX2acNQY4c4ynKWgLyBV2lAXbYfgZdzQr3ClY+40lkbmHQaMxZcxz2q7u8Np6sH
n0iytY6U0CqJpRcB
----END NEW CERTIFICATE REQUEST-----**
And I am saved in cert.txt file and to Verify the Certificate Reply


I got the above error. please suggest for the same.
Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

Hi Raghu,

I think you missed one step whcih is causing the issue.

keytool -exportcert -rfc -keystore D:\key -file D:\cert.crt

Please check this article keytool error: java.lang.Exception: Failed to parse input for details on solving it.

Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

Hi Raghu,

It might be a little late in the game :-) , but you can refer the below post for the steps to configure SSL on WebLogic.

http://weblogic-wonders.com/weblogic/2011/05/25/ssl-configuration-for-weblogic-server/

Regards,
Anandraj
http://weblogic-wonders.com
Follow us on facebook:
https://www.facebook.com/weblogicwonders
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Keytool error: java.lang.Exception: Failed to parse input