In this tutorial, you first request a server certificate from the CA. Then you take the role of the CA and issue the requested certificate. To do this, you use the following scripts:
- create_srv_req.cmd creates a request for a server certificate, using the OpenSSL command
openssl req. It creates a public/private key pair for your server, putting the public key in a certificate request, which you subsequently send to the CA.
- sign_srv.cmd, which processes a server certificate request created with the above script, and signs it using the
openssl ca command. It creates a signed certificate, which containing the public key from the certificate request.
These scripts are supplied with Micro Focus Demo CA and are by default in
%ProgramFiles(x86)%\Micro Focus\DemoCA.
To find out the Windows directory, look up the registry key:
HKEY_LOCAL_MACHINE\Software\Micro Focus\DemoCA\1.0\Setup\DemoCAFolder.