Create a root certificate authority
Create a local root certificate authority for signing test certificates.
This task is optional because a root certificate authority is only needed if you are creating test certificates.
For details about creating a Certificate Signing Request, go to Create a certificate. For more information about certificate authorities, go to Certificate authorities.
Use the openssl tool to create a root certificate authority.
Create a self-signed root CA certificate:
You can use MyRootCA.crt to encrypt data as a self-signed certificate, but users will be shown a warning that the certificate is not trusted. To have it trusted, create your own certificate signed by this certificate authority and install it as a trusted certificate in the browser or in the keystore/keychain of the machine. For details, go to Create a certificate.