CLI Guide
An example command to set the URL launch point is as follows:
omconfig preferences webserver attribute=seturl host=<name, ip, fqdn> port=<number>
The host input must contain a valid IPv4 or IPv6 address, or a valid host name.
An example command to set the signing algorithm value is as follows:
omconfig preferences webserver attribute=signalgorithm setting=MD5
An example command to set the JRE versions is as follows:
omconfig preferences webserver attribute=setjre jreversion=<bundled | value>
An example command to export a Certicate Signing Request (CSR) is as follows:
omconfig preferences webserver attribute=exportcsr
The command creates a le of the format xxxx.csr in the <Server Administrator installation directory>\apache-tomcat\temp folder.
An example command to create a web server certicate is as follows:
omconfig preferences webserver attribute=gennewcert cn=HostName org=dell ou=ESG
location=RoundRock state=TX country=US validity=300 keysize=2048 algorithm=SHA512
webserverrestart=true
An example command to upload a certicate on the Server Administrator web server is as follows:
omconfig preferences webserver attribute=uploadcert certfile=C:/xyz.crt webserverrestart=true
An example command to upload a certicate with a PKCS#12 keystore on the Server Administrator web server is as follows:
omconfig preferences webserver attribute=uploadcert certfile=C:/xyz.pfx type=pkcs12
password=abc webserverrestart=true
Table 65. Country names and codes
Country Names Codes
AFGHANISTAN AF
ALBANIA AL
ALGERIA DZ
AMERICAN SAMOA AS
ANDORRA AD
ANGOLA AO
ANGUILLA AI
ANTARCTICA AQ
ANTIGUA AND BARBUDA AG
ARGENTINA AR
ARMENIA AM
ARUBA AW
AUSTRALIA AU
98 Omcong Managing Components Using The Instrumentation Service