ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/admin/qshpropenc.htm

64 lines
2.8 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Encode passwords in properties files</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><a name="qshproprenc"></a>Encode passwords in properties files</h4>
<p>Use the PropFilePasswordEncoder script to encode passwords in properties files.</p>
<p><strong>Authority</strong></p>
<p>To run this script, your user profile must have *ALLOBJ authority.</p>
<p><strong>Syntax</strong></p>
<pre>PropFilePasswordEncoder <em>fileName</em> { <em>passwordPropertiesList</em>
| -SAS } [ -instance <em>instance</em> ] [ -help | -? ]</pre>
<p><strong>Note:</strong> You must specify either the <em>passwordPropertiesList</em> parameter or the -SAS parameter.</p>
<p><strong>Parameters</strong></p>
<ul>
<li><p><strong><em>fileName</em></strong>
<br>This required parameter specifies the name of file in which passwords are encoded.</p></li>
<li><p><strong><em>passwordPropertiesList</em></strong>
<br>This parameter is required if you are encoding passwords in the soap.client.props file. Specify a one or more password properties that you want to encode.</p></li>
<li><p><strong>-SAS</strong>
<br>This parameter is required if you are encoding passwords in the sas.client.props file.</p></li>
<li><p><strong>-instance</strong>
<br>This is an optional parameter. The value <em>instance</em> specifies an application server instance name. The script uses the password encoding algorithm that it retrieves from the specified instance. If -instance is not specified the default instance is used.</p></li>
<li><p><strong>-help</strong> or <strong>-?</strong>
<br>If you specify this parameter, the script ignores all other parameters and displays usage text.</p></li>
</ul>
<p><strong>Examples</strong></p>
<p>This command encodes the passwords in the sas.client.props file for the default WebSphere Application Server - Express instance:</p>
<pre>/QIBM/ProdData/WebASE51/ASE/bin/PropFilePasswordEncoder
/QIBM/UserData/WebASE51/ASE/default/properties/sas.client.props -SAS</pre>
<p>This command encodes passwords in the soap.client.props file for the default Websphere Application Server - Express instance:</p>
<pre>/QIBM/ProdData/WebASE51/ASE/bin/PropFilePasswordEncoder
/QIBM/UserData/WebASE51/ASE/default/properties/soap.client.props
com.ibm.SOAP.loginPassword,com.ibm.ssl.keyStorePassword,com.ibm.ssl.trustStorePassword</pre>
<p><strong>Note:</strong> These commands are wrapped for display purposes. When you run the PropFilePasswordEncoder script, enter the command as a single line.</p>
</body>
</html>