Create a CA certificate using OpenSSL.
To create a CA certificate, you must install OpenSSL. OpenSSL is an Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1). You can download OpenSSL at:
The certificate that the script generated may not be marked as a CA certificate. If in the X509v3 Basic Constraints section, in the output, it states CA:FALSE, the certificate will need to be regenerated.
Use the following command to regenerate the certificate:
openssl ca $SSLEAY_CONFIG -extfile openssl.cnf -extensions v3_ca -out demoCA/cacert.pem -days 3650 -batch -keyfile demoCA/private/cakey.pem -selfsign -infiles demoCA/careq.pem
The certificate request files newkey.pem and a newreq.pem are generated.
The certificate request is signed and newcert.pem is generated with the signed certificate.
An example of a unique PFX file name is NewAgentryServer.pfx.
The CA certificate is converted to a PFX file.