Understanding the CreateDemoCA Script

The CreateDemoCA command is a shell script included with the Demo CA optional component. It initializes a new instance of the Demo CA and creates a set of entity (client and server) keys and certificates. See About the Demo CA for more information.

You can run CreateDemoCA more than once, to create as many Demo CA instances as required.

Syntax:

CreateDemoCA destination-directory

Parameters:

destination-directory
The directory where you want the Demo CA instance to be created. The directory must already exist. If there is already a Demo CA instance there, it will be overwritten.

Comments:

CreateDemoCA will prompt you for various pieces of information used in generating the certificates. It executes several of the other Demo CA scripts as part of its processing.

The Visual COBOL product must be configured properly in the shell environment before invoking this script.