Create a Public Private key and Private CA and certificate
Create PEM private key: Create pem public key by using the private key: Create Certificate signing request (CSR) Create Private CA Private key Create Private CA Certificate Now use this private CA certificate to sign the CSR generated earlier You should use a trusted CA to sign your CSR and give you back the certificate.