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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content