要将密码编码与 WebSphere® Application Server 管理命令和 Java™ 客户机配合使用,必须使用 PropFilePasswordEncoder 工具对 soap.client.props 和 sas.client.props 文件中的密码进行手动编码。
开始之前
要运行此脚本,用户概要文件必须具有 *ALLOBJ 权限。
关于此任务
使用
PropFilePasswordEncoder 实用程序对属性文件中的密码进行编码。
PropFilePasswordEncoder 实用程序是一个 Qshell 脚本。完成以下步骤以便手动编码密码:
过程
- 使用具有所有对象 (*ALLOBJ) 特权的用户概要文件登录服务器。
- 在命令行上运行“启动 Qshell”(STRQSH) 命令以启动 Qshell 环境。
- 使用 PropFilePasswordEncoder 实用程序对密码进行编码。
例如,对于缺省 WebSphere Application Server 概要文件(在缺省安装中)的
sas.client.props 文件,要对其属性的密码进行编码,请输入以下命令:
profile_root/bin/PropFilePasswordEncoder
-profileName server1
profile_root/properties/sas.client.props -SAS
例如,对于缺省独立应用程序服务器概要文件的
soap.client.props 文件,要对其属性的密码进行编码,请输入以下命令:
profile_root/bin/PropFilePasswordEncoder
-profileName server1
profile_root/properties/soap.client.props
com.ibm.SOAP.loginPassword,com.ibm.ssl.keyStorePassword,
com.ibm.ssl.trustStorePassword
有关 sas.client.props 实用程序的更多信息,请参阅PropFilePasswordEncoder 命令引用。
结果
已对
soap.client.props 和
sas.client.props 文件中的密码进行编码。
下一步做什么
请参阅
复原或替换损坏的验证列表对象,以了解关于如何复原或替换已损坏的验证列表对象的信息。