To configure SSL for Adaptive Server Enterprise Web Services, run the configssl script, which can be found in the bin directory:
configssl -d <domain_hostName> -k <keystore> -h <httpsPort> -f <property_file> -c <certificate_password> -s <keystore_password>
You can also add your own certificate for SSL.
where:
domain_hostName is
the host name of the URL to connect to using SSL. For example, the domain_hostName for
the following URL would be mydomainhostname
:
http://mydomainhostname:8181/services/ase
There is no default for this parameter value.
keystore is the location and file at which to store certificates. The default location for UNIX is $SYBASE/WS-12_5/props/keystore, or %SYBASE%\WS-12_5\props\keystore for Windows.
httpsPort is the port on which to listen for an SSL connection. The default is 8182.
property_file is the location and name of the properties file to update. The default location for UNIX is $SYBASE/WS-12_5/props/ws.properties, or %SYBASE%\WS-12_5\props\ws.properties for Windows.
certificate_password is the password for the certificate. There is no default for this parameter value. If no password is supplied when the script is invoked, the script will prompt for a value.
keystore_password is the password for the keystore. There is no default for this parameter value. If no password is supplied when the script is invoked, the script will prompt for a value.