System Administrators use OESECTOOL to configure and start an OAuth2 test server for PAS for OpenEdge and OpenEdge Authentication Gateway servers. Testing is limited to checking for valid or invalid responses. Testing does not provide user login and session support.

Syntax

oesectool[.sh|.bat] command [parameters]

Parameters

command
The commands include:
Command Description
startoauth2server Starts an OAuth2 test server.
-port portnumber -ports portnumber 
Note:
  • Using -port or -ports create a keystore.p12 file in oesectool\work, if not already created.
  • Using -ports creates an sslkeystore.p12 file in oesectool\work, if not already created.
stopoauth2server Stops an OAuth2 test server.
-port portnumber -ports portnumber
parameters
The parameters include:
Parameter Description
-port portnumber HTTP port number
-ports portnumber HTTPS port number

Customize OAuth2 test server properties

Before starting an OAuth2 test server, modify the oesectool/conf/oesectool-oauth2.properties file to configure an OAuth2 test server. For more information on oesectool-oauth2.properties, see the oesectool\conf\oesectool-oauth2.properties.README file.

Start an OAuth2 server

To start an OAuth2 server, use:

oesectool startoauth2server -port 8888  
The result is:
Oidc/Oauth2 Server started
        Http port:  8888
        Process id: 5008

Stop an OAuth2 server

To stop an OAuth2 server, use:

oesectool stopoauth2server -port 8888 
The result is:
Http server stopped. Port: 8888