• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Raghupathiraja Arumugam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 255
Fedora Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
anandraj tadkal
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic