Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to set URL encoding & TLSv1.2 to WAS Liberty server?

How do we force WAS Liberty server to support URL encoding to UTF-8? We needed it because we have some user who's password contains non-ASCII characters (such as the character "123£").

The user can create a password which contain a  contains non-ASCII characters, however attempting to login into CLM serer, results into an error message (invalid user name or password). How do we fix this issue?

0 votes


Accepted answer

Permanent link
An easy workaround is that, to change password and use one without non-ASCII characters.

In some cases, you're forced to use non-ASCII characters in the password and in that case, you go to set
override encoding on the Liberty server side. Here are steps:
  1. Go to C:\<BM>\JazzTeamServer\server\ <wbr> liberty\servers\<clm> (Windows path, can be modified to Unix too)
  2. Find jvm.option file
  3. Back up jvm.option file
  4. In the original jvm.option file, add -Dclient.encoding.override=UTF-8
  5. Save file
  6. And restart Liberty server.

You should be able to login into CLM server who's user name & password contain a non-ASCII chars such as 123£

Ralph Schoon selected this answer as the correct answer

2 votes

Comments

Just in addition:

When you are using JAS for authentication, it is enough to change the jvm.options in JAS. You don't need to change it in all appropriate application profiles.

If jvm.options file does not exist - easily create it. Websphere Liberty will use it automatically 


One other answer

Permanent link
In case if you'd want to force Liberty server to start with TLSv1.2 then you can append jvm.option file to include the following JVM property and restart JVM for the change to take effect.

-Dcom.ibm.team.repository.transport.client.protocol=TLSv1.2

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,494

Question asked: Jan 31 '19, 4:04 p.m.

Question was seen: 4,607 times

Last updated: May 12 '20, 5:44 a.m.

Confirmation Cancel Confirm