Why I see "Password is not ASCII" if I use SSL keystore

Solution Verified - Updated -

Issue

  • I did not found restrictions on passwords in PKCS#5 but I see an Exception "Password is not ASCII" during runtime
  • I am able to import the certificate with a password that contains special characters like "§ÖÄÜ" into a windows keystore but it won't work in Java.
  • Is there a bug in JBoss code because I can not use special characters in a password for a SSL keystore?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
  • Red Hat JBoss Webserver

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.