java -classpath Oracle\Middleware\my_oep\oep\
common\lib\evspath.jar;Oracle\Middleware\my_oep\oep\utils\security\
wlevsgrabcert.jar com.bea.wlevs.security.util.GrabCert host:secureport 
-alias=alias truststorepath
host: The computer on which myServer2 is running.
secureport: The SSL network I/O port configured for myServer2. The default value is 9003. For more information, see Configure SSL Manually.
alias: The alias for the certificate in the trust key store. Default value is the host name.
truststorepath: The full path name of the generated trust key store file. The default is evstrust.jks.
For example:
java -classpath C:\Oracle\Middleware\my_oep\oep\
common\lib\evspath.jar;C:\Oracle\Middleware\my_oep\utils\security\
wlevsgrabcert.jar com.bea.wlevs.security.util.GrabCert myServer2:9003 -alias=myServer2 evstrust.jks