(Optional) Create the NSS database using the following command. This step is not needed if the NSS database exists. Make sure that you type the command in a single line.
webserver-install-dir/bin/certutil -N -d /webserver-install-dir/admin-server/config-store/config-name/config
When prompted, provide the NSS database password.
Start the Admin Server using the following command.
webserver-install-dir/admin-server/bin/startserv.bat
Create a self-signed certificate using the following command. Make sure that you type the command in a single line.
webserver-install-dir/bin/wadm create-selfsigned-cert --user= admin-user --server-name=host-name --nickname=ServerCert --token=internal --config=config-name
Create an HTTP listener using the following command. Make sure that you type the command in a single line.
webserver-install-dir/bin/wadm create-http-listener --user=admin-user --server-name=host-name -default-virtual-server-name=default-virtual-server-name --listener-port=8090 --config=config-name http-listener-ssl
Enable the SSL and assign certificate using the following command. Make sure that you type the command in a single line.
webserver-install-dir/bin/wadm set-ssl-prop --user=admin-user --http-listener=http-listener-ssl --config=config-name enabled=true server-cert-nickname=ServerCert