CLI Guide
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 Certificate Signing Request (CSR) is as follows:
omconfig preferences webserver attribute=exportcsr
The command creates a file of the format xxxx.csr in the <Server Administrator installation directory>\apache-tomcat\temp folder.
An example command to create a web server certificate 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 certificate 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 certificate 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
AUSTRIA AT
AZERBAIJAN AZ
BAHAMAS BS
BAHRAIN BH
BANGLADESH BD
Omconfig Managing Components Using The Instrumentation Service 93